At 07:59 PM 9/26/2004 +0100, Syntactic: Jim Wilkinson wrote:
Is it proper to have a "P" inside of a "H" tag?
Or should I say: Is it proper to have a block level element inside of
an in line element?
I thought as much - but it does work - right?
Any ideas on what might be the correct way to do it?
>Depends what you mean by "work". Browsers may be forgiving and offer some
>sort of rendering but it's not the way to do things. As for the correct
>way, it depends what you're trying to do - please advise and I or others
>can suggest a solution.
By "work" I mean it displays how I would like to see it displayed.
If you check this page and look at the second entry down on the list you
will see what I am trying to accomplish.
I did not think something so simple would be this difficult to achieve. I
prefer No2 over No1 but will settle for number 1.
Two get back to what is "wrong" in my HTML - like using P tags inside of H
tags. If it works - why is it considered bad code?
I know there are larger issues with browser compatibility and challenged
users, but I am not convinced these are important issues for my little
pages done in my spare time, on a volunteer basis.
I only check my pages against IE 6 and Moz 5. That seems to be what the
vast majority of folks out there are using.
I know, that's no excuse for using invalid code, but...
Looking forward to some earth shaking solutions from you all!
Thanks to all,
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/