Hi, Well i cant say this "styled <b> hack" is not elegant; the rounded corners as a task is very complicated, i know.
I have no ultima ratio to discredit this solution I'm just saying the <b> as a html markup tag was designed to an other purpose, namely styling or modifying a content element. In this case the purpose mentioned cant be fulfilled. This solution opens the way to style a document, but <b> is for smaller content elements. Thats all :) If you call me a conservativist you're right :) I hope we can find a way to the realm of the rounded corners without solutions like this. Regards, Janos On 7/22/06, Paul Novitski <[EMAIL PROTECTED]> wrote:
>On 7/22/06, Al Kendall wrote: >>try these http://www.html.it/articoli/nifty/index.html At 05:06 AM 7/22/2006, Janos Hardi wrote: >This solution has nothin to do with common semantics - not recommended. Janos, may I assume that it's the use of the B tag you're objecting to, rather than the addition of DIVs to the markup to support the rounded corner effect? Alessandro Fulciniti, the author of that technique, uses B tags simply for brevity of markup -- ironic, because while saving six characters for each element (using B instead of SPAN) he's adding a couple of dozen for inline styling. He says, "A few words on the use of the <b> element. I needed an inline element to obtain the rounded corners, since it could be nested in almost every kind of tag mainting the markup valid. So the choice fell on b because it doesn't have semantical meaning and it's shorter than span, like Eric Meyer said." We're currently using a different rounded corners technique on our site http://juniperwebcraft.com/ but similarly adding markup with JavaScript; we're adding classed DIVs to the markup and keeping all the styling in an external stylesheet. (Look at the generated source with the Firefox webdev tool, not the simple page source, to see the resultant markup.) I don't think Fulciniti's technique should be discarded simply because of his debatable tag choice when there are other neutral elements that can more innocuously substitute. Regards, Paul ****************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************
****************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************
