RSS

Forum | Preferred CSS positioning method

This Forum is Currently Locked – Access is Read Only
You must be logged in to post
Search Forums:


 






Preferred CSS positioning method

UserPost

8:51 AM
Jan 14, 2010


virtual

Member

posts 39

1

Just out of curiosity I would like to know which method you generally use when coding your sites. For example I style without position (which implies static), floats, margins and padding. I only use relative or absolute on rare occasions.

3:26 AM
Jan 15, 2010


Jason Cole

Member

posts 20

2

Absolute is a last resort for me. It is good for building fancy headers, but I like to do things with floats if possible.

6:20 AM
Jan 16, 2010


webmatter

Member

posts 8

3

I too think that position absolute should only be used as last resort. I do use floats though and of course margin and padding. I am wondering how do you style your designs without floats, margin and padding?

Ah … I see you have a flash website … ;)

12:42 PM
Jan 16, 2010


virtual

Member

posts 39

4

@webmatter

Yes unfortunately I have a Flash website, that was an exercise for a Flash web class some years ago and I always find something better to do than go in and change it… I have forgotten almost everything except the basics about Flash and never use it to design websites.

My question arose from an article I read on CSS and positioning, where the author did not mention floats at all only, absolute, relative, fixed and static. As I have been troubleshooting for noobs on other forums I noticed that they often use absolute and relative positioning.