![]() |
|
|
|
#1 |
|
Again, my oppologies if this is not *exactly* on topic. But please help if
you can: I am having trouble with the VALIGN property of a table cell (<TD>) only in Internet Explorer. In FireFox, it works exactly as expected. When I set <TD valign="bottom">, in FireFox, the image that I place inside the TD is completely flush with the bottom of the cell. But in IE, there is a gap. Also, one more note: The MS Visual Studio 2008 HTML "Design" view *also* shows it correctly (like in FireFox). I have a very simple sample HTML file, as well as screen-shots from IE and FireFox, but I guess I can't upload them here. Any help would be MOST appreciated! Alex Alex Maghen |
|
|
|
|
#2 |
|
Posts: n/a
|
"Alex Maghen" <> wrote in message
news:1E9991BB-0CBD-433E-A105-... > Again, my oppologies if this is not *exactly* on topic. But please help if > you can: I am having trouble with the VALIGN property of a table cell (<TD>) > only in Internet Explorer. In FireFox, it works exactly as expected. > > When I set <TD valign="bottom">, in FireFox, the image that I place inside > the TD is completely flush with the bottom of the cell. But in IE, there is a > gap. > > Also, one more note: The MS Visual Studio 2008 HTML "Design" view *also* > shows it correctly (like in FireFox). > > I have a very simple sample HTML file, as well as screen-shots from IE and > FireFox, but I guess I can't upload them here. > > Any help would be MOST appreciated! IE has a bug where it treats white space following the img before the </td> as significant in some way. If you make sure the output is like this:- <td valign="bottom"><img ... /></td> That little gap will disappear. -- Anthony Jones - MVP ASP/ASP.NET Anthony Jones |
|
|
|
#3 |
|
Posts: n/a
|
All I can say is, OH MY G-D! Are you kidding? How do they *do* these things?
Alex "Anthony Jones" wrote: > "Alex Maghen" <> wrote in message > news:1E9991BB-0CBD-433E-A105-... > > Again, my oppologies if this is not *exactly* on topic. But please help if > > you can: I am having trouble with the VALIGN property of a table cell > (<TD>) > > only in Internet Explorer. In FireFox, it works exactly as expected. > > > > When I set <TD valign="bottom">, in FireFox, the image that I place inside > > the TD is completely flush with the bottom of the cell. But in IE, there > is a > > gap. > > > > Also, one more note: The MS Visual Studio 2008 HTML "Design" view *also* > > shows it correctly (like in FireFox). > > > > I have a very simple sample HTML file, as well as screen-shots from IE and > > FireFox, but I guess I can't upload them here. > > > > Any help would be MOST appreciated! > > IE has a bug where it treats white space following the img before the </td> > as significant in some way. If you make sure the output is like this:- > > <td valign="bottom"><img ... /></td> > > That little gap will disappear. > > -- > Anthony Jones - MVP ASP/ASP.NET > > > Alex Maghen |
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Dial Up Problem | smackedass | A+ Certification | 3 | 02-02-2007 11:59 PM |
| Re: Virus Problem ** Help!** | David BlandIII | A+ Certification | 1 | 03-02-2004 06:00 PM |
| Pioneer DVR3100S problem with Satellite receiver Samsung DCR 9500 | Fredrik Bengtsson | DVD Video | 0 | 12-12-2003 02:32 PM |
| Re: Serious Computer Problem | hootnholler | A+ Certification | 1 | 11-24-2003 12:18 PM |
| Re: Serious Computer Problem | Bret | A+ Certification | 0 | 11-19-2003 12:51 AM |