Bruce Gust
asked on
How can I get this background image to work?
I've got a Javascript clock that came "pre-packaged" with some verbiage along the bottom of the clock face. I saw this and decided that I could replace that veribage with a logo, which would look like what I've got attached.
I've got the clock up at http://brucegust.com/clock.php. I want to replace "QUARTZ" with the Verizon logo.
How?
I've got the clock up at http://brucegust.com/clock.php. I want to replace "QUARTZ" with the Verizon logo.
How?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
"background" is just shorthand for:
background-image
background-position
background-size
background-repeat
background-color
This line:
background: url(http://images.forbes.com/media/lists/companies/verizon-communications_200x200.jpg) no-repeat;
in longhand would be:
background-image: url(http://images.forbes.com/media/lists/companies/verizon-communications_200x200.jpg);
background-repeat: no-repeat
The css I provided is a mix of shorthand and longhand.
Thanks for the points.
background-image
background-position
background-size
background-repeat
background-color
This line:
background: url(http://images.forbes.com/media/lists/companies/verizon-communications_200x200.jpg) no-repeat;
in longhand would be:
background-image: url(http://images.forbes.com/media/lists/companies/verizon-communications_200x200.jpg);
background-repeat: no-repeat
The css I provided is a mix of shorthand and longhand.
Thanks for the points.
ASKER
Was it just a matter of using "background" rather than "background-image?"
Thanks again!