|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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.
|
|
#2
|
||||
|
||||
|
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 |
|
#3
|
|||
|
|||
|
Quote:
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 |
|
#4
|
||||
|
||||
|
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 |
![]() |
| Viewing: ASP Free Forums > Programming > HTML, JavaScript And CSS Help > reducing table - CSS? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|