28, May 2012

Getting rid of tables - webmaster forum

 
Webdigity webmaster forums
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Design and Layout  >  Web Page Design  >  CSS (Moderator: Meth0d)
Topic: Getting rid of tables
« previous next »
Pages: [1] Print
Instabuck - The easy way to sell digital products online

Author Topic: Getting rid of tables  (Read 1811 times)
OMG!I am geek
**
Posts: 53
406 credits
Members referred : 0


« on: Jan 04, 2009, 08:07:18 am »

Have some time so want to take it to convert some things from tables to CSS, but not really sure how to do it correctly.

haven't found a good tutorial for doing this, if you have one please point me to it. What i gathered from a few places was using the dl,dd,dt stuff, but that just seem off for this. i have done that way with doing margins and positioning and also played with doing it with divs playing with the same stuff, but just seemed like a lot more work then i needed to be doing.

this is a sample of my current table
Code:
<table border="0" cellspacing="0" bgcolor="#CCCCCC" cellpadding="0">
<tr>
  <td bgcolor="#FFCC00" WIDTH="100"><b>ColA</b></td>
  <td bgcolor="#FFCC00" WIDTH="200"><b>ColB</b></td>
  <td bgcolor="#FFCC00" WIDTH="50"><b>ColB</b></td>

</tr>
<tr style="background-color:#CCCCCC;"
  onMouseOver="this.className='highlight'" onMouseOut="this.className='normal'">
  <td>Row A</td>
  <td>XXX</td>
  <td>XXX</td>
</tr>



Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #1 on: Jan 04, 2009, 09:53:05 am »

if you have table data use tables and style them with CSS.

don't use table for design (positioning etc)

OMG!I am geek
**
Posts: 53
406 credits
Members referred : 0


« Reply #2 on: Jan 04, 2009, 09:57:15 am »

yeah, i have stayed very far from table for design. It was hard but starting from scratch and doing psd to css/html it really helped with that and it's a lot easier then tables.

I thought that even fro data tables were still a bad idea, i guess i stand corrected and i will leave it the way it is hehe
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #3 on: Jan 04, 2009, 10:16:40 am »

again table are not evil Wink

just try to use only the basic table elements,

table, tr, td (for the startt)

don't use

<tr style="background-color:#CCCCCC;"
  onMouseOver="this.className='highlight'" onMouseOut="this.className='normal'">

or other td attributes, to create a hover effect just change the background color inside the css

Community Supporter ?
Bill Gates is my home boy
*****
Gender: Male
Posts: 619
5660 credits
Members referred : 0


www.dg9.org


« Reply #4 on: Jan 04, 2009, 03:21:44 pm »

listen to Olaf... start practicing layout with css and tables, well for tabular data...

http://www.dg9.org , Just Visit...
Partners:
http://www.resume-fix.com , Free Resumes

Last blog : Archos: Where are you?
OMG!I am geek
**
Posts: 53
406 credits
Members referred : 0


« Reply #5 on: Jan 04, 2009, 08:11:47 pm »

oh yes, when Olaf speaks i very much listen hehe

and the td effects thing was a while back. Just updating the site and already planned on changing the way that is done if i even leave it in since it's really not needed
Spy Agent
***
Posts: 111
682 credits
Members referred : 0



« Reply #6 on: Jul 30, 2010, 04:08:58 am »

great, learning
Nikolas' Servant's Servant
*
Posts: 29
186 credits
Members referred : 0


« Reply #7 on: Jul 30, 2011, 01:54:15 pm »

You are right.I use CSS for design a web site then use table tag.So i check you Table codding then i say to you.
Where are my glasses?
*
Posts: 20
144 credits
Members referred : 0


« Reply #8 on: Aug 29, 2011, 04:00:14 am »

its good code nice to work
Atari ST fan
*
Posts: 7
76 credits
Members referred : 0


« Reply #9 on: Nov 28, 2011, 11:12:08 am »

hello
Thanks for provide me information about this topic because this will help me.
Regards
standadrs
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=8338
Tags : css tableless Bookmark this thread : Digg Del.icio.us Dzone more....

Pages: [1] Print 
Webdigity Webmaster Forums  >  Design and Layout  >  Web Page Design  >  CSS (Moderator: Meth0d)
Topic: Getting rid of tables
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 28, 2012, 08:04:37 pm





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!






Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2012 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.