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

Posts: 251
Name: Tom Maurer
Location: Pennslvania, USA
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
 
When You Register, These Ads Go Away!
Old 02-15-2008, 03:35 PM Re: CSS Layout
LadynRed's Avatar
Super Moderator

Posts: 6,746
Location: Tennessee
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 !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club
LadynRed is online now
Reply With Quote
View Public Profile
 
Old 02-15-2008, 06:24 PM Re: CSS Layout
joder's Avatar
Flipotron

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

Posts: 30
Location: US
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, 11:41 PM Re: CSS Layout
Tom_M's Avatar
Ultra Talker

Posts: 251
Name: Tom Maurer
Location: Pennslvania, USA
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, 11:31 AM Re: CSS Layout
LadynRed's Avatar
Super Moderator

Posts: 6,746
Location: Tennessee
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 !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club
LadynRed is online now
Reply With Quote
View Public Profile
 
Old 02-17-2008, 04:13 PM Re: CSS Layout
joder's Avatar
Flipotron

Posts: 6,443
Name: James
Location: In the ocean.
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

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

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


Webmaster Resources Marketplace:
Software Development Company | Webhosting.UK.com | Text Link Brokers 


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

 


Page generated in 0.14568 seconds with 12 queries