View Full Version : alignment issue in Firefox...

03-22-2005, 06:41 PM
Could someone help me figure out why my logo doesn;t align in the center (in Firefox) near the bottom of this page:


Much obliged. :cool:

03-22-2005, 07:02 PM
is it in a container? you can probably make that div the with and height of your logo and then use margin-left:auto; and margin-right:auto; or if its just a div that spans across the whole screen, then you can use text-align:center;

<div style="width:112px;height:41px;margin-left:auto;margin-right:auto;"><img src="http://www.mediamogulsweb.com/logo2.jpg" alt=""></div>
probably have to play with it for the padding and stuff, and look into conditional comments (http://www.quirksmode.org/css/condcom.html)

03-23-2005, 11:55 AM
I understand what you're saying, but something else is going on with that div that contains the logo, but only on that page....the div is inside a footer file that appears fine on other pages, but looks crazy on the index page (in FF)...I put a 1px border around the div to see what it's doing, and in IE it looks fine (no surprise)...but in FF, the div border doesn't even suround the image....check it out, I'll leave the border on for a little bit....


03-23-2005, 03:47 PM
looks like you need a clear:both; in the footer part that has your logo

03-23-2005, 08:00 PM
thanks! :thumbsup: