[WSG] hr / or CSS3 Border Background
Hi, After reading the following article, I ask which is more semantic, using the hr / element with a background or using the CSS3 border background property? C http://www.smashingmagazine.com/2008/09/09/the-hr-contest-results-download-your-fresh-hr-line-now/ *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***
Re: [WSG] hr / or CSS3 Border Background
On Aug 8, 2009, at 7:05 PM, Bushidodeep wrote: Hi, After reading the following article, I ask which is more semantic, using the hr / element with a background or using the CSS3 border background property? C http://www.smashingmagazine.com/2008/09/09/the-hr-contest-results-download-your-fresh-hr-line-now/ I never use hr tag, find it unsemantical and redundant. Before CSS3 is fully supported by all important browsers, the semantic way I use is utilizing one of the existing div or type selector. Site like smashing magazine feeds hype which is unhelpful for web standards and accessibility–but this is what the site's purpose is: vanity, kitsch and hype. Oops, I hope the site owner isn't a member here :-) However, seeing that HTML 5 has given hr tag a new purpose: http://dev.w3.org/html5/spec/Overview.html#the-hr-element http://dev.w3.org/html5/spec/Overview.html#flow-content-0 quote: The hr element represents a paragraph-level thematic break, e.g. a scene change in a story, or a transition to another topic within a section of a reference book. So the decision is circumstantial, sometime you use hr, and sometimes use CSS 3 border background property. Then my question, what about those who prefer to stick with XHTML? The hr tag is deprecated. In gassho, tee *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***
Re: [WSG] hr / or CSS3 Border Background
On Sat, Aug 8, 2009 at 9:05 PM, Bushidodeep field.ni...@gmail.com wrote: Hi, After reading the following article, I ask which is more semantic, using the hr / element with a background or using the CSS3 border background property? C http://www.smashingmagazine.com/2008/09/09/the-hr-contest-results-download-your-fresh-hr-line-now/ the way i see it, is if you are separating content, then use the hr/ element. i ran across this question when updating my site and got positive response for the hr/ because i was separating content from other portions of the page. consider your borders if someone surfs with css turned off. in fact, consider your design gone with css turned off. cheers, dwain -- Fear of the devil is one way of doubting God. - Kahlil Gibran *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***
Re: [WSG] hr / or CSS3 Border Background
Hi, Thanks, SMASH has some good contributions. As with any resource, absorb what is useful, reject the useless. Does any DOM conditional exist for checking CSS3 support in user agents? C On Aug 8, 2009, at 7:53 PM, tee wrote: On Aug 8, 2009, at 7:05 PM, Bushidodeep wrote: Hi, After reading the following article, I ask which is more semantic, using the hr / element with a background or using the CSS3 border background property? C http://www.smashingmagazine.com/2008/09/09/the-hr-contest-results-download-your-fresh-hr-line-now/ I never use hr tag, find it unsemantical and redundant. Before CSS3 is fully supported by all important browsers, the semantic way I use is utilizing one of the existing div or type selector. Site like smashing magazine feeds hype which is unhelpful for web standards and accessibility–but this is what the site's purpose is: vanity, kitsch and hype. Oops, I hope the site owner isn't a member here :-) However, seeing that HTML 5 has given hr tag a new purpose: http://dev.w3.org/html5/spec/Overview.html#the-hr-element http://dev.w3.org/html5/spec/Overview.html#flow-content-0 quote: The hr element represents a paragraph-level thematic break, e.g. a scene change in a story, or a transition to another topic within a section of a reference book. So the decision is circumstantial, sometime you use hr, and sometimes use CSS 3 border background property. Then my question, what about those who prefer to stick with XHTML? The hr tag is deprecated. In gassho, tee *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***