Quantcast
Channel: Background-Image in element - Stack Overflow
Browsing all 6 articles
Browse latest View live

Answer by chaiboy for Background-Image in element

background-color:red; is being superseded by background:.Combine your backgrounds. You can then refine it further by removing the quotes in the URL() of the background and the period from the URL. if...

View Article


Answer by Shikiryu for Background-Image in element

Well, even if it's weird to use the <img/> tag for this. (it's not its purpose, use src or a div with background...)Here, it's working

View Article

Answer by Rocket Ronnie for Background-Image in element

you dont even need the quote marks.background:url(./images/system/button/close/close.png)use a div if you can <div style="height:20px; width:20px; padding:9px;...

View Article

Answer by Jack Franklin for Background-Image in element

Don't understand why you are escaping the quotes. <img border="0" style="display:block; width:20px; height:20px; background-color:red; padding:9px;...

View Article

Answer by Quentin for Background-Image in element

You are escaping your quote marks and have transposed the second quote mark and bracket.In CSS: url('foo') /* is technically fine but broken on IE/Mac */url(foo) /* is fine */url('foo)' /* is not fine...

View Article


Background-Image in element

Can someone help me to find my Problem ?I have a <img /> and will give him a background-image within a <a> tag.Here is my example:<img border="0" style="display:block; width:20px;...

View Article
Browsing all 6 articles
Browse latest View live