Jump to content

Nested Tables... Html Or Css?


bigsilk
 Share

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...