i have just built my first site using HTML and CSS and its been quite fun to be honest, but i can do alot better work graphically but im still not the best with css. my site is www.mytvtalk.com if anyones interested. i have a better design but like i said im not sure how to use the css, so i was wondering is there any really good css books out there that would help me. thanks in advance
not bad for your first site. A few comments: make your content come first, and then the sidebars don't use more than 2 of these things (   avoid using <div class="clear"> or anything of the like i don't think i saw any, but also avoid using <br> or <br /> As for a good book, just go to your local library and look at some. Any "for dummies" book will probably do you some good, but I found that it's best to look for help online. http://www.w3schools.com/css is a good site that is worth checking out. It goes pretty much through the basics. Regards, Nick
thanks for the quick reply, can you explain if you dont mind why not to use the div class="clear" this was the only way how i knew how to get the footer under the content. thanks for the adive il have a good look now.
Well, the thing with css and xhtml is that you want to keep them seperate. CSS is your styling. HTML is only your html. When you add a <div class="clear"></div> in there, it's an extra box that styles inside of the html. It's like using inline styles. You don't want to do that. The way to clear it would be: #footer { clear:both; } Since you already have a footer id, you can just add the clear inside of it. Regards, Nick
I read the book 'Beginning CSS Web Development From Novice to Professional' published by Apress not too long ago. I would definitely recommend it.