Converting to CSS and xHTML - how to?
How much to make my site with this CSS? or XHTML, Leeves? Is it easy to do? I am using Front Page 2002. I read that site you sent me, and you were indeed correct, I didn't have a clue what I was looking at or even understood what it was saying.
Would you be able to set me up on the correct path to using CSS or XHTML? And remember, I am about 1 week into normal html, so I don't- know-jack.
Thanks a lot
Megan posted this at 15:43 — 18th March 2006.
She has: 11,421 posts
Joined: Jun 1999
Hi DSSR. I split this off from the other thread because I think it's an excellent question and could be a good resource for all members.
The way I see it, there are several steps in converting your site from old-school HTML to xHTML an CSS.
http://www.alistapart.com/articles/practicalcss/
http://www.alistapart.com/articles/negativemargins/
I hope that helps, and good luck! If you're having problems at any point just let us know. The results of the validator in step 3 can sometimes be confusing.
Megan
Connect with us on Facebook!
Busy posted this at 21:01 — 18th March 2006.
He has: 6,151 posts
Joined: May 2001
When learning HTML remember two things
all tags (things between these < >) should be in lowercase (some bad html tutorials and books still show uppercase) will make switch to XHTML a lot easier
all values must be quoted with double quotes: name="value" - again lots of bad tutorials and books out there
Nesting tags can be used but used properly (made up start tags) should always end the opposite way they started , this also will help the upgrade to XHTML.
If learning from books or websites, NEVER take one site as gosspel, always use minimum of two sources
Get rid of frontpage
Practice, practice and practice, make mistakes and learn from them, learn what how when and before long you'll be putting us out of work
JeevesBond posted this at 22:17 — 18th March 2006.
He has: 3,956 posts
Joined: Jun 2002
Agreed with the others here, particularly Megan, good mini-article!
As Busy pointed out, get rid of Frontpage. It doesn't let you edit html the way you need to, it just doesn't understand good coding!
And never worry about not knowing things, that's why this forum exists: We all have to learn sometime, somehow. The exciting thing about this is that you'll never be an expert at every aspect of web design/development. You'll always be learning!
When you've had a look at what Megan's mentioned, and are comfortable with it, check out the following sites for inspiration (and feel free to check the code to see how these were built):
Don't worry though, they won't sue you for having an inaccessible personal site. Just to let you know it's getting more important to get things right.
Even Microsoft are getting a bit better (not enough IMO) IE7 will have much better CSS support than 6. They're also getting advice from the guys at webstandards.org
Anyway, that's a lot to take in! Just follow Megan and Busy's advice and you'll be ok.
a Padded Cell our articles site!
Megan posted this at 14:09 — 21st March 2006.
She has: 11,421 posts
Joined: Jun 1999
This article has some starting points for doing CSS layouts. So you don't have to start from scratch every time. The best way to learn CSS layout is to copy code from other sites and try to figure out how it works.
http://24ways.org/advent/css-layout-starting-points
Megan
Connect with us on Facebook!
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.