View Full Version : css style sheets+ NS+tables = Junk
nippi
05-25-2001, 08:38 AM
I've built a site with a shopping cart in DM4 and FW4 + ASP. Decided to CSS style sheet my cart so I could have different shopping sites linking to the same cart,applying different style sheets to it so it would look different.
Works fine in IE5+, but NS6 doesn't see my style sheet at all.
What have I done wrong?
Check it out at.
http://www.halonet.com.au/beesworks/shop.asp?intsup=16&pn=brief&supname=beesworks&subcat=wlpc
I've heard rumours NS doesn't like style sheets, especially with tables. Please tell me it isn't so and that I jsut need to link differently.
Nippi
kevin
05-25-2001, 01:55 PM
Your link to the style sheet looks fine to me. NN does not support many table style attributes, but I'm not sure if that is the problem you are experiencing.
I found this info from an online reference but it doies not mention NN6:
Notes in Netscape 4.0:
Border properties turn inline elements into block elements
Border properties do not work (properly) with tables, table cells, form fields, hyperlinks, images, lists, and list items
Default value for "border-style" is "solid", not "none" as it is written in the specification
Default value for "border-width" is "0", not "medium" as it is written in the specification
Maybe someone else will know someting more definitive.
Regards,
Kevin
COBOLdinosaur
05-26-2001, 09:58 AM
You have a real big problem and it is going to take a pile of work t fix it. :(
All of your class names are using underscores. The underscore is not a legal character for a class name in the standard. IE will tolerate them, but Netscrap adheres much more closely to the standard.
Looks like you really burn on this one.
Sorry to bring bad news. :bluescrn:
nippi
05-27-2001, 06:32 AM
Underscore is not an issue. If this is the problem I can do a find/replace and delete them all. I'll try it. I hope this is it.
If it works its still got to be less work than browser sniffing and double coding.
nippi
05-27-2001, 07:46 AM
Cobol.
Thankyou.
COBOLdinosaur
05-27-2001, 02:47 PM
Glad it work out. If you have any cross-browser issues to resolve, this is a good resource for both HTML and CSS compatibility questions:
www.blooberry.com
vBulletin® v3.6.7, Copyright ©2000-2009, Jelsoft Enterprises Ltd.