Menu
i know the fieldset tag is used for form controls and puts a nice border surrounding whichever controls you want grouped.
but i noticed that it actually looks good (with a little css) to put around blocks of text. check out this page i did: [url]http://www.mididelight.com/misc/about.php
my question is, is it wrong to use the fieldset tag in places other than forms? I know syntactically its correct, I just dont know semanticly.
Anyone have any idea?
[i]Originally posted by mididelight [/i]
[B]but i just know there are those die-hard css/validator/xhtml webmasters that will say i am supposed to only use fieldset tags for forms.
i am wondering if its just fround upon to do it my way or it will really cause errors? [/B][/QUOTE]
<i>
</i><div style="width: 200px; border: solid 1px #000; font-size: small; margin-top: 2em;">
<h2 style="border: solid 1px #000; padding: 2px; margin-top: -1em; margin-left: 0.5em; background: #fff; width: 70px; font-size: medium;">About us</h2>
<p style="padding: 5px;">MIDI Delight was created in 1998, etc., etc., etc., etc., etc., etc., etc., etc.</p>
</div>
[i]Originally posted by russell [/i]
[B]Definitely use html tags as you see fit to create the display you want. A great example of this is the table tag, which was inteded for displaying tabular data, but was immediately (and still is) used for layout purposes. [/B][/QUOTE]
[i]Originally posted by MstrBob [/i]
[B]Also, add this :
position:relative;z-index:2;
to the h2 tag, because IE doesn't follow many rules of CSS. [/B][/QUOTE]
[i]Originally posted by mididelight [/i]
[B]actually i have a question,
is there a way to make the box around the header expand/contract with the size in length of the title.
for example, if the title is "this is the longest title ever", then the box will resize to fix the text [/B][/QUOTE]
<i>
</i><div style="width: 90%; border: solid 1px #000; font-size: small; margin: 2em auto;">
<h2 style="border: solid 1px #000; padding: 2px; margin-top: -1em; margin-left: 0.5em; margin-right: 0.5em; background: #fff; font-size: medium; white-space: nowrap; position: relative; z-index: 2">This is the longest title ever before ha ha ha</h2>
<p style="padding: 5px;">MIDI Delight was created in 1998, etc., etc., etc., etc., etc., etc., etc., etc.</p>
</div>
Wow, and this, ladies and gents, is why web technologies are static today. So then, you'd suggest using improper markup simply because it looks good? Because markup was intended for visuals right? Hey, screw the blind, and people using anything other than a graphical browser. Why do they need to see the page?[/QUOTE]
[i]Originally posted by russell [/i]
[B]mstrBob, how you can equate using tables and fieldset tags with "screw the blind" is beyond me.[/B][/QUOTE]
[i]Originally posted by russell [/i]
[B]Markup was [i]invented for display[/i]. What did you think it was for?[/B][/QUOTE]
[i]Originally posted by russell [/i]
[B]Again, I agree that CSS with valid HTML is the best solution in most www cases. But your comments on the subject are ill-informed[/B][/QUOTE]
[i]Originally posted by Jona [/i]
[B][font=trebuchet ms]Mr Herer, it may be best to [i]explain[/i] your convictions, rather than speak so boldly.[/font] [/B][/QUOTE]
[i]Originally posted by Mr Herer [/i]
[B]My bad. I just don't take kindly to this "people that actively encourage web standards are fools" attitude. [/B][/QUOTE]
0.1.9 — BETA 5.18