Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-01-08 17:35:21

variaas
Plugin Author
From: Chicago
Registered: 2005-01-16
Posts: 402
Website

Anything wrong with absolute positioning?

Is it bad design to layout the elements on my page with absolute positioning? Or if absolute positioning is supposed to be used for only specific reasons, what are they?

Thanks!

Offline

#2 2006-01-08 17:49:49

Jeremie
Member
From: Provence, France
Registered: 2004-08-11
Posts: 1,578
Website

Re: Anything wrong with absolute positioning?

It can be bad. Or not. It depends on how it’s used.

It’s mostly used with fixed-width (or worst, fixed-size) layouts. A thing I’m not found of.

In real web design, including fluid layout, it can be use to position things relatively to one edge. Example: I commonly use it to position a search tool in a menu or navbar or near the site logo, things like that, when the html code for that search form is at the end of the html source.

A good thing to test your design is to try several radicaly different screen size (from 800×600 to 1600×1200 and up, at 4/3, at 16/9, and several other ratios), font size (from the very small ones to the very big ones, like 2 or 3 times bigger than most websites).

If your design doesn’t break, then it’s good. And it doesn’t matter if you use absolute positiong to achieve it.

Offline

#3 2006-01-08 19:24:37

Adam
Member
Registered: 2005-07-14
Posts: 16

Re: Anything wrong with absolute positioning?

This article might help you get a perspective on absolute positioning.


If you have no confidence in self, you are twice defeated in the race of life. With confidence, you have won even before you have started. –Marcus Garvey

Offline

Board footer

Powered by FluxBB