jwwceo Posted February 28, 2007 Share Posted February 28, 2007 I have a section of my site with images on each page....I can't get the images to center themselves in the cell...super frustrating...any ideas... I've tried centering the <td>, putting the image in a <p>..nothing works...any ideas? http://www.greektales.com/houses/fraternities/delta_chi.html James Quote Link to comment https://forums.phpfreaks.com/topic/40599-centering-imagedriving-me-nuts/ Share on other sites More sharing options...
seavers Posted March 1, 2007 Share Posted March 1, 2007 Hi, Usually <td align="center"> should work. This is a Joomla site, so maybe some other css style is affecting the positioning of your image (I'm presuming it's the coat of arms image). Try some css: #Layer1 img { margin-right: auto; margin-left: auto; } Quote Link to comment https://forums.phpfreaks.com/topic/40599-centering-imagedriving-me-nuts/#findComment-196727 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.