Results 1 to 3 of 3

Thread: CSS Help PLEASE

  1. #1
    Join Date
    Jun 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default CSS Help PLEASE

    Hey there, I'm doing my first CSS website (with out tables) and I've been stumped on these 2 problems for over a week now. I'm hoping someone out there can help.

    1: I cant get the elements (logo image, and navigation) to sit at the bottom of the header div. They just float up.

    2. the left border and the image(used as the right border) of the content div do not extend down in firefox. I believe it's because there has to be actual content, so the border only extends however far there is text but this is always leaving big gaps in the border in Firefox.

    the url for this is http://chrisonyett.com/vd/template.html,

    If anyone can help me with this I would really appreciate it.

    Thanks

  2. #2
    Join Date
    Jun 2007
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I'm a bit confused about what you are after but if you want to position something inside a div element you could use positioning such as:

    #header {
    position: relative;
    top: 10px;
    left: 50px;
    }
    You can also use negative values:

    #header {
    position: relative;
    top: -100px;
    left: -50px;
    }

    when positioning relatively top: 0; left: 0; is the top left of the #header div unlike absolute positioning which removes the element from the document flow completely and top: 0; left: 0; would be taken from the top left of the the page.

  3. #3
    Join Date
    Jun 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Great

    thanks a lot that helps tons,, sorry im still a new coder

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •