The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Using a background image plus text with tag
Hi all,
I’m trying to assign a background image to an anchor tag, plus text for the link.
Subscribe to Blog
li a.blog { background-position: left center; background-repeat: no-repeat; padding: 0 0 0 22px; background-image: url ("/images/email.gif"); }
For some reason the browser is not seeing “background-image: url” part of the CSS. When I inspect in Firebug that portion of the style isn’t there.
Link to Problem Page
Any input on what I’m missing?
Did you try removing the space between url and (
?
OMG. How did I miss that?!
Thanks Christopher.
Haha, you’re most welcome.