Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Css Table Layouts, How do you create these
fffanatics
post Jan 31 2008, 04:02 AM
Post #1


Privileged Member
*********

Group: [HOSTED]
Posts: 937
Joined: 14-April 05
From: West Chester, PA
Member No.: 5,636



Hey everyone, the previous topic has inspired me to ask how do you create a good css table layout. I have tried over the years but tend to run into lots of issues since as soon as you start floating divs, things get complex and really hard to give good positioning. Plus, they tend to look different in firefox and IE. Does anyone know of any good tutorials or could write a simple one here to go over how to make a css table layout. Thanks so much in advance.
Go to the top of the page
 
+Quote Post
jlhaslip
post Jan 31 2008, 05:00 AM
Post #2


A computer once beat me at chess, but it was no match for me at kick boxing.
Group Icon

Group: [MODERATOR]
Posts: 3,882
Joined: 24-July 05
From: In Trouble Again... still?
Member No.: 9,787
Spam Patrol



I can write a Table-based layout, but why would I do that when CSS is much cleaner, faster, more Standards Compliant and Tables are out-dated?

If you need assistance overcoming IE's crappy rendering of your page, post another Topic and someone will assist in its 'fixing' for IE.
Go to the top of the page
 
+Quote Post
sonesay
post Jan 31 2008, 05:35 AM
Post #3


|||[ n00b King ]|||
*********

Group: [HOSTED]
Posts: 642
Joined: 20-June 07
From: Auckland
Member No.: 45,102



Yeah complex layouts can get abit hard to achieve in CSS where as in tables you seem to have somewhat more control. But the one thing I have learned about tables is once stacked I beleive there is a off set unlike divs. I've seen very nice CSS layouts over time and wondered how they did it. Looking at their code it soon went over my head so I'm sure if you stick to buliding with CSS over time you will learn how to build sites around bugs in different broswers.

Theres sites out there that at are professional sites but they still break at certain conditions. for example when window is resized small things get crazy and out of order.

If your site contains alot of different elements and your planning to make it look the same across all broswers it will take alot of time to identify how to display each element correctly in all brosewrs. This is unpractical as it will take so long to get a website out. It is easier to make your site look consistent over different broswers if it contains few elements. But this is never the case we all know how boring it can be if you dont add more in.

Go to the top of the page
 
+Quote Post
jlhaslip
post Jan 31 2008, 05:44 AM
Post #4


A computer once beat me at chess, but it was no match for me at kick boxing.
Group Icon

Group: [MODERATOR]
Posts: 3,882
Joined: 24-July 05
From: In Trouble Again... still?
Member No.: 9,787
Spam Patrol



Here is a site which offers 40 different CSS based Layouts.

http://blog.html.it/layoutgala/

Pick one which most closely resembles the basic page and start with that. Add the finishing touches and you are done.

Go to the top of the page
 
+Quote Post
ironchicken
post Jan 31 2008, 09:59 AM
Post #5


Member [Level 1]
****

Group: Members
Posts: 52
Joined: 26-August 07
Member No.: 48,866



Or try this site.

http://www.maxdesign.com.au/presentation/page_layouts/
Go to the top of the page
 
+Quote Post
karlosantana
post Jan 31 2008, 04:56 PM
Post #6


Advanced Member
*******

Group: [HOSTED]
Posts: 128
Joined: 24-November 07
From: Wales(But I'm not a welsh farmer!)
Member No.: 53,645



jlhaslip:- i always wonder HOW do you find these things? is it just google all the time?
Go to the top of the page
 
+Quote Post
KansukeKojima
post Jan 31 2008, 07:35 PM
Post #7


Privileged Member
*********

Group: [HOSTED]
Posts: 525
Joined: 13-October 06
From: Alberta, Canada
Member No.: 31,584



Well, whenever I set out to learn something new: I look for an example of it on the internet. Once I find what I like I will read the source code, find out the location of their css docs, and figure out how in the world they pull it off...

From there I try to do it my self, twisting it to suit my own needs.
Go to the top of the page
 
+Quote Post
jlhaslip
post Jan 31 2008, 08:45 PM
Post #8


A computer once beat me at chess, but it was no match for me at kick boxing.
Group Icon

Group: [MODERATOR]
Posts: 3,882
Joined: 24-July 05
From: In Trouble Again... still?
Member No.: 9,787
Spam Patrol



QUOTE(karlosantana @ Jan 31 2008, 09:56 AM) *
jlhaslip:- i always wonder HOW do you find these things? is it just google all the time?
karlos

I hang out on other Forums, most of them have to do with html/css/php.
And I am nosey... laugh.gif ... with a full set of Bookmarked pages in my Browser.
Go to the top of the page
 
+Quote Post
karlosantana
post Feb 6 2008, 05:34 PM
Post #9


Advanced Member
*******

Group: [HOSTED]
Posts: 128
Joined: 24-November 07
From: Wales(But I'm not a welsh farmer!)
Member No.: 53,645



HAHA! well there we go you need lots of accounts a HUGE database of bookmarks
(yoda voice)only then will you be ready for jlhaslip's knowledge
Anyway back to the topic. I've started using css in my designs mainly div layers cause they are Brilliant you can meddle about with EVERYTHING using css love it! you can even use them in javascripts which i didnt know! like this one that one's really cool might even use it in the near future, who know?
Anyways im gonna stop yacking and do some work now so bye bye!
Go to the top of the page
 
+