dazzjazz Posted September 17, 2009 Report Share Posted September 17, 2009 HI everyone, I'm not so much of a beginner as being rusty as hell! In this situation my knowledge is probably wrong and getting in the way! Anyway, I'm building myself a new site. Basic specs are that the content is 800px by 600px and needs to be centred (horizontal and vertical) in the browser window. Window is divided into 3 rows: Header Content (with Navigation right aligned) Footer Should I be doing this as XHTML with tables or just bite the bullet and go with CSS positioning of all elements? IF you answer I'd like to know why... What I've done already is at: http://www.dazzjazz.com/new/index.htm Thanks Darren Quote Link to comment Share on other sites More sharing options...
Andrea Posted September 17, 2009 Report Share Posted September 17, 2009 You should be doing it as HTML strict, not XHTML. Tables are meant for tabular data, CSS is there for formatting and layout. CSS is best used in an external stylesheet - helps you format your entire site from one central point. Creates cleaner, more semantic code, and makes later updates a snap. HTML or XHTML Quote Link to comment Share on other sites More sharing options...
dazzjazz Posted September 17, 2009 Author Report Share Posted September 17, 2009 Ok thank you. So looking at my example page, I should be positioning all that stuff with CSS right? Quote Link to comment Share on other sites More sharing options...
Andrea Posted September 17, 2009 Report Share Posted September 17, 2009 Ok thank you. So looking at my example page, I should be positioning all that stuff with CSS right? Yes - use divisions and put all your styling (formatting and positioning) into an external stylesheet. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.