The correct way would be:
Access list direct - will affect this list only:
ul#mylist {}
Access list w/ parent id - will affect all <ul>:s in parent div
#holder ul {}
and what (if any). Is the difference between #nav.li and #nav li ?
The difference is that #nav.li would look for an element with id="nave"
and class="li"
#nav li would look for all <li> items in parent id="nav"
// L
Ross Hulford wrote:
> I have this.
>
>
> <div id="header"
>
> <div id="holder">
>
> <ul id="mylist">
> <li> item 1</li>
> <li> item2</li>
>
> <ul>
>
> </div>
>
> </div>
>
>
>
> what is the correct way to change the ul properties without effecting other
> properties.
>
> #header #holder #nav {
> }
>
>
> #header #holder #nav.ul {
> }
>
>
> #nav.ul {
> }
>
> #nav ul {
> }
>
>
> and what (if any). Is the difference between #nav.li and #nav li ?
>
>
> thanks,
>
>
> R.
> ______________________________________________________________________
> css-discuss [EMAIL PROTECTED]
> http://www.css-discuss.org/mailman/listinfo/css-d
> IE7 information -- http://css-discuss.incutio.com/?page=IE7
> List wiki/FAQ -- http://css-discuss.incutio.com/
> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
>
> __________ NOD32 1.1838 (20061026) Information __________
>
> This message was checked by NOD32 antivirus system.
> http://www.eset.com
>
>
>
--
Lars Huring
Grafiker / Front-end
[EMAIL PROTECTED]
+46 (0)910-171 71
+46 (0)70-356 26 70
www.mammon.se
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/