BillyBoB Posted July 5, 2007 Share Posted July 5, 2007 I am currently developing a blog site for people who like anime Ex. Inuyasha... The site looks great and isnt completed but is getting there. The thing is there is an error in IE that i cant fix but this error doesnt exist in Firefox. The error I am talking about is my images on the border of the main content and the image for my footer are out of the positions they should be in. the site is topgamingteam.net thanks in advance, BillyBoB Quote Link to comment https://forums.phpfreaks.com/topic/58529-solved-image-alignment/ Share on other sites More sharing options...
RichardRotterdam Posted July 5, 2007 Share Posted July 5, 2007 I have a little example that can help you out be sure to give the "id" attibute to your image tag <style> #footer_image{ /*this what firefox will do*/ margin-top:100px!important; /*this is what IE will do*/ margin-top:10px; } </style> <img id="footer_image" src="http://www.topgamingteam.net/Images/footeranime.gif" /> Quote Link to comment https://forums.phpfreaks.com/topic/58529-solved-image-alignment/#findComment-290326 Share on other sites More sharing options...
BillyBoB Posted July 5, 2007 Author Share Posted July 5, 2007 sorry but this didnt work at all Quote Link to comment https://forums.phpfreaks.com/topic/58529-solved-image-alignment/#findComment-290360 Share on other sites More sharing options...
RichardRotterdam Posted July 5, 2007 Share Posted July 5, 2007 yeah your right guess thats what you get for using too much tables try to remove the footer table and place the following code instead <table cellpadding="0" cellspacing="0" border="0" align="center" style="font-size: 11px; background: url(Images/footerbackground.gif) bottom repeat-x;" valign="top" width="100%" height="53"> <tr> <td height="100%" width="100%" border="0"> <style> #footer_left{ background: url('Images/footeranime.gif'); width:400px; height:194px; float:left; } #footer_right{ width:400px; height:194px; float:left; } #copyright{ margin-top:100px; } </style> <div> <div id="footer_left"> </div> <div id="footer_right"> <div id="copyright"> <a href="termsofuse.html" target="_blank"> Terms of Use</a> - <a href="privacypolicy.html" target="_blank">Privacy Policy </a> -- Copyright Anime Blog Site © 2007 <div> </div> </div> </td> </tr> </table> Quote Link to comment https://forums.phpfreaks.com/topic/58529-solved-image-alignment/#findComment-290416 Share on other sites More sharing options...
BillyBoB Posted July 5, 2007 Author Share Posted July 5, 2007 The error I am talking about is my images on the border of the main content that helped the footer but what about the other stuff? Quote Link to comment https://forums.phpfreaks.com/topic/58529-solved-image-alignment/#findComment-290425 Share on other sites More sharing options...
RichardRotterdam Posted July 5, 2007 Share Posted July 5, 2007 For that I noticed some td elements you styled using css like: <td width="100%" height="7" style="background: url(Images/linetopbottom.jpg) repeat-x;"> while the corners you just place a image tag inside <td width="7" height="8" > <img border="0" src="Images/toprightcorner.jpg"> </td> Just style it all using CSS that should solve the spacing problem Quote Link to comment https://forums.phpfreaks.com/topic/58529-solved-image-alignment/#findComment-290466 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.