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]
|