Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

Sponsored Reviews   World's Leading Outsourcing Network   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 04-16-2008, 05:28 PM   #1 (permalink)
Contributing Member
 
Join Date: 06-11-07
Posts: 158
iTrader: 0 / 0%
Latest Blog:
None

Capo64 is on the right pathCapo64 is on the right pathCapo64 is on the right path
Three Column Layout

Hi,

I've always used tables as my layout, and I can't seem to understand why everyone loves these CSS layouts so much, but I figure I might as well try it out.

Anyone know of the *perfect* three column CSS layout?

I'm looking for:

Simple.
Fluid Middle.
All Columns equal height no matter which is the longest.
Header & Footer.
Cross-browser.
Validates & No CSS Hacks.

I've been looking around for a good one, and so far I haven't found one that appeals to me.

Why aren't these as easy as tables, and why does everyone love them so much?

Thanks :}
Capo64 is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 04-16-2008, 05:41 PM   #2 (permalink)
unr
Contributing Member
 
unr's Avatar
 
Join Date: 03-24-08
Posts: 73
iTrader: 2 / 100%
Latest Blog:
None

unr is liked by many
Tables are far too restrictive, you can do almost anything with divs.
Though, I agree I can also do almost anything with tables.
It just takes more work.

-- can't help you find what you're looking for,
But hope that explains why people love divs.
unr is offline  
Add Post to del.icio.us
Reply With Quote
Old 04-16-2008, 06:00 PM   #3 (permalink)
Contributing Member
 
htmlbasictutor's Avatar
 
Join Date: 10-29-07
Location: British Columbia, Canada
Posts: 96
iTrader: 0 / 0%
htmlbasictutor is liked by somebodyhtmlbasictutor is liked by somebodyhtmlbasictutor is liked by somebody
Some suggestions (but I haven't checked them all out that they meet your criteria)

3-Column CSS Layouts: Search Engine Friendly Layouts

Three column CSS layout - left and right menu
__________________
HTML Basic Tutor
Basic Computer Informaton - Computer Basics for website owners
htmlbasictutor is offline  
Add Post to del.icio.us
Reply With Quote
Old 04-16-2008, 06:44 PM   #4 (permalink)
Contributing Member
 
Join Date: 06-11-07
Posts: 158
iTrader: 0 / 0%
Latest Blog:
None

Capo64 is on the right pathCapo64 is on the right pathCapo64 is on the right path
Hey, Thanks for the replies,

The first one requires JavaScript (shoulda said i didn't want that either).

I do like the second one (it links to a fluid example), but I'm still trying to figure out exactly how this works, might use that one though.

One of the coolest ones I found was from CSS Play:
http://www.cssplay.co.uk/layouts/3cols.htm

But I think I'd rather have separate div's for the left middle and right with their own backgrounds (writing in the borders just feels weird).

I know I'm being picky, but I want a really good layout that I know exactly what's going on before I get stuck with some mess that I don't want to work with.

I'm still open to suggestions. Anyone else? Thanks so far.

Also,

What exactly can you do with divs that you can't do with tables?
Capo64 is offline  
Add Post to del.icio.us
Reply With Quote
Old 04-22-2008, 04:38 PM   #5 (permalink)
Contributing Member
 
jump's Avatar
 
Join Date: 05-19-07
Location: Australia
Posts: 65
iTrader: 0 / 0%
Latest Blog:
None

jump is liked by many
Quote:
Originally Posted by Capo64 View Post
I'm still open to suggestions. Anyone else? Thanks so far.
There is several Free fluid full height CSS layouts here:
http://maxdesign.com.au/presentation/page_layouts/
jump is offline  
Add Post to del.icio.us
Reply With Quote
Old 04-23-2008, 07:50 AM   #6 (permalink)
Contributing Member
 
Join Date: 06-11-07
Posts: 158
iTrader: 0 / 0%
Latest Blog:
None

Capo64 is on the right pathCapo64 is on the right pathCapo64 is on the right path
Thanks for the link. After all my searching I still don't see how CSS layouts are so much better, and I think I'm just gonna use a table layout.

So much less complicated and does everything CSS does (I think).
Capo64 is offline  
Add Post to del.icio.us
Reply With Quote
Old 04-23-2008, 05:59 PM   #7 (permalink)
Contributing Member
 
jump's Avatar
 
Join Date: 05-19-07
Location: Australia
Posts: 65
iTrader: 0 / 0%
Latest Blog:
None

jump is liked by many
Quote:
Originally Posted by Capo64 View Post
Thanks for the link. After all my searching I still don't see how CSS layouts are so much better, and I think I'm just gonna use a table layout.

So much less complicated and does everything CSS does (I think).
I also only used only tables in the beginning. I sometimes still do, but I always use CSS to style the tables instead of just HTML.

For example, you can create a 3 col table layout with a header/footer and set all the sizes, colors etc with an external stylesheet.

Example:

HTML Code:
<html> <head> <title>3 Col CSS Table Layout with Header and Footer</title> <!-- Path To Your External Stylesheet --> <LINK REL="stylesheet" HREF="style.css" TYPE="text/css"> <!-- / Path To Your External Stylesheet --> </head> <body> <!-- Table --> <table id="main-table" align="center" cellspacing="0" cellpadding="0"> <tr> <td id="header" colspan="3"> Header </td> </tr> <tr> <td id="left-nav" vAlign="top"> Left Nav Links </td> <td id="main-content-area" vAlign="top"> <h1> Main Content Area </h1> <p> Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. </p> </td> <td id="right-nav" vAlign="top"> Right Nav Links </td> </tr> <tr> <td id="footer" colspan="3"> Footer </td> </tr> </table> <!-- / Table --> </body> </html>

1. Use PHP or SSI includes for:
- Header
- Left Nav
- Right Nav
- Footer

2. Add style rules to each id attribute into the external stylesheet (style.css).

Example:

Code:
body { margin: 1em } td { font-family: verdana, tahoma, sans-serif; font-size: 80%; } table#main-table { width: 750px; } td#header { height: 120px; background-color: #35005A; padding: 10px; color: #AC7CCF; } td#left-nav { width: 130px; background-color: #35005A; padding: 10px; color: #AC7CCF; } td#main-content-area { padding: 10px; line-height: 160%; } td#right-nav { width: 130px; background-color: #AC7CCF; padding: 10px; } td#footer { background-color: #AC7CCF; padding: 10px; text-align: center; font-size: 11px; color: #35005A; }
This provides much more flexibility because you can change the appearance of hundreds of web pages by changing just one file (the stylesheet). More info here: http://www.htmlhelp.com/reference/css/

When combined with PHP or SSI includes, CSS is the way to fly.

Even though it's bit slow when started out with this, it *is* worth it because of all the time saved later. It gets easier the more you do it.

jump is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-26-2008, 11:13 PM   #8 (permalink)
Contributing Member
 
barsa's Avatar
 
Join Date: 04-20-08
Location: India
Posts: 36
iTrader: 0 / 0%
Latest Blog:
None

barsa is liked by many
here is a tutorial, about how to create 3 column layout.
http://www.webdesign.org/web/html-an...yout.9088.html
__________________
web design service | reseller hosting
barsa is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-10-2008, 10:15 AM   #9 (permalink)
Contributing Member
 
Join Date: 06-04-08
Location: Greenwich, CT
Posts: 102
iTrader: 0 / 0%
Latest Blog:
None

jtaporco is liked by somebodyjtaporco is liked by somebodyjtaporco is liked by somebodyjtaporco is liked by somebody
what's the difference between fixed & liquid layouts?
jtaporco is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-10-2008, 10:30 AM   #10 (permalink)
Contributing Member
 
htmlbasictutor's Avatar
 
Join Date: 10-29-07
Location: British Columbia, Canada
Posts: 96
iTrader: 0 / 0%
htmlbasictutor is liked by somebodyhtmlbasictutor is liked by somebodyhtmlbasictutor is liked by somebody
Quote:
Originally Posted by jtaporco View Post
what's the difference between fixed & liquid layouts?
A fixed layout you set the width to a fixed width. e.g. 800 px. This will not adjust to the visitor's screen resolution therefore, if you chose to use say, 1000px, then a visitor with their screen resolution set smaller than 1024 x 768 or with their browser window not maximized will see a horizontal scroll bar at the bottom of the window.

With a liquid (or fluid) design the width of your design adjusts to the screen resolution of the user and/or the width of their browser window. As long as a single image or images forced to be side by side add up to less than the available viewable area available in the browser window, there will be no scroll bar.
__________________
HTML Basic Tutor
Basic Computer Informaton - Computer Basics for website owners
htmlbasictutor is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-10-2008, 10:35 AM   #11 (permalink)
Contributing Member
 
Join Date: 06-04-08
Location: Greenwich, CT
Posts: 102
iTrader: 0 / 0%
Latest Blog:
None

jtaporco is liked by somebodyjtaporco is liked by somebodyjtaporco is liked by somebodyjtaporco is liked by somebody
nice! thanks htmlbasictutor!
jtaporco is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding a column in .css idahoscuba Coding Forum 2 01-21-2008 02:48 AM
Three column CSS layout right sidebar problems kerflop Coding Forum 1 10-13-2006 11:46 AM
display column sum waffles Coding Forum 3 07-04-2006 01:09 PM
How would I add a header to this 3 column CSS page? allreal Coding Forum 17 06-04-2006 07:51 PM
CSS problem - 3 column layout al2six Coding Forum 12 05-22-2004 07:33 PM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 12:47 PM.
© Copyright 2008 V7 Inc