JerryK Posted September 20, 2009 Report Share 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 Quote Link to comment Share on other sites More sharing options...
virtual Posted September 20, 2009 Report Share 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 Quote Link to comment Share on other sites More sharing options...
JerryK Posted September 20, 2009 Author Report Share Posted September 20, 2009 thank you! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.