I wrote:

> <fieldset>
>    <div class="container">
>        <legend><span>Legend</span></legend>
>        content...
>    </div>
> </fieldset>

francky wrote:

>Then it is very close to the idea to forget the whole fieldset-coding,
>and replace it by common div's and classes:
>
><div class="fieldset-imi">
>    <div class="legend-imi">a young HTML monkey - imitation</div>
>    <div class="field-imi">content...</div>
></div>

With one important exception -- the semantic value of having fieldset
and legend markup is retained. I won't argue that it doesn't add extra
code -- it does -- but it adds that code with deference to the main
purpose of markup. The <legend> remains a <legend>, which happens to
have an additional inline wrapper inside. The <fieldset> remains a
<fieldset>, which happens to include an additional wrapper <div>
within it.

> Oops, reading back the original post of Kim Sieger "Anyone know of a way
> to work around this without using a hack and without having to add
> conditional comments on all 2,000 of my pages?".
> So, if only the css can be changed, all solutions with adding extra
> <div>'s in the html are not too adequate...

True, if HTML tags were conditional comments.... As they are not, I'm
not sure I would consider this a hack, any more than using wrapper
<div>s is a hack to create a multi-column layout.

Either way, the intent is to provide a variety of options for Kim to
consider. He will decide what compromise works best for him. As long
as the options work for him, that is enough. :-)

Thanks,

Michael
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to