[TriLUG] OT: Help with Bounding Boxes?

Glenn Hennessee hennesse at chemdept.chem.ncsu.edu
Wed Jul 14 10:01:42 EDT 2004


You can try padding. For example, if the element were a h1 then the css
would be:

h1 {padding-bottom: 10px;}

would add 10 pixels to the bottom. You can also specify percentages, ems,
etc.

glenn

On Wed, 14 Jul 2004, Brian Henning wrote:

> Hi,
>   Anyone know lots about the bounding box on a marquee html element?  My
> boss wants the scrolling text on his web page, but at the text size we're
> using, the underhanging portions of letters (I forget the technical term...
> the tails on ys and ps, for example) are being cut off.  The strangest part
> is that on a coworker's 800x600 display, they look fine.  However, on all
> the 1024x768 displays in the building, it's chopped.  Is there a CSS
> directive I can use to make the clipping region taller so that the letters
> don't get clipped?  I tried simply "height" but that didn't seem to help.  I
> tried adding vertical-align: top; but that made it worse.
>
> Help please?  And don't tell me "don't use marquee!"  It's not my choice...
>
> Thanks,
> ~Brian
>
> ----------------
> Brian A. Henning
> Strutmasters.com
> 866.597.2397
> ----------------
>
>
> --
> TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
> TriLUG Organizational FAQ  : http://trilug.org/faq/
> TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
> TriLUG PGP Keyring         : http://trilug.org/~chrish/trilug.asc
>

--
Glenn Hennessee
Box 8204
Dept of Chemistry
NC State University
Raleigh, NC 27695-8204
(919) 515-2947
Fax: (919) 515-8909
email: Glenn_Hennessee at ncsu.edu



More information about the TriLUG mailing list