Guest Diavolo Posted December 30, 2005 Share Posted December 30, 2005 Hi, I have been using w3schools for a long time, but never used the forum.I am designing a website for my sister and I am running into a problem. I have a heading and menu that are purple and the background is white. I created a 5px image to "fade" the color so it looks nicer. In Firefox, it displays fine, but with IE, the image isn't butting up to the menu or heading, so there is a gap in between.The site is at www.scandepot.net/lauren . a { color:#FFFFFF;}a:hover { color:#FFCCFF;}html,body{ margin: 0px; padding: 0px;}img { padding: 0px; margin: 0px;}iframe{ background:#F0F0F0;}.mainBox{ border: thin solid #000000; background-color: #FFFFE0; width: 775px;}.subBox{ width: 75%;}.mainHeading{ background: #9933CC; color: #FFCCFF; font-size:16px; font-family: "Comic Sans MS", Verdana, Arial, Helvetica, sans-serif; font-variant: small-caps; font-weight: 800;}.subText{ background: #F0F0F0; color: #000000; font-size:12px; font-family: Verdana, Arial, Helvetica, sans-serif; text-align:left; border-left: thin dotted #101010; border-right: thin dotted #101010; border-bottom: thin dotted #101010; padding: 5px;}.menuFont{ font-size:14px; font-family: "Comic Sans MS", Verdana, Arial, Helvetica, sans-serif; font-variant: small-caps;}.menuFrame { background: #9933CC;}.center { text-align:center;} Thanks for the help in advance-Mike Link to comment Share on other sites More sharing options...
aspnetguy Posted January 5, 2006 Share Posted January 5, 2006 try changing this <body bgcolor="#F0F0F0"><div class="mainBox"><img src="images/menufadetop.jpg" class="alignBot" width="100%" /><table width="100%" cellspacing="0" cellpadding="0"> <tr><td height="100" bgcolor="#9933CC"> <img class="menuImg" src="images/lucymenu.gif" align="left"/> <img height="100%" src="images/main.gif" align="center" /> </td></tr> <tr><td class="menuFrame"> <div align="center" class="menuFont"> to this <body bgcolor="#F0F0F0"><div class="mainBox"><table width="100%" cellspacing="0" cellpadding="0"><tr><td><img src="images/menufadetop.jpg" class="alignBot" width="100%" /></td></tr> <tr><td height="100" bgcolor="#9933CC"> <img class="menuImg" src="images/lucymenu.gif" align="left"/> <img height="100%" src="images/main.gif" align="center" /> </td></tr> <tr><td class="menuFrame"> <div align="center" class="menuFont"> IE has a weird quick about putting an <img> on top of a <table> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now