[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [CF-Scripting] Space under images



Hey Ade,

The space under an image is usually caused as it's an inline element so it sits on the baseline. The answer should actually be to display:block in the image's style.

Oi fink...

Adrian Lynch wrote:

- see footer for list info


Ok, answering myself. img { vertical-align: bottom; } seems to be what I was
after. Does anyone know different?

Ade

-----Original Message-----
From: scripting-bounces@list.cfdeveloper.co.uk
[mailto:scripting-bounces@list.cfdeveloper.co.uk]On Behalf Of Adrian
Lynch
Sent: 18 February 2005 16:34
To: Javascript, CSS, XML, DHTML
Subject: RE: [CF-Scripting] Space under images




- see footer for list info


Also, for the next time I forget how to do this, what is the space beneath
text for the tails of lowercase ys js called? I remember this being the
thing that causes the space under the image.

Ade

-----Original Message-----
From: scripting-bounces@list.cfdeveloper.co.uk
[mailto:scripting-bounces@list.cfdeveloper.co.uk]On Behalf Of Adrian
Lynch
Sent: 18 February 2005 16:30
To: scripting@list.cfdeveloper.co.uk
Subject: [CF-Scripting] Space under images




- see footer for list info


I can't for the life of me remember how to remove the space that appears
under images.

I've tried this display: block; which works but I don't want to make images
block level elements.

Does anyone know what I can add to make this go away for all images or
failing that the containers they sit in? I have a horrible feeling someone
is going to mention the doctype and quirks mode, or the lack of it.

Ade
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 14/02/2005

_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-


- Hosting provided by www.cfmxhosting.co.uk -<
- Forum provided by www.fusetalk.com -<
- DHTML Menus provided by www.APYCOM.com -<
- Lists hosted by www.Gradwell.com -<
- Support and list management provided by Russ Michaels -<


--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 14/02/2005

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 14/02/2005

_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-


- Hosting provided by www.cfmxhosting.co.uk -<
- Forum provided by www.fusetalk.com -<
- DHTML Menus provided by www.APYCOM.com -<
- Lists hosted by www.Gradwell.com -<
- Support and list management provided by Russ Michaels -<


--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 14/02/2005

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 14/02/2005

_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-


- Hosting provided by www.cfmxhosting.co.uk -<
- Forum provided by www.fusetalk.com -<
- DHTML Menus provided by www.APYCOM.com -<
- Lists hosted by www.Gradwell.com -<
- Support and list management provided by Russ Michaels -<