When I first started learning the basics of web page design, the only way I was taught to move various elements of the page around was by absolute positioning in CSS. However, it seems to mess with the page a bit depending on the person who uses it. I'm not sure if this is actually due to absolute positioning or not, but I was wondering if there were other ways to design a page without using that particular style.
Any help would be greatly appreciated :]
EDIT: oh, dear. i suppose i should've posted this in the right forum ^^
Design Without Absolute Positioning
Moderator: General Moderators
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
Another way is to use floats.
See http://css.maxdesign.com.au/floatutorial/
See http://css.maxdesign.com.au/floatutorial/
- superdezign
- DevNet Master
- Posts: 4135
- Joined: Sat Jan 20, 2007 11:06 pm
Well, that's what dynamic layouts do... They are supposed to be designed to shrink and expand. Absolute positioning doesn't do that. You have to either design it to fit in a expandable environment, or put it in a container with a set size.Faithe wrote:Hmm. Either i'm not doing it right, or floats aren't really solving my problem. Is there any other way to move objects (like images and divs) in a layout?
The main problem I seem to be having is that when I shrink/expand the size of the browser (i'm using Mozilla), the images move.