Help needed in html template for header

Discussion in 'HTML & Website Design' started by Dot.Web, Aug 18, 2010.

  1. #1
    I have a html page (see attachment). In the page there is a header (headling, slogan text). I want to put one more .jpg image as fixed header just above the existing header.

    How to do this?
     

    Attached Files:

    Dot.Web, Aug 18, 2010 IP
  2. radiant_luv

    radiant_luv Peon

    Messages:
    1,327
    Likes Received:
    34
    Best Answers:
    1
    Trophy Points:
    0
    #2
    in page.html added a div container <div class="header-image"> just below <div id="art-main"> and before <div class="art-sheet">

    <body>
    <div id="art-main">
    [COLOR="darkgreen"]        <div class="header-image"><img src="images/header_ad.gif" width="898px" height="70px" alt=""/></div>[/COLOR]
            <div class="art-sheet">
    		    <div class="art-sheet-tl"></div>
                <div class="art-sheet-tr"></div>
                <div class="art-sheet-bl"></div>
                <div class="art-sheet-br"></div>
                <div class="art-sheet-tc"></div>
                <div class="art-sheet-bc"></div>
                <div class="art-sheet-cl"></div>
                <div class="art-sheet-cr"></div>
                <div class="art-sheet-cc"></div>
    			<div class="art-sheet-body">
    
    Code (markup):

    in style.css add
    
    .header-image{
    margin:0 auto;
    width:898px;
    }
    
    Code (markup):
    I am unable to upload all files. Hope you can fix as described above.
     
    radiant_luv, Aug 19, 2010 IP
  3. Dot.Web

    Dot.Web Guest

    Messages:
    116
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    thanks a lot radiant_luv. Its fine. How to remove the gap between two headers?
    ---
     
    Dot.Web, Aug 19, 2010 IP
  4. radiant_luv

    radiant_luv Peon

    Messages:
    1,327
    Likes Received:
    34
    Best Answers:
    1
    Trophy Points:
    0
    #4
    Anytime. :)

    Remove properties "margin-top from .art-sheet"

    .art-sheet {
    cursor:auto;
    margin-top:10px !important; <!--remove this-->
    }
     
    radiant_luv, Aug 19, 2010 IP