HTML, JavaScript And CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingHTML, JavaScript And CSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old September 24th, 2004, 11:21 AM
vbmntv vbmntv is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 311 vbmntv User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 Days 10 h 9 m 49 sec
Reputation Power: 5
reducing table - CSS?

I have many tables in the webpage. i want to reduce it as many as I can. Thought, CSS would do the job for me. How do we do that in CSS? Thanks for your information.

Reply With Quote
  #2  
Old October 1st, 2004, 05:32 PM
Phoenix's Avatar
Phoenix Phoenix is offline
Web-Standards Evangelist
ASP Free Intermediate (1500 - 1999 posts)
 
Join Date: Nov 2003
Posts: 1,522 Phoenix User rank is Corporal (100 - 500 Reputation Level)Phoenix User rank is Corporal (100 - 500 Reputation Level)Phoenix User rank is Corporal (100 - 500 Reputation Level)Phoenix User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 Days 23 h 48 m 4 sec
Reputation Power: 8
Its more complicated than you think

For one... when you use CSS for layout, you don't need a single <table>, just re-structure your websites content using <Divs> and semantic markup, then define CSS properties, such as width, height, float, clear, etc... to define a table-like fluid layout

HTH
-1337_d00d

Reply With Quote
  #3  
Old October 2nd, 2004, 03:58 PM
roughneck82 roughneck82 is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Location: Tejas
Posts: 63 roughneck82 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 h 32 m 5 sec
Reputation Power: 5
Quote:
Originally Posted by vbmntv
I have many tables in the webpage. i want to reduce it as many as I can. Thought, CSS would do the job for me. How do we do that in CSS? Thanks for your information.

Or you can always just define your classes in CSS and then in the TD put class=nameofclass

You can still put in widths in the Class in CSS

Reply With Quote
  #4  
Old October 2nd, 2004, 04:46 PM
Phoenix's Avatar
Phoenix Phoenix is offline
Web-Standards Evangelist
ASP Free Intermediate (1500 - 1999 posts)
 
Join Date: Nov 2003
Posts: 1,522 Phoenix User rank is Corporal (100 - 500 Reputation Level)Phoenix User rank is Corporal (100 - 500 Reputation Level)Phoenix User rank is Corporal (100 - 500 Reputation Level)Phoenix User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 Days 23 h 48 m 4 sec
Reputation Power: 8
thats not true "seperation of layout from content"

Merely moving the depreciated <td> style attributes over to CSS

There is no real reason to do this... older browers can't interpret CSS
...you're making your site *rely* on CSS for visibility
Just follow the tutorials and articles on www.alistapart.com and you'll see what I mean

-1337_d00d

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingHTML, JavaScript And CSS Help > reducing table - CSS?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT