Call SEO0845 838 7448 SEO RSS Feed

CSS Best Practices: Table Tags

Mar 262008

published by Dan in CSS with No Comments

  • Use table tags for tabular data and not layout - Tables do not mix well with CSS and do not always render correctly in some browsers. The problem with this is that it is harder to implement advanced CSS layouts. Because of this even though it is the best practice to stick to CSS and avoid table tags you can still opt to use table tags if the project is on a tight schedule.
  • Group selectors that have the same CSS declarations - Instead of declaring each selector one at a time group them together. This will result in a cleaner code.
  • Use EM for font sizes - This should be done only if you won’t be using relative font sizes. If you are wondering why you shouldn’t use pixels instead especially since it is the more common choice of web designers the reason is that it is less accessible that EM due to that fact that IE does not resize pixels.
  • Avoid using Inline styles - I will discuss this in further depth on my next post. For now let’s just say that external style heets are better and also easier to use.
AddThis Social Bookmark ButtonAddThis Feed Button

RSS feed | Trackback URI

No responses to CSS Best Practices: Table Tags

No comments yet.

Leave a reply


You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.

Web Design | Graphic Design | SEO | SME Website Design | E-commerce Systems | Website Applications | Website maintenance Website Copywriting
Graphic Design | Corporate Identity and Branding | Logo Design | Search Engine Optimisation | Free SEO assessment | Website Design Peterborough | Graphic Design Peterborough Web Design Bolg

© 2007 Doublespark Limited - All rights reserved.

This site is protected by Copyscape