Jump to content

Images have invisable border


scrimmyuk

Recommended Posts

I've finally taken the time to abandon tables and it was going all so well until I hit this little problem.http://debug.traincrew.co.uk/Final%20Test.php The images have a sort of border around them on the right & bottom which is making it look odd in IE. The box is supposed to have a padding of 5px on each site but the bottom at least is more than that. It stops doing it when I place the images as a background image but that's really not a practical solution at the minute. Any ideas ? Any help or tips on anything would be much appreciated.... the site isn't fully finished so that's why it looks a little empty.

Link to comment
Share on other sites

try this

<div id="rcol"><img src="front_latestv.gif" width="225" height="35" alt="Latest Vacancies" /><!--added this br here--><br/><!-- -->      <div id="vlate">      <li>On-Board Conductor</li>      <div class="homeEMP">First ScotRail</div>      <li>Customer Service Assistant</li>      <div class="homeEMP">GNER</div>      <li>Train Driver</li>      <div class="homeEMP">oneNorthern</div>      </div></div>

IE is quirky like that. If this works you can apply it to the other areas of your page. You only need the <br/>, not the comments, I added them so the change would standout.HTH

Link to comment
Share on other sites

try this
<div id="rcol"><img src="front_latestv.gif" width="225" height="35" alt="Latest Vacancies" /><!--added this br here--><br/><!-- -->      <div id="vlate">      <li>On-Board Conductor</li>      <div class="homeEMP">First ScotRail</div>      <li>Customer Service Assistant</li>      <div class="homeEMP">GNER</div>      <li>Train Driver</li>      <div class="homeEMP">oneNorthern</div>      </div></div>

IE is quirky like that. If this works you can apply it to the other areas of your page. You only need the <br/>, not the comments, I added them so the change would standout.HTH

Cheers that has done the trick.
Link to comment
Share on other sites

Lol yeah. I thought I'd do everything proper and get it perfect in FireFox. I didn't think IE would cause so many problems.

thats because IE is not standards compliant...I have my fingers crossed that IE7 will be much better and that it will be adopted quickly :)
Link to comment
Share on other sites

I didn't think IE would cause so many problems.
You're new here, aren't you? Welcome to the internet!http://www.pcworld.com/reviews/article/0,a...pg,3,00.asp#ie6They don't mention standards compliance there, but the reason I personally hate IE is because it makes my job difficult, not because of any usability issues. Because I only use it to test, which is usually followed by much cursing, throwing of chairs, and getting drunk.
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...