|
-
Jun 10th, 2008, 06:27 AM
#1
[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
-
Jun 10th, 2008, 10:21 PM
#2
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
-
Jun 11th, 2008, 04:32 AM
#3
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]-->
-
Jun 11th, 2008, 06:26 AM
#4
Re: IE 6 re-align without javascript?
 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
-
Jun 11th, 2008, 11:22 PM
#5
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|