Design Without Absolute Positioning

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
Faithe
Forum Commoner
Posts: 33
Joined: Tue Jul 12, 2005 3:26 pm
Location: WA

Design Without Absolute Positioning

Post by Faithe »

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 ^^
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

EDIT: oh, dear. i suppose i should've posted this in the right forum ^^
Indeed. Moved to Client-Side :wink:
matthijs
DevNet Master
Posts: 3360
Joined: Thu Oct 06, 2005 3:57 pm

Post by matthijs »

Another way is to use floats.
See http://css.maxdesign.com.au/floatutorial/
Faithe
Forum Commoner
Posts: 33
Joined: Tue Jul 12, 2005 3:26 pm
Location: WA

Post by Faithe »

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.
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Post by superdezign »

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.
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
Forum Commoner
Posts: 33
Joined: Tue Jul 12, 2005 3:26 pm
Location: WA

Post by Faithe »

Ahh. There :]

Thank you both, so much.
Post Reply