JerryK Posted September 20, 2009 Report Posted September 20, 2009 I have a header id in my CSS page, see below: #header { width:730px; height:190px; background:url(oenmw/oenmw.jpg) 50% no-repeat #99c; color:#222; margin:auto; font-weight:bold; text-transform:lowercase;} I do not understand (1)what the 50% no repeat means, (2)what color: #222 is for thanks, JerryK
virtual Posted September 20, 2009 Report Posted September 20, 2009 (edited) The 50% is a positioning element for the background image and the no-repeat means exactly that, do not repeat the image either horizontally or vertically. This article explains in detail http://www.w3schools.com/css/pr_background-position.asp color: #222; is the abbreviated HEX code for #222222 which is Charcoal and refers to the colour of the text in the #header div. Edited September 20, 2009 by virtual
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