|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I have a website were the dhtml menu is driven from a seperate file. I have applied a style sheet to my page. The only problem is the style sheet is applied to my dhtml menu which i dont want. Any suggestions greatly appreciated.
![]() |
|
#2
|
||||
|
||||
|
try making your css classes and prefrences more specific. example if you were doing styles for td tags. instead of
td {border-left: 1px solid #CCCCCC;} try putting the table with the td tags you want to effect in a div tag <div id="content"><table><tr><td></td></tr></table></div> then make your style like this div#content td {border-left: 1px solid #CCCCCC;} now when you dhtml menu comes in. unless its in a <div> tag with id "content", it wont be affected.
__________________
"In a way, we're dead already" |
|
#3
|
||||
|
||||
|
Wrap your menu in its own id'd div, and apply the desired style rules.
Code:
#dhtmlmenu {
…
}
#dhtmlmenu .someclass {
…
}
cheers, gary
__________________
There are those who manage to build a web site without knowing what they're doing; thereby proving to themselves they do, indeed, know what they're doing. My html and css workshop, demos and tutorials. Ask a better question, get a better answer. |
|
#4
|
|||
|
|||
|
thanks guy, greatly appreciated.
|
![]() |
| Viewing: Dev Shed Forums > Web Design > CSS Help > Exclude DHTML menu from CSS |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|