Css and Tables

Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
SpaceshipSpaceship
Watch

Albino

Munky DesignsEstablished Member
Impact
17
Hi,

I have seen some people say I should use Css instead of tables, but from the tutorials I have seen (mainly on www.echoecho.com), they seem to be integrated INTO tables.

I am going to fully redesign my website soon, and I want to do it properly, so can someone please explain if I should use Css or tables, or a mix of both?

Thanks

Todd
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
CSS only defines how the content should look. You are going to use tables in the site anyway, but you will define the position of that table in the css file for example in CSS file you will have:

table { align: center; }

Now in the html of php document whatever is between <table> tag will be centered.
 
0
Close
http://www.hotdesign.com/seybold/index.html
http://www.google.com.au/search?q=c...ient=firefox-a&rls=org.mozilla:en-US:official

abdulmueid said:
CSS only defines how the content should look. You are going to use tables in the site anyway, but you will define the position of that table in the css file for example in CSS file you will have:

table { align: center; }

Now in the html of php document whatever is between <table> tag will be centered.

Actually, there's no need for tables at all, however they may be easier for beginners.
 
0
Close
What they mean is don't use tables for layout. Use them only for tabular data display.
 
0
Close
Once you learn & understand CSS/HTML, a whole world opens up. Pay attention to Floats and Clears specifically ;)

I myself was in your shoes last year and I honestly feel learning & using the CSS non-table method was one of the best descisions I've ever made.

W3 schools:
http://www.w3schools.com/css/default.asp

CSS examples:
http://csszengarden.com
 
0
Close
Use CSS.

Go to www.alistapart.com - you will find some nice tips in there.

Best wishes,

- SW
 
0
Close
thanks for the replies, ive been looking into css a lot, and it is a great feature!

kbossons, that w3schools site is extra helpful, thanks!
 
0
Close
AIVikingsAIVikings

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Switch between accounts
You can now stay logged in to more than one NamePros account in the same browser. Click your avatar, then "Accounts in this browser", to...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back