Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Old 02-15-2008, 01:36 PM CSS Layout
Tom_M's Avatar
Ultra Talker

Posts: 250
Name: Tom Maurer
Location: Pennslvania, USA
Trades: 0
Confused!

CSS layout is confusing at best. I've been reading books lately on using web standard solutions. I read a book that states that floated layouts are an acceptable and standard solution for layout.

I read another book that says don't use floated layouts because they are inconsistent in browsers. This book says that positioned layouts are the standard. In the same paragraph it tells me that I need a special javascript snippet to make a footer stay below positioned column and content areas.

That doesn't seem real standard to me?

What's a guy to do? Floated layouts are easy. Positioned require me to use this script to make it look right. Any thoughts on this?
Tom_M is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 02-15-2008, 02:35 PM Re: CSS Layout
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Quote:
I read another book that says don't use floated layouts because they are inconsistent in browsers.
What book would that be and how old was it ?? Floated layouts are rendered pretty consistently across all the CURRENT crop of browsers. Positioned layouts are NOT the standard at all, and you can run into some major problems with them.

You don't need a javascript snippet to keep a footer at the bottom - you need a proper layout - that's NOT positioned.

Answer ? Don't use positioned layouts, floats are pretty much the norm.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 02-15-2008, 05:24 PM Re: CSS Layout
joder's Avatar
Flipotron

Posts: 6,442
Name: James
Location: In the ocean.
Trades: 0
Sounds like a book on Dreamweaver.
joder is offline
Reply With Quote
View Public Profile
 
Old 02-15-2008, 05:28 PM Re: CSS Layout
Experienced Talker

Posts: 30
Location: US
Trades: 0
www.w3schools.com // Great!
__________________
Great Design's
Great Price's
Great Pixel14
pixel14 is offline
Reply With Quote
View Public Profile Visit pixel14's homepage!
 
Old 02-16-2008, 10:41 PM Re: CSS Layout
Tom_M's Avatar
Ultra Talker

Posts: 250
Name: Tom Maurer
Location: Pennslvania, USA
Trades: 0
Quote:
Originally Posted by LadynRed View Post
What book would that be and how old was it ??
It's a fairly new book by a well known designer. I will definitely re-read the chapter, but from what the author said, floats are bad - positioning is the best method.

Quote:
Originally Posted by LadynRed View Post
You don't need a javascript snippet to keep a footer at the bottom - you need a proper layout - that's NOT positioned.
Inman Position Clearing - That's what I was thinking. What if a browser has JS turned off? Won't that break your layout?

Quote:
Originally Posted by LadynRed View Post
Answer ? Don't use positioned layouts, floats are pretty much the norm.
I will. Thanks for the insight. I definitely see the benefit in writing semantic code, so I wanted to make sure I was doing my layouts properly.
Tom_M is offline
Reply With Quote
View Public Profile
 
Old 02-17-2008, 10:31 AM Re: CSS Layout
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Well, that article by Shaun was written 2 years ago. Eric Meyer weighed in and seemed to find it interesting. Floats may not be perfect, but I'm not comfortable relying on javascript to make sure my pages render properly.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 02-17-2008, 03:13 PM Re: CSS Layout
joder's Avatar
Flipotron

Posts: 6,442
Name: James
Location: In the ocean.
Trades: 0
You don't need javascript for layout. Do a google search for
css layouts
or look at the sticky threads at the top of this Forum.
joder is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to CSS Layout
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.38648 seconds with 12 queries