Previous Message
Next Message

positioning

Sent by Ira S. Mark on 9 October 2003 01:01


Michael: Thanks for the help. I would have stared at that forever. And 
"static" is default positioning, so all is in order. I wrote the 
selector that way (mistakenly) because I thought I remembered that some 
browsers mishandle selectors in the form tag#id (as opposed tag.class). 
I am only concerned with 5+. Your or some other member's clarification 
would be appreciated. As ever, Ira

[EMAIL-REMOVED] wrote:

>Ira wrote (regarding www.ismdesigns.com/test/ttt01.htm):
>
>  
>
>>But it is not applying the rules for the two ids, "fdfooter"
>>and "tease".
>>    
>>
>
>The HTML shows
>
><div id="fdfooter">
>  <div id="tease">
>  </div>
></div>
>
>and the CSS is
>
>div #fdfooter {..}
>div #fdfooter #tease {..}
>
>Spaces in selectors identify elements inside of other elements, so "div
>#fdfooter" selects an element with id fdfooter /inside/ of a div. To fix
>this, remove the space between div and #fdfooter, so that the rule looks
>for a div with the id fdfooter.
>
>HTH,
>
>MikeL
>
>
>  
>
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: