Reply to % or em in Flexible Layout?

Your name:

Reply:


Posted by Andrew on 10/11/59 11:51

Hi,

I would be grateful for an answer to a question about flexible layout
for the following site:

http://www.pnc.com.au/~plstrong/strongs/index.html

The main content had margins set as:

#content
margin: 0em 4% 0em 12.5em;

in my belief that this would give a flexible right border to the main
content. The W3C Validator spat the dummy at this as it mixed fixed
and relative values, a warning rather than failing the CSS ('this is
not a robust stylesheet'). So I altered the CSS to the current:

#content
margin: 0em /*4%*/ 2em 0em 12.5em;

and the effect of flexibile design at all screen resolutions remains +
W3C validator is happier.Is it actually the body margin rules that
maintain this flexible design rather than my ignorant use of the %??

Thanks for anybody who can clear this up for me!

Andrew.
--

Andrew
http://people.aapt.net.au/~adjlstrong/

[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

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