Posted by Bergamot on 03/08/07 19:47
Rangy wrote:
>
> I saw some suggestions about creating a child element (e.g. <p>) and
> then using absolute positioning with a parent (h1) element that is set
> for relative positioning.
Unless you know what you are doing, you should avoid absolute
positioning. The inexperienced often end up with broken design.
What to do instead is dependent on the particular content and what you
are really trying to achieve. There is no one best way.
BTW, nesting <p> inside <h1> is invalid. And relative positioning
probably isn't what you think it is. Read the specs at
http://www.w3.org/TR/CSS21/visuren.html
--
Berg
[Back to original message]
|