开发者

What to use as an horizontal list separator?

开发者 https://www.devze.com 2023-01-29 09:09 出处:网络
<tr/>, <separator/>, or something else? What is the s开发者_StackOverflow中文版tandard?<hr> == \"horizontal rule\"

<tr/>, <separator/>, or something else? What is the s开发者_StackOverflow中文版tandard?


<hr> == "horizontal rule"

<tr> is a table row, and there is no such thing as <separator>.

Oh, and this is the standard.


I usually just throw a border on the top or bottom of an element with CSS.


<separator/> is found at http://www.w3.org/TR/2005/WD-xhtml2-20050527/mod-structural.html#edef_structural_separator


In my case, I prefer to use

<ul><li>

and set the li display to inline, and float to left. Give it a try!!!


I think there is no such standard for it. It will depend on how you want the browser to display your code. you can use


to separate it with lines or
with new lines. I'm not often used or to use as horizontal separator you can also use css to add a border on your tags and add formating style. if you say list to display horizontally http://css.maxdesign.com.au/listutorial/horizontal_master.htm

0

精彩评论

暂无评论...
验证码 换一张
取 消