joomlavideos Posted October 10, 2009 Report Share Posted October 10, 2009 On Obama's web site www dot barackobama dot com, if you look at the CSS, there is usage of the background declaration. My question is they are using it like this: Background: transparent; Background: transparent url (images/sample.jpg etc...); What exactly is this? I looked on w3schools because I was only aware of background-color: transparent;, and sure enough, there is no mention of the above mentioned declaration. Does anyone have any idea how this is used or recognized? Thanks! Quote Link to comment Share on other sites More sharing options...
jlhaslip Posted October 10, 2009 Report Share Posted October 10, 2009 This code is using a 'short-hand' version of the background rule. See: http://www.w3schools.com/css/css_background.asp or http://www.w3.org/TR/CSS2/colors.html Scroll down a few pages to the Short-hand section. 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.