The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Widget photo not centered.

View previous topic View next topic Go down

Solved Widget photo not centered.

Post by Castellana on July 15th 2013, 4:39 pm

Hello! Hello

With help from Seth on here I made a widget for my forum yesterday.
Its the one that says "Explore Aquatic Plants" in the left column, here:
http://cvas.forumotion.com/portal

It works perfectly but the image does not fill the box - that is there is more blue border on one side than the other. How can I fix this so that the image has an equal border all around?

This is the code of the widget:
<a href="http://cvas.forumotion.com/f2-plants" title="Go to Plants Library" target="_blank"><img src="http://i76.photobucket.com/albums/j12/dclaro/Plants%20Gallery/tiny10G10368FRMMP_zps66d464ca.jpg" alt="Plants"/></a>

Thanks!

Castellana
Forumember

Female Posts : 282
Reputation : 5
Language : english

http://cvas.forumotion.com/portal

Back to top Go down

Solved Re: Widget photo not centered.

Post by Kralj on July 15th 2013, 4:57 pm

If you want to set picture in center try this:

<div style="margin:auto;text-align:center;width:100%">TEXT</div>

example:
Code:
<div style="margin:auto;text-align:center;width:100%"><a href="http://cvas.forumotion.com/f2-plants" title="Go to Plants Library" target="_blank"><img src="http://i76.photobucket.com/albums/j12/dclaro/Plants%20Gallery/tiny10G10368FRMMP_zps66d464ca.jpg" alt="Plants"/></a></div>


Kralj
Forumember

Male Posts : 128
Reputation : 6
Language : Croatian || English || HTML
Location : Croatia

Back to top Go down

Solved Re: Widget photo not centered.

Post by Castellana on July 15th 2013, 5:52 pm

Thanks, Kralj! Very Happy

That is just what I need!
This is solved.

Castellana
Forumember

Female Posts : 282
Reputation : 5
Language : english

http://cvas.forumotion.com/portal

Back to top Go down

Solved Re: Widget photo not centered.

Post by Kralj on July 15th 2013, 6:43 pm

You welcome Smile

Kralj
Forumember

Male Posts : 128
Reputation : 6
Language : Croatian || English || HTML
Location : Croatia

Back to top Go down

Solved Re: Widget photo not centered.

Post by SLGray on July 15th 2013, 9:01 pm

Topic Solved & Locked


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36641
Reputation : 2441
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum