|
Posted by Disco Octopus on 03/22/06 23:40
Greg N. wrote:
> Suppose you need a heading <h1>Huddersfield Canal Society</h1> to be
> rendered as two lines. The result you want to see is:
>
> Huddersfield
> Canal Society
>
> It can be fudged by marking it up as
>
> <h1>Huddersfield<br>Canal Society</h1>
>
> or
>
> <h1>Huddersfield</h1>
> <h1>Canal Society</h1>
>
> But what would you suggest, that complies with HTML 4.01 strict, and is
> politically correct with respect to style/content separation?
Depending on your reasons for doing this, you may just be needing to do
this for the space restrictions you have? If this is your reason, you may
like to consider puting a style to your H1 element with a width
eg...
<h1 style="width:250px;">Huddersfield Canal Society</h1>
--
eat beef jerky
Navigation:
[Reply to this message]
|