Reply
On the fly TABLES reformmating using CSS
Old 06-02-2008, 09:26 AM On the fly TABLES reformmating using CSS
Junior Talker

Posts: 3
Hi u ALL!
How can I change the look & feel of an html table using Css?
Ops! I'm not talkin' about font face, background color or border tweaks... What I need is to get a
static precoded html table and give a different structural look with Css and things like display
cells like pharagraphs, show 3 columns like 1 column, etc.
Can this be done with Css?
or just HTML recoding is needed?
Txs in adv
Ariel
arielferro is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
     
Old 06-02-2008, 09:51 AM Re: On the fly TABLES reformmating using CSS
LadynRed's Avatar
Super Moderator

Posts: 6,396
Location: Tennessee
Forget the tables for layout and just use CSS. While it's possible to style tables with CSS, they should be used for tabular data only.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club
LadynRed is offline
Reply With Quote
View Public Profile
 
Old 06-02-2008, 10:12 AM Re: On the fly TABLES reformmating using CSS
Junior Talker

Posts: 3
hi LadynRed,
Txs for your quick reply!
Everything I code is formatted with CSS, but in this case If I do that, I'd recode houndreds of old html pages.
Ariel
arielferro is offline
Reply With Quote
View Public Profile
 
Old 06-02-2008, 10:24 AM Re: On the fly TABLES reformmating using CSS
LadynRed's Avatar
Super Moderator

Posts: 6,396
Location: Tennessee
Well, that's unfortunate, and I feel your pain - been there, done that. However, the type of formatting you would attempt to do just isn't going to be possible with just CSS.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club
LadynRed is offline
Reply With Quote
View Public Profile
 
Old 06-02-2008, 10:37 AM Re: On the fly TABLES reformmating using CSS
Junior Talker

Posts: 3
ups! ok, txs
through work days are comin snif
Ariel
arielferro is offline
Reply With Quote
View Public Profile
 
Old 06-02-2008, 10:19 PM Re: On the fly TABLES reformmating using CSS
Arenlor's Avatar
Ultra Talker

Posts: 463
Name: Jerod Lycett
Location: /home/arenlor
You know, I think you should just remove the tables and recode it, trust me, going through that for a client right now myself, it's a pain, but in the end it'll be worth it if you ever want to change them again.
__________________
PHP Code:
<?php echo "Hello World"?>
HTML Code:
<html><head><title>Hello World</title></head><body><p>Hello World</p></body></html>
Arenlor is offline
Reply With Quote
View Public Profile Visit Arenlor's homepage!
 
Old 06-03-2008, 10:01 AM Re: On the fly TABLES reformmating using CSS
LadynRed's Avatar
Super Moderator

Posts: 6,396
Location: Tennessee
Having been thru the process more than once, one with a site containing over 1,000 pages, the easiest thing to do is re-code the layout completely as a new file. Then just copy your old content into the new layout. You'll have fewer headaches in the end.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club
LadynRed is offline
Reply With Quote
View Public Profile
 
Old 06-03-2008, 10:41 AM Re: On the fly TABLES reformmating using CSS
pjaj's Avatar
Average Talker

Posts: 17
Name: Peter Jennings
Location: Oxfordshire UK
Yup, we've all been there. If you can, use Dreamweaver, you can then make a template which you may be able to apply to the old pages and save yourself some of the work. It also has a scary find-and-replace-in-the-whole-site feature, but don't forget to have a good backup before you use this!!
__________________
Old programmers never die, they just disassemble.
pjaj is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to On the fly TABLES reformmating using CSS
 

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.15066 seconds with 13 queries