How many ways (CSS)
How many ways is there to have two div's side by side?
I know of a couple:
postion of the divs on page and floating
nested
fixed
Anyone know of any other methods?
How many ways is there to have two div's side by side?
I know of a couple:
postion of the divs on page and floating
nested
fixed
Anyone know of any other methods?
demonhale posted this at 15:12 — 7th March 2006.
He has: 3,278 posts
Joined: May 2005
directly put in two divs, and absolutely assign them to their pixel point...
Put it inside tables??? snicker...
Maybe Ill think of something else...
dk01 posted this at 21:07 — 7th March 2006.
He has: 516 posts
Joined: Mar 2002
absolute
fixed
normal float
negative margin float
nested
I guess those are all just more specific versions of things you have already said so they may not be very much help.
Megan posted this at 20:45 — 8th March 2006.
She has: 11,421 posts
Joined: Jun 1999
Someone should create a web page that shows all of the possibilities and how they work. Might make a good article someday
dk01 posted this at 02:07 — 9th March 2006.
He has: 516 posts
Joined: Mar 2002
I find this wiki page extremely useful when looking at different layout methods. The site is updated by CSS layout front runners Eric Meyer and friends.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.