AJAX Forums

xhtml strict with css?

This is a discussion on xhtml strict with css? within the XHTML and CSS forums, part of the Beginners AJAX category; If i do a website in xhtml strict with css, does that mean I have to use css for all the layout and not use any tables? Does anyone have ...


Go Back   AJAX Forums > Beginners AJAX > XHTML and CSS

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
Old 06-16-2007, 01:52 AM   #1 (permalink)
Junior Member
 
Join Date: Jun 2007
Posts: 1
Rep Power: 0 daniel s is on a distinguished road
xhtml strict with css?

If i do a website in xhtml strict with css, does that mean I have to use css for all the layout and not use any tables? Does anyone have a proper definition of xhtml strict with css?
__________________
daniel s is offline   Reply With Quote
Old 06-17-2007, 03:34 AM   #2 (permalink)
Junior Member
 
Join Date: Jun 2007
Posts: 1
Rep Power: 0 chris22smith is on a distinguished road
This site explains the XHTML syntax very well. http://www.w3schools.com/xhtml/xhtml_syntax.asp(The official W3C info is quite hard going.)One of the key things that catches people out with XHTML is that it is case sensitive so you can't use things like OnMouseOver, it has to be onmouseover. Both will work in the browser but the first would not be W3C standards compliant.You can use tables all you like but the recommendation is to only use tables for tabular data and CSS for any layout.It's quite hard at first to move from tables to CSS if you're used to using tables for layout but it's well worth learning. If you search for "tables to CSS" you should find plenty of tutorials. You basically replace each cell with a and then choose exactly where you want it and how you want it to behave.
__________________
chris22smith is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
AJAX Jobs : PSD to Strict 1.0 XHTML/CSS by webphonicmedia admin AJAX Freelance Jobs 0 07-24-2008 05:44 PM
AJAX Jobs : PSD to Tabless Strict XHTML/CSS by MAJ3STIC admin AJAX Freelance Jobs 0 07-21-2008 03:06 AM
quetion about xhtml? dqq z XHTML and CSS 0 11-01-2007 09:31 AM
What is XHTML bicu Introductions 17 05-17-2007 09:06 AM
symbols in XHTML? Mnementh XHTML and CSS 1 05-08-2007 02:12 PM


All times are GMT -4. The time now is 05:41 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5
Copyright ©2006 - 2008, AJAXwith.com