Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Sidebars & Widgets (http://forum.bytesforall.com/forumdisplay.php?f=14)
-   -   [SOLVED] Trouble with images in sidebars Chrome, Opera, Atahulpa 3.6.5 WP 3.2.1 (http://forum.bytesforall.com/showthread.php?t=14993)

swimflyfast2 Aug 2, 2011 12:50 PM

[SOLVED] Trouble with images in sidebars Chrome, Opera, Atahulpa 3.6.5 WP 3.2.1
 
<center><img src="image-url" /></center><br>

If I put the above in a post the image shows up. If i put this in a widget (text), and view in Chrome or Opera a little box with "image" in it shows up. If there is alt associated with it the alt is in the little box with no image. It's fine in Internet Explorer.

This works in IE and not in Opera or Chrome..
href="Destination URL"><img src="Image URL" alt="Alt Tag"/></a>
Should I quit drinking?

lmilesw Aug 2, 2011 07:44 PM

The center tag is deprecated and I would suggest wrapping the img code in a div or span and use CSS to center it.

swimflyfast2 Aug 3, 2011 08:40 AM

Quote:

Originally Posted by lmilesw (Post 70189)
The center tag is deprecated and I would suggest wrapping the img code in a div or span and use CSS to center it.

IE thinks one / is ok after http: for file location. Opera and Chrome need both //, It was sloppy on my part, thanks for your help.


All times are GMT -6. The time now is 04:54 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.