[thelist] setting a small size for a div or span

Tom Dell'Aringa pixelmech at yahoo.com
Fri Jun 7 11:41:01 CDT 2002


I'm trying to do this on IE5.5 (or 5) for the PC platform.

Tom
--- James Aylard <evolt at pixelwright.com> wrote:
> Tom,
>
> > There seems to be a limit to the size you can set a DIV or SPAN. I want to
> set one to about 12 x
> > 8, but it seems like once I get to around 10 or 12, it won't go any
> smaller. Is this simply the
> > limit of how small you can set the element? Or is there some
> padding/border issues that I have to
> > set to make it smaller?
>
>     What browser/platform are we talking about (often makes a difference
> when discussing CSS)? For IE/Win32, the browser seems to require that the
> div contain some content (either a non-breaking space -- &nbsp; -- or a
> single-pixel transparent gif, for instance), and that line-height also be
> set explicitly, to the desired height or smaller.
>
> James Aylard
>
> --
> For unsubscribe and other options, including
> the Tip Harvester and archive of thelist go to:
> http://lists.evolt.org Workers of the Web, evolt !


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com



More information about the thelist mailing list