Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > ie extra line using both tables and css

Reply
Thread Tools

ie extra line using both tables and css

 
 
acorn71@gmail.com
Guest
Posts: n/a
 
      11-30-2005
hello, the following code below creates an unwanted space (about 1px)
underneath my image using ie 6. this space does not show up in ff1. the
same results happen regardless if i use different images, or put my
image inside a table. any suggestions? thanks. aaron;

p.header {
border-style: solid;
border-color: #232D78;
border-width: 2px;

position:absolute;
top:50px

}

<p class="header">
<img src="myimage.gif" width="100" height="50" alt="mycaption"
border="0" />
</p>

 
Reply With Quote
 
 
 
 
Els
Guest
Posts: n/a
 
      11-30-2005
wrote:

> unwanted space (about 1px) underneath my image using ie 6.


The image is probably sitting on the baseline of text, leaving room
for the lower halfs of the letters g and j and others.
Does img{display:block;} or img{vertical-align:bottom;} change
anything?

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Now playing: Electric Boys - Rags to riches
 
Reply With Quote
 
 
 
 
acorn71@gmail.com
Guest
Posts: n/a
 
      11-30-2005
hey, thank you so much! the img{vertical-align:bottom;} works on both
ie and firefox. you have really helped me with this one as i was sure
spending a lot of time trying to figure that out. thanks again!

aaron;

 
Reply With Quote
 
Els
Guest
Posts: n/a
 
      11-30-2005
wrote:

> hey, thank you so much! the img{vertical-align:bottom;} works on both
> ie and firefox. you have really helped me with this one as i was sure
> spending a lot of time trying to figure that out. thanks again!


You're welcome

Can you do me a favour in return? Well, not just me, but like
everybody here?

Read this link carefully:
http://www.safalra.com/special/googlegroupsreply/

Thanks

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Now playing: Outburst - Victory For A Soul
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with extra blank line when using csv.writer in Python 3.1 tkpmep@hotmail.com Python 3 04-27-2010 04:43 PM
make two tables having same orders in both column and row names Ping-Hsun Hsieh Python 1 11-19-2009 10:00 PM
Does return-by-value mean extra copies and extra overhead? mathieu C++ 3 09-04-2009 04:25 PM
compilation error: file exists in both in both 'c:\WINNT\Microsoft.NET\Framework\v2.0.50727 ABCL ASP .Net 0 05-29-2008 04:59 PM
2 computers, both online, both invisible to each other ? b Computer Support 9 04-21-2006 04:06 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57