...

View Full Version : Alignment problem



Trojanfan
12-11-2005, 04:55 PM
Hey guys. Having a bit of an alignment problem in Internet Explorer at MadBum.com. The footer text isn't aligned in the black area as it should be. It works fine in Firefox, however.

Here is the css code for the footer, and feel free to check the page source if you need it:


#footer{

clear: both;

width:682px;

height: 50px;

margin:0 auto;

background-image:url(images/footer.jpg);

background-position:bottom;

background-repeat: no-repeat;

}

#footer div{

padding-top:28px;

padding-bottom:18px;

text-align: center;

text-valign: center;

}

Trojanfan
12-11-2005, 08:41 PM
any ideas?

Trojanfan
12-12-2005, 03:25 AM
somebody has to know...

quasar
12-12-2005, 12:55 PM
You might want to try removing the extra <div> tags:


<div id="footer">

<div>

<a href="/index.php"><u>Home</u></a> &nbsp;&nbsp;&nbsp;&nbsp; <strong>:::</strong> &nbsp;&nbsp;&nbsp;&nbsp; <a href="http://chatgroove.com/forumdisplay.php?f=48" target="_blank"><u>Forums</u></a>&nbsp;&nbsp;&nbsp;&nbsp; <strong>:::</strong> &nbsp;&nbsp;&nbsp;&nbsp; <a href="http://madbum.com/advertise"><u>Advertise Here</u></a>

</div>

</div>

<div id="footer">
<div>

<font color="#999966" family="arial"><strong>Featured Friends:</strong></font> <a href="www.unauthorizedentry.com/" target="_blank"><em><small>DEATH Extreme Videos</small></em></a> &nbsp; <font color="red"><strong>:</strong></font> &nbsp;

</div>

</div>



That might be the main source of your problem. I'm not to familiar with tableless CSS design, so I might be wrong.

Trojanfan
12-12-2005, 02:06 PM
No, only made it worse.

quasar
12-13-2005, 10:25 PM
Sorry for the delay, I forgot to put notification on. Try putting padding - maybe to 0px - in the #footer div. Perhaps try taking the 'auto' out of the margin if that doesn't work.

Let me know how it goes.

Trojanfan
12-15-2005, 04:39 AM
woohoo, got it.

I had to remove the padding-bottom from the css but leave the padding-top

quasar
12-15-2005, 05:59 AM
Glad that things got sorted. Like the look of the site.

Trojanfan
12-15-2005, 06:03 AM
Thank you very much. I've worked hard to get everything in order. :)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum