|
| |
|
|
Brandon
Posts: 431 Joined: 7/13/2004 From: Indiana, US Status: offline
|
Tables - 4/5/2007 10:41:28
OK, I just took over the site and the whole thing is done with tables. Since I haven't really work with tables in a long time, I forget how to do some stuff. Lets say I want this style below for the following. TABLE, TR, TD, TH
font-size: 12px;
font-family: Verdana;
color: #000000;
Instead of writing that for ever single one, is there a way to group them together instead of one by one. The site also didn't have a DOCTYPE so I added the following. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> Can I even use tables with that DOCTYPE, or I'm I going to have to go in and change them all over to DIV?
_____________________________
~ Brandon
|
|
|
|
coreybryant
Posts: 2479 Joined: 3/17/2002 From: Castle Rock CO USA Status: offline
|
RE: Tables - 4/5/2007 11:35:00
You could just apply that to everything table, td, th, tr
{font-size: 12px;
font-family: Verdana;
color: #000000;}That is what I have done. Tables will validate in the code as well. Tables will at least show you what is deprecated - but chances are you already know all of that. It's just that most people think that tables are meant for eating dinner on, not laying out a site
_____________________________
Corey R. Bryant Merchant Accounts | Toll Free Numbers | Expression Web Blog
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|