Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / HTML, CSS, Scripts / CSS / June 2006



Tip: Looking for answers? Try searching our database.

inheritance issue with IE 5

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
samuelberthelot@googlemail.com - 26 Jun 2006 12:11 GMT
Hi,

I've got the following css. It works fine with Firefox, but with IE 5,
the A is not inherited from li.flagtopic. How come ?

#divCutFlags li
{
    float: left;
    margin-right: 2px;
    cursor: pointer;
}

#divCutFlags li.flagtopic
{
    text-decoration: underline;
    font-weight: bold;
    cursor: text;
}

#divCutFlags li.flagtopic A
{
    color: #333366;
    text-decoration: underline;
    font-weight: bold;
    cursor: text;
}
Harlan Messinger - 26 Jun 2006 13:21 GMT
> Hi,
>
> I've got the following css. It works fine with Firefox, but with IE 5,
> the A is not inherited from li.flagtopic. How come ?

Since you explicitly give the li.flagtopic A all the properties you give
li.flagtopic, how can you tell whether it's "inheriting" anything or not?

> #divCutFlags li
> {
[quoted text clipped - 17 lines]
>     cursor: text;
> }
samuelberthelot@googlemail.com - 26 Jun 2006 13:43 GMT
Well, I would expect the A to be :

       color: #333366;
       text-decoration: underline;
       font-weight: bold;
       cursor: text;

and it's not. It's just a A with default body properties. Do you know
what I mean ?

> > Hi,
> >
[quoted text clipped - 25 lines]
> >     cursor: text;
> > }
Andy Dingley <dingbat@codesmiths.com> - 26 Jun 2006 16:24 GMT
> Well, I would expect the A to be :
>
[quoted text clipped - 4 lines]
>
> and it's not. It's just a A with default body properties.

1).  This sounds like a simple error of your selector not matching,
rather than anything complex about properties.

2). This isn't "inheritance", as your OP described it.

3). CSS doesn't do inheritance anyway (at least not in that sense).

> Do you know what I mean ?

4).  No, we need a URL to the page to begin knowing what's wrong with
it.
Harlan Messinger - 26 Jun 2006 17:39 GMT
> Well, I would expect the A to be :
>
[quoted text clipped - 5 lines]
> and it's not. It's just a A with default body properties. Do you know
> what I mean ?

Well, I know what you're telling me, but since the problem certainly has
some connection to some as-yet-unknown portion of your CSS and/or HTML
code and since you're keeping that a secret, it's hard to tell what the
problem might be.

>>> Hi,
>>>
[quoted text clipped - 24 lines]
>>>     cursor: text;
>>> }
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.