No more tables?

This is a discussion on "No more tables?" within the Web Page Design section. This forum, and the thread "No more tables? are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Sep 27th, 2006, 11:26
Reputable Member
Join Date: Sep 2006
Location: England
Age: 20
Posts: 144
Thanks: 0
Thanked 0 Times in 0 Posts
No more tables?

Most of my layout is CSS now, apart from the content pages and the tables holding the navigations together, I'm now wondering how i create some CSS to replace the tables? Does anyone know a persific tutorial to teach me this?

Thanks.
Reply With Quote

  #2 (permalink)  
Old Sep 27th, 2006, 12:04
Junior Member
Join Date: Jul 2006
Location: Maine
Posts: 49
Thanks: 0
Thanked 0 Times in 0 Posts
Re: No more tables?

Easy, you use a div tag where you would normally put a table.

http://www.alistapart.com/articles/practicalcss/
Reply With Quote
  #3 (permalink)  
Old Sep 27th, 2006, 12:07
masonbarge's Avatar
Highly Reputable Member
Join Date: Jan 2006
Location: Atlanta GA
Posts: 631
Thanks: 0
Thanked 0 Times in 0 Posts
Re: No more tables?

I think you just have to jump right in. The two most common methods for structuring navigation. afaik, are to use <ul> for navigation (which works horizontally as well as vertically), or a containing div with floating div's inside. Or simply <p> or <span> or even lines with breaks in a div, if all you want is your basic blue text link.

Tables are so darned useful for -- well, tabular data. I don't know what's so special about using <li> for navigation instead of a table, but I only get one vote.
Reply With Quote
  #4 (permalink)  
Old Sep 27th, 2006, 13:12
moojoo's Avatar
Moderator
Join Date: Aug 2005
Location: Texas
Age: 31
Posts: 1,763
Blog Entries: 1
Thanks: 0
Thanked 18 Times in 18 Posts
Send a message via AIM to moojoo Send a message via MSN to moojoo Send a message via Yahoo to moojoo
Re: No more tables?

using UL's for navigation is the logical choice simply because the navigation itself is simply a heiarchy of sorts. That and when style is disabled etc the links are displayed in a nice neat unordered list.
__________________
The internet is just a fad.
http://www.mevans76.com
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
Reply With Quote
  #5 (permalink)  
Old Sep 27th, 2006, 18:07
Reputable Member
Join Date: Sep 2006
Location: England
Age: 20
Posts: 144
Thanks: 0
Thanked 0 Times in 0 Posts
Re: No more tables?

I don't really understand from that link posted, doesn't seem to show me how, all i want is a 3 column css example or somthing...

www.gtainformer.com, everything except left, middle and right is css.
Reply With Quote
  #6 (permalink)  
Old Sep 27th, 2006, 21:39
Most Reputable Member
Join Date: Apr 2006
Location: Cornwall, UK
Posts: 1,310
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Skype™ to ukgeoff
Re: No more tables?

There is a link in the sticky at the top of this forum that might be what you are looking for.

Its a template system with full expanation of what goes where and why.

Download the .zip fiile, unpack and play.

Ask if you need further help or explanation.
Reply With Quote
  #7 (permalink)  
Old Sep 27th, 2006, 21:44
Reputable Member
Join Date: Sep 2006
Location: England
Age: 20
Posts: 144
Thanks: 0
Thanked 0 Times in 0 Posts
Re: No more tables?

Ah, okay thanks.
Reply With Quote
  #8 (permalink)  
Old Sep 27th, 2006, 23:24
Reputable Member
Join Date: Sep 2006
Location: England
Age: 20
Posts: 144
Thanks: 0
Thanked 0 Times in 0 Posts
Re: No more tables?

Okay, I can't see to do it, i've been playing around because that's all i can seem to do.

http://www.gtainformer.com/fullcss.php
http://www.gtainformer.com/ffstyle.css

What am i doing wrong and how do i correct it? This would be an amazing help.
Reply With Quote
  #9 (permalink)  
Old Sep 28th, 2006, 17:10
Most Reputable Member
Join Date: Apr 2006
Location: Cornwall, UK
Posts: 1,310
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Skype™ to ukgeoff
Re: No more tables?

I think you need to site down with a clean sheet of paper and plan out your page.

At the moment your page can't be validated. That may be because you don't have a DOCTYPE at the top of the page and the error effect may be cascading.

Put ALL css into a seperate file and also use a seperate file for any JavaScript.

DO NOT use propriatory tags, style values, etc.

Use <div> tags to layout your page. Not loads of tables.

Use css styling to give you the position you need for an element, not by filling it with loads of &nbsp;.

See how you could use the templates I pointed you to as a basis for your page.
Reply With Quote
  #10 (permalink)  
Old Sep 28th, 2006, 18:03
Reputable Member
Join Date: Sep 2006
Location: England
Age: 20
Posts: 144
Thanks: 0
Thanked 0 Times in 0 Posts
Re: No more tables?

Quote:
propriatory tags, style values
Erm? could you explain, I'm not sure what you mean, I've only got a few tables which i'm trying to covert to CSS, so i'm not planning on having a tabled layout.

One last thing, that file i downloaded doesn't seem to work 100% in firefox, I see a few coloured area and one peice of text.

Edit - Removed <b></b>'s & &nbsp;, also took out ad and put it into a another file.

Added - DOCTYPE

Last edited by PicoDeath; Sep 28th, 2006 at 18:25.
Reply With Quote
Reply

Tags
tables

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

BB 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
omg keep me away from tables !!! HELP!!! bruno89 Web Page Design 5 Jul 1st, 2007 18:33
Use CSS to do what tables do????? WebNinja Web Page Design 17 Feb 18th, 2007 01:07
Why are tables bad? WebNinja Web Page Design 17 Jan 31st, 2007 21:31
Tables or CSS? bee_bo Web Page Design 15 Jul 6th, 2006 08:32
Tables... dhagsjash Web Page Design 2 Sep 16th, 2003 09:05


All times are GMT. The time now is 16:38.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43