florynth Posted June 28, 2006 Share Posted June 28, 2006 I I've try to validate my page by CSS with the W3C but I get a problemit's not ok to put......padding: 10 10 10 10;......because there's no unit so I putpadding: 10px 10px 10px 10px;Now all my div and everything are disproportionnate (used for width and height also)What's wrong ? Link to comment Share on other sites More sharing options...
S@m Posted June 28, 2006 Share Posted June 28, 2006 .whatever {padding:10px;} wont work? Link to comment Share on other sites More sharing options...
florynth Posted June 28, 2006 Author Share Posted June 28, 2006 I solve the problem but I found something bizare...with no unit fix it't like the padding amount where not add to the width and height of the element so everything was right. When I did put the px everything when out of proportion so I did ajust all the width and height property... Fianaly all work... Link to comment Share on other sites More sharing options...
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