Lunfalas Posted November 17, 2005 Share Posted November 17, 2005 Tiny Johnny (from Robin Wood story):"I've made a table of 105 px width and 28 px height and of course the <td> tag of the same size. I've put the image into that tag of (yeah, you guessed... ) SAME size again. Then I open the page in Firefox browser. It looks perfect, I tell you... I check the page also in IE 6. And again it looks... WHAT THE?! WH-WH-WHY IS THERE FOR ABOUT 4 PX LARGE SPACE BETWEEN THE IMAGE AND TABLE BORDER AT THE BOTTOM?!?! "How come that in Firefox the table border wraps the image perfectly but in IE 6 it doesn't? Is there anyone who can explain me why does that happen? What went wrong? I hope that IE 6 is guilty for that, but I'm affraid that it isn't...Thanks in advance for your replies! Link to comment Share on other sites More sharing options...
F-Man Posted November 17, 2005 Share Posted November 17, 2005 I don't see where a table belongs in this scenario. You can apply a border to images you know, not only tables...However, I tried exactly the same thing and had the same problem but in Firefox, not IE6, weird huh?Anyway, I can't help you there, sorry... Link to comment Share on other sites More sharing options...
Lunfalas Posted November 17, 2005 Author Share Posted November 17, 2005 Nah, I've made up that story... Hum... Even if I apply border to the image or not, the annoying space is still there. Your statement makes my foreseeing even more true. So the browsers are actually the guilty ones... Well, before I seal my statement, I'll wait if anyone else has anything to say about the problem. Link to comment Share on other sites More sharing options...
F-Man Posted November 18, 2005 Share Posted November 18, 2005 No spacing at all, unless you use padding... img { border: 5px solid black; width: 105px; height: 28px;} Link to comment Share on other sites More sharing options...
Lunfalas Posted November 18, 2005 Author Share Posted November 18, 2005 Uhm, the space is still there... Link to comment Share on other sites More sharing options...
Atom-G Posted November 18, 2005 Share Posted November 18, 2005 throw your code in here, always better when helping. Link to comment Share on other sites More sharing options...
Lunfalas Posted November 18, 2005 Author Share Posted November 18, 2005 Problem solved in "Images in tables" topic. Thanks anyways! 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