Datafeedr Support Forums  

Go Back   Datafeedr Support Forums > Current Version (V3) Forum > Questions
Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Important - The support forums are now in "read-only" mode as we transition to an alternative help desk solution. Feel free to contact us here with any of your questions or search the forums for an existing solution.
 
 
Thread Tools Search this Thread Display Modes
  #1  
Old January 31st, 2011, 07:33 PM
lbuilta59 lbuilta59 is offline
 
Join Date: Jan 2011
Posts: 56
Default How to center category image?

I tried changing the code to:

<!-- Category Image -->
<img src="[category.image]" alt="[category.name]" style="float:center;margin:0 10px 10px 0;" />
<!-- /Category Image -->

but the image still aligns left.

I changed the image and the thumbnail alignment.
  #2  
Old January 31st, 2011, 07:47 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

center is not valid CSS float value.

This worked: <img src="[category.image]" alt="[category.name]" style="display:block;margin:0 auto;" />

There are many methods to accomplish centering an image.
  #3  
Old January 31st, 2011, 08:17 PM
lbuilta59 lbuilta59 is offline
 
Join Date: Jan 2011
Posts: 56
Default

Again, thank you. I am just learning to work with CSS.
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 01:02 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.