CSS Help With Header

Discussion in 'CSS' started by flightnurse, Apr 25, 2009.

  1. #1
    I'm still working on learning basic CSS, and I think I have the insides of my site in good shape now, but I'm hung up with it comes to what to do to get rid of tables and use CSS in my header.

    I'm using a logo on the left side, and a banner rotation runs in the right side, with space between, well, best to show you: http://rndegrees.net

    Could someone who knows how to do this please help me out?

    Thanks!
     
    flightnurse, Apr 25, 2009 IP
  2. mfscripts

    mfscripts Banned

    Messages:
    319
    Likes Received:
    4
    Best Answers:
    8
    Trophy Points:
    90
    Digital Goods:
    3
    #2
    Maybe something like this:

    <div>
      <div style="float:right;">
        <img src="banner.gif" />
      </div>
      <div style="float:left;">
        <img src="logo.gif" />
      </div>
    </div>
    HTML:
     
    mfscripts, May 1, 2009 IP
  3. CrazyJugglerDrummer

    CrazyJugglerDrummer Peon

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    You could just put the banner in a div and position it absolutely, so its at the top of the page:
    Code:
    #header {
    position: absolute;
    top: 0px;
    }
     
    CrazyJugglerDrummer, May 2, 2009 IP