Can"t seem to get rid of the padding
Can"t seem to get rid of the padding
am 18.10.2007 22:31:06 von laredotornado
Hi,
Hopefully this is an easy question. If you look at the page
http://elearningrd.info/portal/test3.php
you'll see on both PC IE and Firefox, the arrow graphic is surrounded
both above and below by some green background color. Green is the
background color of the table cell, and I'm trying to make the image
pressed neatly against the entire table cell, without any green
showing. Tried, style="padding:0px; margin:0px;". Any ideas of other
things I can do?
Thanks, - Dave
Re: Can"t seem to get rid of the padding
am 18.10.2007 22:55:10 von dorayme
In article
<1192739466.824511.298570@i13g2000prf.googlegroups.com>,
"laredotornado@zipmail.com" wrote:
> I'm trying to make the image
> pressed neatly against the entire table cell
What's this supposed to mean?
--
dorayme
Re: Can"t seem to get rid of the padding
am 18.10.2007 23:51:20 von laredotornado
On Oct 18, 3:55 pm, dorayme wrote:
> In article
> <1192739466.824511.298...@i13g2000prf.googlegroups.com>,
>
> "laredotorn...@zipmail.com" wrote:
> > I'm trying to make the image
> > pressed neatly against the entire table cell
>
> What's this supposed to mean?
>
> --
> dorayme
Right now that image is in a table cell but there is some extra space
above and below the image. I'm trying to remove that extra space but
I'm unsuccessful using the conventional padding and margin style
attributes. Is there any other ways to remove that extra spacing?
- Dave
Re: Can"t seem to get rid of the padding
am 19.10.2007 01:14:39 von dorayme
In article
<1192744280.661035.288600@e9g2000prf.googlegroups.com>,
"laredotornado@zipmail.com" wrote:
> On Oct 18, 3:55 pm, dorayme wrote:
> > In article
> > <1192739466.824511.298...@i13g2000prf.googlegroups.com>,
> >
> > "laredotorn...@zipmail.com" wrote:
> > > I'm trying to make the image
> > > pressed neatly against the entire table cell
> >
> > What's this supposed to mean?
> >
> > --
> > dorayme
>
> Right now that image is in a table cell but there is some extra space
> above and below the image. I'm trying to remove that extra space but
> I'm unsuccessful using the conventional padding and margin style
> attributes. Is there any other ways to remove that extra spacing?
>
> - Dave
See my reply to your other post. Remove the align you have on it.
--
dorayme
Re: Can"t seem to get rid of the padding
am 19.10.2007 19:54:08 von laredotornado
On Oct 18, 6:14 pm, dorayme wrote:
> In article
> <1192744280.661035.288...@e9g2000prf.googlegroups.com>,
>
>
>
>
>
> "laredotorn...@zipmail.com" wrote:
> > On Oct 18, 3:55 pm, dorayme wrote:
> > > In article
> > > <1192739466.824511.298...@i13g2000prf.googlegroups.com>,
>
> > > "laredotorn...@zipmail.com" wrote:
> > > > I'm trying to make the image
> > > > pressed neatly against the entire table cell
>
> > > What's this supposed to mean?
>
> > > --
> > > dorayme
>
> > Right now that image is in a table cell but there is some extra space
> > above and below the image. I'm trying to remove that extra space but
> > I'm unsuccessful using the conventional padding and margin style
> > attributes. Is there any other ways to remove that extra spacing?
>
> > - Dave
>
> See my reply to your other post. Remove the align you have on it.
>
> --
> dorayme- Hide quoted text -
>
> - Show quoted text -
Hi, You meant the align in the IMG tag? I removed that attribute and
it approved things a little bit, but there's still an annoying space
beneath the image
http://elearningrd.info/portal/test3.php
Thanks for the advice and continued help, - Dave
Re: Can"t seem to get rid of the padding
am 19.10.2007 20:07:55 von lws4art
laredotornado@zipmail.com wrote:
> Hi, You meant the align in the IMG tag? I removed that attribute and
> it approved things a little bit, but there's still an annoying space
> beneath the image
>
> http://elearningrd.info/portal/test3.php
Because an IMG is an inline element and that is room for text
descenders. I thought someone already informed you of this. If you want
to have an image in a table cell not to have this space then display as
block
td img { display: block; }
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Re: Can"t seem to get rid of the padding
am 20.10.2007 22:48:36 von cfajohnson
On 2007-10-19, laredotornado@zipmail.com wrote:
> On Oct 18, 6:14 pm, dorayme wrote:
....
>> "laredotorn...@zipmail.com" wrote:
>>
>> > Right now that image is in a table cell but there is some extra space
>> > above and below the image. I'm trying to remove that extra space but
>> > I'm unsuccessful using the conventional padding and margin style
>> > attributes. Is there any other ways to remove that extra spacing?
It's too small for me to see any spacing, extra or otherwise.
>> See my reply to your other post. Remove the align you have on it.
>
> Hi, You meant the align in the IMG tag? I removed that attribute and
> it approved things a little bit, but there's still an annoying space
> beneath the image
>
> http://elearningrd.info/portal/test3.php
First, correct the HTML; using valid code may get rid of your
problem (see ).
There are also other problems; see:
--
Chris F.A. Johnson, webmaster
============================================================ =======
Author:
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)