Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old October 18th, 2007, 09:05 PM
laredotornado@zipmail.com
Guest
 
Posts: n/a
Default CSS-challenged: how to remove the padding

Hi,

I admit it, I have a problem. On PC Firefox, you'll notice on the
following page, the image of a drop-down arrow is surrounded by green:

http://elearningrd.info/portal/test2.php

I wish to eliminate that green and make that image have zero margin or
padding. But nothing doing when I specify "padding:0px; margin:0px;"
as the style for the table cell.

Any insights? Thanks, - Dave

  #2  
Old October 18th, 2007, 10:05 PM
dorayme
Guest
 
Posts: n/a
Default Re: CSS-challenged: how to remove the padding

In article
<1192737806.705264.21010@z24g2000prh.googlegroups. com>,
"laredotornado@zipmail.com" <laredotornado@zipmail.comwrote:
Quote:
Hi,
>
I admit it, I have a problem. On PC Firefox, you'll notice on the
following page, the image of a drop-down arrow is surrounded by green:
>
http://elearningrd.info/portal/test2.php
>
I wish to eliminate that green
So why have you got bgcolor="green" on the td?

Quote:
and make that image have zero margin or
padding.
And why align="middle" on the image then?

--
dorayme
  #3  
Old October 19th, 2007, 01:55 AM
Jeremy
Guest
 
Posts: n/a
Default Re: CSS-challenged: how to remove the padding

laredotornado@zipmail.com wrote:
Quote:
Hi,
>
I admit it, I have a problem. On PC Firefox, you'll notice on the
following page, the image of a drop-down arrow is surrounded by green:
>
http://elearningrd.info/portal/test2.php
>
I wish to eliminate that green and make that image have zero margin or
padding. But nothing doing when I specify "padding:0px; margin:0px;"
as the style for the table cell.
>
Any insights? Thanks, - Dave
>
The problem is not with the image or the table cell. It's with the <a>
element around the image. It has top and bottom padding, as well as
text indent. Remove all those, make the image display:block and it
should work the way you want.
 

Bookmarks

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles