Matthias Apsel: CSS Selektor/ Dreamweaver Spry Horizontal Menu

Beitrag lesen

Om nah hoo pez nyeetz, Simon!

Dabei ist mir aufgefallen, dass das Problem verschwindet, wenn ich schreibe:



> ul.MenuBarHorizontal#navigation_menu ul li {
> 	white-space: nowrap;
> 	display: block;
> 	float: none;
> 	width: auto;
> }

anstatt:

ul.MenuBarHorizontal ul li {

> 	display: block;
> 	float: none;
> 	width: auto;
> 	white-space: nowrap;
> }

ersteres ist ein Selektor höherer [ref:self812;css/formate/kaskade.htm#spezifitaet@title=Spezifität] (0113 gegen 0013)

Matthias

--
Wer ein Problem beschreiben kann, hat es schon halb gelöst.                                             (Julian Huxley) http://www.billiger-im-urlaub.de/kreis_sw.gif