SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Addict Feliciaf's Avatar
    Join Date
    Mar 2004
    Location
    New Zealand
    Posts
    385
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    IE problem with fitting in fixed width

    Hi

    I am trying to get my banner image to flush against the navigation bar on the left. It works fine in all browsers apart from IE. In IE the banner image drops down past the navigation menu if I make it longer than 595px. I need it to be 599px. It may be something to do with padding or margin or perhaps I need a hack - any professional advice would be great.

    Here's the dev site:

    HTML link: http://www.tagdesign.co.nz/jornas/index.html
    CSS link: http://www.tagdesign.co.nz/jornas/css/menu.css

    Thanks so much.

  2. #2
    SitePoint Wizard bronze trophy Centauri's Avatar
    Join Date
    May 2007
    Location
    Newcastle, Australia
    Posts
    3,718
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Why don't you do away with the #image-banner div completely, and put the image on the background of the container?
    Code:
    #navbanner-container {
    	background: url(../images/banner-image.jpg) no-repeat right top;
    	height: 128px;
    }

  3. #3
    SitePoint Addict Feliciaf's Avatar
    Join Date
    Mar 2004
    Location
    New Zealand
    Posts
    385
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    wow - you just sorted it. I NEVER even thought of that and how simple and logical. Brilliant - you have made my day! Thanks soooooo much. Thanks.


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
  •