html - Set padding to element(div) -


i'm trying set padding element like:

padding: 12 6 6 0px; 

but google chrome labels invalid property value.

setting padding works this:

padding: 0 0 0 6px; 

where mistake or ignorance?

you should use measurement unit (in case px) every value. so, padding property should have value of: padding: 12px 6px 6px 0;


Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -