- CSS content block positioning
- Posted by Nats on June 10th, 2004
Im trying to create a web page using CSS content blocks rather than layers
or tables. I cant get the content blocks to align centrally to the browser
page when resized like a table will - is there any way to do this? Im using
Dreamweaver MX2004. Seems the same with layers - cant get them to stay
centrally lined up with the browser window. I hate web sites that are left
aligned and not central.
Also what about stretching content blocks like stretchable cells - can you
do this in CSS or are you fixed to a certain shape?
Any help appreciated
--
Regards
Nigel Stutt
Web Site Designer
Email: nstutt@nstutt.freeserve.co.uk
Web: http://www.nstutt.freeserve.co.uk
- Posted by Richard Watson on June 10th, 2004
"Nats" <nstutt@nstutt.freeserve.co.uk> writes:
You can set the width of elements in different units including as a
percentage of the width of the container element, if that answers your
question.
Maybe you should say a bit more about what you're trying to achieve,
or post a link or something.
--
Richard Watson
http://www.opencolo.com/
High Quality, Value for money colocation
- Posted by poster on June 11th, 2004
DIV.x {width: 50%; margin-left: auto; margin-right: auto;}
- Posted by Gazza on June 17th, 2004
In article <caan0i$23g$1@news7.svr.pol.co.uk>,
nstutt@nstutt.freeserve.co.uk says...
See if http://www.thenoodleincident.com/tut...son/boxes.html
is of any use.
--
Gazza
http://www.rossmore.org/
http://www.garyjones.co.uk/


