![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
This is what the style sheet looks like: .t1 { width: 15; } |
|
It works in IE and Netscape 7 but not in Netscape 4. |
#3
| |||
| |||
|
|
I'm trying to set the width of a textbox via a style sheet but it isn't working for Netscape 4.7 |
|
.t1 { width: 15; } |
|
I tried using "size" in the style sheet but it doesn't work. |
#4
| |||
| |||
|
|
Jeff Nibler wrote: This is what the style sheet looks like: .t1 { width: 15; } 15 what? Units are required for non-zero lengths. http://diveintomark.org/archives/200..._wont_help_you It works in IE and Netscape 7 but not in Netscape 4. Netscape 4 is a browser with tiny market share and very poor support for CSS. Many (probably most) authors who use CSS don't worry about the appearance in NS4 and use the multiple media type or @import hack to hide the styles from that browser. -- David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/ Home is where the ~/.bashrc is |
#5
| |||
| |||
|
|
Thanks for the reply. Unfortunately, I am forced (by clients) to write this site with Netscape 4.7 in mind. For some reason, many of our clients still use Netscape 4.7 in their operations and absolutely refuse to upgrade to newer versions even though it is free to do so. As for units... it doesn't matter. I have tried width: 15px; but that doesn't work either. |
#6
| ||||
| ||||
|
|
Thanks for the reply. |
|
Unfortunately, I am forced (by clients) to write this site with Netscape 4.7 in mind. |
|
As for units... it doesn't matter. |
|
I have tried width: 15px; but that doesn't work either. |
#7
| |||
| |||
|
|
Netscape 4 is a browser with tiny market share and very poor support for CSS. Many (probably most) authors who use CSS don't worry about the appearance in NS4 and use the multiple media type or @import hack to hide the styles from that browser. Thanks for the reply. Unfortunately, I am forced (by clients) to write this site with Netscape 4.7 in mind. |
|
As for units... it doesn't matter. I have tried width: 15px; but that doesn't work either. |
#8
| |||
| |||
|
|
On Mon, 9 Aug 2004 13:22:44 -0700, Jeff Nibler Tell them that the only way to support modern browsers AND NN4 is to set up separate stylesheets and that's going to double the cost. Because that's exactly what you'll have to do here. |
#9
| |||
| |||
|
|
As for units... it doesn't matter. OH YES IT DOES... Any client which does anything other than to ignore a non-zero value without units is in a State of Sin as far as CSS is concerned. So if it ever does what you want, it's a bug - and that's official. I have tried width: 15px; but that doesn't work either. "doesn't work"? There's a lot of that about nowadays: lounging around on the couch, drinking beer and watching TV all day. Which is just a way of saying "don't you realise you just triggered a standard response"? I recommend perusal of http://www.catb.org/~esr/faqs/smart-questions.html In this case, especially http://www.catb.org/~esr/faqs/smart-...html#id2888580 |
#10
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |