dazzjazz Posted September 17, 2009 Report 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
Andrea Posted September 17, 2009 Report 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
dazzjazz Posted September 17, 2009 Author Report Posted September 17, 2009 Ok thank you. So looking at my example page, I should be positioning all that stuff with CSS right?
Andrea Posted September 17, 2009 Report 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now