Email address obfuscation in effect -- please
click here to turn it off.
[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
huh?
you wouldn't build a menu like that anyway...this is much easier (and
closer to semantic).
[xhtml code]
<ul>
<li>menu element 1</li>
<li>menu element 2</li>
<li>menu element 3</li>
</ul>
[css code]
ul {list-style: none;}
li {display: inline;}
[or]
ul {list-style: none;}
li {float: left; display: block; width: Npx;}
menus are nothing but lists as far as "data" description is concerned.
they should be coded with that in mind.
div are block level elements, span are inline elements.
Scott Hussey wrote:
>On Thu, 02 Dec 2004 12:08:36 -0600, Shawn Parker
><EMAIL:PROTECTED> wrote:
>
>
>>I wish more web developers would embrace standards based coding and
>>semantic web design principles. Alas, people have a hard time with
>>change. Especially designers and developers.
>>
>>It is especially easy to make menus with XHTML and CSS now. Which would
>>eliminate the very problem you're having.
>>
>>
>
>I'm certainly not a UI expert, but I think that the CSS layout engine
>is almost of imbecilic design. I cannot believe how difficult it is to
>have side-by-side block level elements (such as DIVs). I think Java's
>box layout would have been ideal for CSS. Want three columns of text?
>Something like this should get it done instead of some black magic of
>absolute positioning or floats.
>
><body style="layout: horizontal-box;">
> <div style="layout: textflow; width: 33%;">Text in column1</div>
> <div style="layout: textflow; width: 33%;">Text in column2</div>
> <div style="layout: textflow; width: 34%;">Text in column3</div>
></body>
>
>
>
--
Shawn Parker
Network Administrator
Cumulus Broadcasting, LLC.
Columbia, Missouri - KBXR, KFRU, KOQL, KPLA
Jefferson City, Missouri - KBBM, KJMO, KLIK
573-449-4141 Ext: 331
_______________________________________________
discussion mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/discussion