![]() |
|
|
|||||||
![]() |
|
|
Thread Tools | Rate Thread |
|
|
PM User | #1 |
|
Regular Coder ![]() Join Date: Mar 2007
Location: Northamptonshire, UK
Posts: 469
Thanks: 8
Thanked 4 Times in 4 Posts
![]() |
Gap between DIV and IMG??!?!
Hey Guys!
I've been pulling my hair out over this one! On: http://www.rsspberry.com/v2/ There is a 2px line at the bottom of the white box! this is that box coming under the img! I cannot think of a way to get it to go away! Thanks! CSS: http://www.rsspberry.com/v2/css/styles.css Thanks for any and all help! ~ The-Dream (Christian)
__________________
Branchr Advertising Network |
|
|
|
|
|
PM User | #2 |
|
Comrade Grammar Nazi ![]() ![]() Join Date: Oct 2007
Location: Do you know where Nazi Zombies come from?
Posts: 2,216
Thanks: 13
Thanked 182 Times in 180 Posts
![]() |
Code:
img {
display: block;
}
__________________
Cyan Light Industries | It's Firefox, just easier on the eyes Follow me on Twitter |
|
|
|
| Users who have thanked Apostropartheid for this post: | the-dream (03-06-2008) |
|
|
PM User | #3 |
|
Regular Coder ![]() Join Date: Mar 2007
Location: Northamptonshire, UK
Posts: 469
Thanks: 8
Thanked 4 Times in 4 Posts
![]() |
OMFG, I can't believe I didn't think of that! Sorry for the trouble, and thanks a lot!
Thanks++
__________________
Branchr Advertising Network |
|
|
|
|
|
PM User | #4 |
|
New Coder ![]() Join Date: Mar 2008
Location: Aurora, Illinois
Posts: 61
Thanks: 2
Thanked 6 Times in 6 Posts
![]() |
Actually that will neuter inlined images (such as smileys). A better alternative would be to set the vertical-align property to bottom. Here's an example (that also kills the border that appears around images inside links in Firefox).
Code:
img {
border: 0;
vertical-align: bottom;
}
|
|
|
|
|
|
PM User | #5 | |
|
Senior Coder ![]() Join Date: Jan 2006
Location: Halle (Saale), Germany
Posts: 3,761
Thanks: 3
Thanked 312 Times in 298 Posts
![]() ![]() |
Quote:
__________________
Don’t click this link! |
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Rate This Thread | |
|
|