[css-d] address element with classes

2010-10-09 Thread Dave Solko
I'm trying to address an LI which has two classes (it's part of the nav): li class=page-item-7 current_page_item Is there any way to address the li ONLY when it has both these classes? On other pages, it has a different combination of classes. The page in question is

Re: [css-d] address element with classes

2010-10-09 Thread Thierry Koblentz
I'm trying to address an LI which has two classes (it's part of the nav): li class=page-item-7 current_page_item Is there any way to address the li ONLY when it has both these classes? On other pages, it has a different combination of classes. Yes, you can use the selector below, but note

Re: [css-d] Address

2006-06-26 Thread Tom Livingston
How about: .center {text-align:center; margin:0 auto;} or maybe even .center {position:relative; text-align:center; margin:0 auto;} -- Tom Livingston | Senior Multimedia Artist | Media Logic | ph: 518.456.3015x231 | fx: 518.456.4279 | mlinc.com