December 25th, 2001, 01:49 AM
NS and CSS inheritance
I have CSS selector defined to be color: black which applies to body of my page. Within the page I need some oft repeated words to be color: green.
When I preview page in IE5 and 6 all is fine, but NS4.7 and 6.1 actually put a double quotation mark (yes you read right a "double quotation") around the words that I need to be green, they are green however but ...
I have seen many 'bugs' in NS implementation of inheritance and CSS in general but this is new. Any ideas?
December 26th, 2001, 03:58 PM
I'm very curious to see this in action, can you cut your code in or post a link?
December 26th, 2001, 08:59 PM
really sorry for wasting your time. I solved that particular 'problem' my stupid mistake... (I still stand by my NS comment though!)
please take a look at this OTHER REAL problem and see if you can help me out.
I have the following situation
some text with no css associated with it just aligned LEFT
<img> some image with a css selector that is as follows:
<table> a table of 1 row with two cells (50% widths)
I do not want to add any css stuff to the text or the table nor change their HTML tags/properties.
With the relative style the img is placed 'under' the text (60% to the left which is what I need)but I want it to be on the top of the page immediately to the right of the left aligned text. If I use absolute positioning for the img it covers the contents of the table. Is there a way to 'push' the table to just below the image remembering that my only option at this point is playing around with that h3 style only.
I will also make a new thread with this topic just in case others have read this thread with the first 'problem'.