#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2001
    Location
    Toronto
    Posts
    16
    Rep Power
    0

    Unhappy 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?
  2. #2
  3. No Profile Picture
    Just Diggity
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2001
    Location
    Sherman Oaks, CA
    Posts
    126
    Rep Power
    13
    I'm very curious to see this in action, can you cut your code in or post a link?
    Dave Pedowitz
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2001
    Location
    Toronto
    Posts
    16
    Rep Power
    0
    Originally posted by diggity
    I'm very curious to see this in action, can you cut your code in or post a link?
    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
    <body>
    some text with no css associated with it just aligned LEFT

    <img> some image with a css selector that is as follows:
    h3{position: relative;
    left: 60%;
    top: 0%;}

    <table> a table of 1 row with two cells (50% widths)
    ....
    </body>
    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'.

IMN logo majestic logo threadwatch logo seochat tools logo