Jump to content



Welcome to KnowledgeSutra - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!
- - - - -

Css Table Layouts


10 replies to this topic

#1 fffanatics

    Privileged Member

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 936 posts
  • Location:West Chester, PA

Posted 31 January 2008 - 04:02 AM

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.

#2 jlhaslip

    Insert Custom Title Here

  • [MODERATOR]
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 5,040 posts
  • Gender:Not Telling
  • Location:Linux, DOS and Windows…the good, the bad and the ugly
  • myCENT:81.07
  • Spam Patrol

Posted 31 January 2008 - 05:00 AM

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.

#3 sonesay

    |||[ n00b King ]|||

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 958 posts
  • Gender:Male
  • Location:Auckland
  • myCENT:68.27

Posted 31 January 2008 - 05:35 AM

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.

#4 jlhaslip

    Insert Custom Title Here

  • [MODERATOR]
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 5,040 posts
  • Gender:Not Telling
  • Location:Linux, DOS and Windows…the good, the bad and the ugly
  • myCENT:81.07
  • Spam Patrol

Posted 31 January 2008 - 05:44 AM

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.

#5 ironchicken

    Member [Level 1]

  • Kontributors
  • PipPipPipPip
  • 52 posts

Posted 31 January 2008 - 09:59 AM

Or try this site.

http://www.maxdesign...n/page_layouts/

#6 karlosantana

    Advanced Member

  • Kontributors
  • PipPipPipPipPipPipPip
  • 145 posts
  • Gender:Male
  • Location:Wales(But I'm not a welsh farmer!)

Posted 31 January 2008 - 04:56 PM

jlhaslip:- i always wonder HOW do you find these things? is it just google all the time?

#7 KansukeKojima

    Your local Christian Metalhead

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 567 posts
  • Gender:Male
  • Location:Alberta, Canada
  • Interests:Theology, Christianity, Metal (Black Metal, Death Metal, Folk Metal, etc.), art, other stuff...
  • myCENT:29.32

Posted 31 January 2008 - 07:35 PM

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.

#8 jlhaslip

    Insert Custom Title Here

  • [MODERATOR]
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 5,040 posts
  • Gender:Not Telling
  • Location:Linux, DOS and Windows…the good, the bad and the ugly
  • myCENT:81.07
  • Spam Patrol

Posted 31 January 2008 - 08:45 PM

View Postkarlosantana, on Jan 31 2008, 09:56 AM, said:

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... :o ... with a full set of Bookmarked pages in my Browser.

#9 karlosantana

    Advanced Member

  • Kontributors
  • PipPipPipPipPipPipPip
  • 145 posts
  • Gender:Male
  • Location:Wales(But I'm not a welsh farmer!)

Posted 06 February 2008 - 05:34 PM

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!

#10 Echo_of_thunder

    Trap Grand Marshal Member

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPip
  • 1,239 posts
  • Gender:Male
  • Location:New Jersey USA
  • Interests:Weather of all kinds, be it a tornado, thunderstorm, hurricane, snowstorm. Give it all to me!
  • myCENT:50.97
  • Spam Patrol

Posted 01 February 2009 - 07:54 PM

View Postjlhaslip, on Jan 31 2008, 01:44 AM, said:

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.


View Postkarlosantana, on Jan 31 2008, 12:56 PM, said:

jlhaslip:- i always wonder HOW do you find these things? is it just google all the time?

Yea JL is the man when it comes to finding this stuff. and I feel sure he has a lot more and better ones since the start of this post. I have used the
http://blog.html.it/layoutgala/ myself. only thing is they all seem the same.




Reply to this topic


This post will need approval from a moderator before this post is shown.

  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users