Reply to Re: Basic CSS Content Placement Question

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация