Results 1 to 4 of 4

Thread: Internet Explorer 6 and CSS layout problem!

  1. #1
    Join Date
    Nov 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Internet Explorer 6 and CSS layout problem!

    Hi there,

    I'm new to CSS and i'm having trouble with a website. The site is fine with firefox and later versions of explorer 6, but when using 6 the nav bar jumps down the page, moving everything with it! In other words, the nav bar and page content doesn't start until bottom of page, leaving a huge, annoying gap.

    here is a pic:

    http://img524.imageshack.us/img524/7...problemjs2.jpg

    The website is: flyerschauffeurservices.co.uk if you want to check it out yourself.

    I have no idea how to fix this and it's really bugging me. Obviously i'd like the site to work with most/all browsers, especially explorer 6 as unfortunately, many ppl still use it.

    Any help would be appreciated! Thanks

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    The side bar is too wide in IE 6. This pushes everything after it below it. Try this:

    Code:
    <!--[if IE 6]>
    <style type="text/css">
    .twoColFixRtHdr #sidebar1 {
    	width: 194px;
    	overflow:hidden;
    }
    </style>
    <![endif]-->
    It can go right after:

    Code:
    <link href="flyers_styles.css" rel="stylesheet" type="text/css" />
    If there is still a problem, try width: 193px;

    Then 192px, etc. 194 worked here, but that was without the Flash.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Jul 2005
    Posts
    223
    Thanks
    12
    Thanked 0 Times in 0 Posts

    Default

    hmm i using latest ff, and i went to your site, and only the home button turned black on mouse over, the others remained blue.
    My Web Site
    Japan Town

  4. #4
    Join Date
    Nov 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Thx!

    Thanks alot for your help, jscheuer1, that fixed it!

    As for the nav bar, i'm fixing that up now too...

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
  •