![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi all, I've run into a bit of a problem redoing our school website (summer's almost over!). I'm trying to put a thin (~1px) border around "Popular Pages" and "News". www.teacher-tutor.com/new_index.htm I think I'm inheriting a bum cascade! :>) |
#3
| |||
| |||
|
|
Karm56 wrote: Hi all, I've run into a bit of a problem redoing our school website (summer's almost over!). I'm trying to put a thin (~1px) border around "Popular Pages" and "News". www.teacher-tutor.com/new_index.htm I think I'm inheriting a bum cascade! :>) add #nav td before .nav_cell_header as below. #nav td.nav_cell_header { background-color: #CCCCCC; text-align: center; font-weight: bold; font-variant: small-caps; border: 1px solid #00008B; } |
#4
| |||
| |||
|
|
And don't use underscores in custom class names. Right> You heard that! |
#5
| |||
| |||
|
#6
| |||
| |||
|
|
And don't use underscores in custom class names. |
#7
| |||
| |||
|
|
Murray wrote: And don't use underscores in custom class names. Amen. I can't stand those. |
#8
| |||
| |||
|
#9
| |||
| |||
|
|
Hi Osgood, Well, that took care of that! Thanks! Where can I find out how your suggestion worked?? I think I tried everything (in my CSS book(s) but could not find an answer. Thanks again for taking the time to help! Mark id selectors outrank class selectors. In your senario even though the |
#10
| |||
| |||
|
|
id selectors outrank class selectors. |
![]() |
| Thread Tools | |
| Display Modes | |
| |