Hi! I made a portfolio and I wnated to know is my CSS code is ok?? Adress: http://www.studija.moirass.com Thank you!
If you're looking for CSS validation, nothing beats http://jigsaw.w3.org/css-validator/ As for your particular stylesheet, aside from mixing font metrics (percentages, pixels and EM values), it doesn't look that bad. I'd ditch the margin: 0; and padding: 0; declarations from your various style rules and replace them with a universal selector, then declare them from there. It would go at the top of your stylesheet, before any other rules: * { margin: 0; padding: 0; } Code (markup): This will remove the margins and padding from virtually every element in your HTML document, so you will have to re-apply margins and padding where you want them (yes, it's that powerful). Also, Arial is a font with only one word, so you can safely ditch the quotation marks that are around it. Aside from using the background shorthand property to shorten up your background (whatever) styles, and using some formatting in your stylesheet, I'd say you're off to a pretty good start .