Results 1 to 5 of 5

Thread: [RESOLVED] IE 6 re-align without javascript?

  1. #1

    Thread Starter
    PowerPoster Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    13,344

    Resolved [RESOLVED] IE 6 re-align without javascript?

    Hi,

    I am working one this website:

    http://www.vbforums.com/showthread.php?t=524971

    However, having solve the problem in that thread the bottom div doesn't align with the main div in IE6.

    Is there an If statement or something I could use change the footer alignment if the site is displayed in IE6? If possible can it be done without using JS?


    Thanks,



    Nightwalker
    when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
    If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
    https://get.cryptobrowser.site/30/4111672

  2. #2

    Thread Starter
    PowerPoster Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    13,344

    Re: IE 6 re-align without javascript?

    So far I have tried:

    Code:
    <style type = text/css>
    <!--[if IE6]>
    .bottomnav {margin-left: 256px;}
    <![end if]-->
    </style>
    However, the if statement doesn't want to work.
    when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
    If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
    https://get.cryptobrowser.site/30/4111672

  3. #3
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: IE 6 re-align without javascript?

    Conditional comment needs to go outside the style element. Also, your HTML is malformed — missing quotes.

    HTML Code:
    <!--[if lte IE 6]>
      <style type="text/css">
        .bottomnav { margin-left: 256px; }
      </style>
    <![endif]-->

  4. #4

    Thread Starter
    PowerPoster Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    13,344

    Re: IE 6 re-align without javascript?

    Quote Originally Posted by penagate
    Conditional comment needs to go outside the style element. Also, your HTML is malformed — missing quotes.
    Ah ok, thanks for your help!

    Edit:

    Damn, that code didn't work!
    Last edited by Nightwalker83; Jun 11th, 2008 at 06:35 AM.
    when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
    If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
    https://get.cryptobrowser.site/30/4111672

  5. #5

    Thread Starter
    PowerPoster Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    13,344

    Re: IE 6 re-align without javascript?

    I used this code to solve the problem:

    Code:
    <!--Cascading Style Sheets for different Browsers-->
       <link rel="stylesheet" type="text/css" href="./css/corvette_style.css" />
    <!--[if gte IE 6]>
       <link rel="stylesheet" type="text/css" href="./css/corvette_style1.css" />
    <![endif]-->
    <!--[if gte IE 7]>
       <link rel="stylesheet" type="text/css" href="./css/corvette_style.css" />
    <![endif]-->
    when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
    If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
    https://get.cryptobrowser.site/30/4111672

Posting Permissions

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



Click Here to Expand Forum to Full Width