Jump to content

Quick Question


divinedesigns1

Recommended Posts

wouldn't you need to use a semi-colon after each style when you're using css? like

html, body { height:100%; }

or is it possible to do this

 

html, body { height:100% }

Link to comment
Share on other sites

Actually, the last rule in a statement does not require a semi-colon, it's just best practice to put one in case you intend to put another rule after it in the future.

  • Like 1
Link to comment
Share on other sites

Actually, the last rule in a statement does not require a semi-colon, it's just best practice to put one in case you intend to put another rule after it in the future.

mhmm then ill stick to my good practice

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...