Jump to content

Nested Tables... Html Or Css?


bigsilk

Recommended Posts

What's the consensus?I've made table properties in an external CSS but with nested tables in HTML on the page. IE and Opera don't do the things I want (centers text in table cells where I want them left-justified) and FF and Chrome show them the way I want. Do I need to {text-align: left} in the cells in CSS? (see practice directory.)Maybe I'm asking how to accommodate different browsers, but also wanting to know which is more effective, HTML or CSS.Oh, and to the benefit of 'code typers...' I'm starting to feel the gratification of either typing code from scratch, or at least hacking with more knowledge. I just d/l notepad++. Good app.

Link to comment
Share on other sites

Umm, well, you shouldn't really be using tables to layout your page in the first place. Tables are meant to be used for tabular data, and it is semantically incorrect to use them in any other context.Try using divisions and CSS properties such as float: and width: to layout your page instead.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...