![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
div class="nav" !--[if IE]><div class="crapnav"> <![endif]-- in my HTML to point to different classes in my CSS, the only difference between which is that one uses position:fixed and the other uses position:absolute to keep the menu at the top of the page. |
#3
| |||
| |||
|
|
div class="nav" !--[if IE]><div class="crapnav"> <![endif]-- Why don't you include an extra stylesheet for IE with Conditional Comments I think you're suggesting I use some sort of browser sniffing and serve a CSS file based on that? |
#4
| ||||
| ||||
|
|
*Grayle* <ttoblyr (AT) ubgxrl (DOT) arg.nh>: Where's .nh, btw.? |
|
div class="nav" !--[if IE]><div class="crapnav"> <![endif]-- Why don't you include an extra stylesheet for IE with Conditional Comments I think you're suggesting I use some sort of browser sniffing and serve a CSS file based on that? You're already doing that with the so-called Conditional Comments. I only suggest that you use it to link the stylesheet instead. !--[if lte IE6]><link rel="stylesheet" href="ie.css"> <![endif]-- Aahh. I'd never seen that. So I put that in the <head> ? Whats the 'lte' |
|
and _no_ !--[if IE]><div class="crapnav"> <![endif]-->. understood. Personally I don't think CSS browser bugs were worth to mess up your HTML documents with e.g. CCs, but let's not elaborate on that again. Sorry, I can't make sense of that sentence. Thanks for taking the time |
#5
| |||
| |||
|
|
Grayle wrote: In article <beijl0$22bf$1 (AT) ariadne (DOT) rz.tu-clausthal.de>, crissov (AT) gmx (DOT) net !--[if lte IE6]><link rel="stylesheet" href="ie.css"> <![endif]-- Aahh. I'd never seen that. So I put that in the <head> ? Whats the 'lte' bit mean? And why specify IE6? and _no_ !--[if IE]><div class="crapnav"> <![endif]-->. lte IE6 means less than or equal to IE6. I guess this was used in the hope that Microsoft will get it right in version 7.... |
#6
| |||
| |||
|
|
lte IE6 means less than or equal to IE6. I guess this was used in the hope that Microsoft will get it right in version 7.... Thanks for that. |
![]() |
| Thread Tools | |
| Display Modes | |
| |