Hi James, I am probably lost, why would it matter what width the viewport is, if you only care about having a box aligned to the <2please_james>centre</2please_james> that is 80% wide?


Hi,


Was referring to centering a fixed width box - can't really do this with a variably size viewport and right/left set to a percentage. Auto will fill in the blanks for you there.

e.g:

original, for instance

-------------800px---------------
--auto-------600px---------auto--

-------------800px---------------
--10%--------640px----------10%--

on resize:

------------1000px---------------
--auto-------600px---------auto--

------------1000px---------------
--10%--------800px----------10%--

HTH



russ weakley wrote:

"ode to poo" with centred container:
http://www.maxdesign.com.au/jobs/poo2.htm

Why poo? Good question. Maybe something to do with a 3 year old child that
is hassling me as we speak.  :)

Russ





I thought it was because poo floats?

sorry, just thought I'd raise the bar a bit there, sorry if I've trodden
in it... ahh ok I'll stop now.


Cheers James

*****************************************************
The discussion list for http://webstandardsgroup.org/
*****************************************************




Reply via email to