[lug] CSS Question - Really Trivial

Joseph P. Crotty jcrotty18 at attbi.com
Mon Mar 24 13:50:56 MST 2003


> As the Subject line says, this isn't important, but it got me to
> wondering about CSS and its capabilities.  Looking at Red Hat's RH9
> (marketing?) page:
>
> http://www.redhat.com/mktg/rh9iso/
>
> I was struck by how much I hated that "offset" text look of the "Option
> #"  But, I thought, it'd be interesting to make up a CSS stylesheet that
> could do that, if possible.

Oddly enough, Option 1 and 2 are images:
http://www.redhat.com/img/lp_032403_3.gif
http://www.redhat.com/img/lp_032403_4.gif

> So, to any CSS gurus out there, is there a way to get that "offset text
> in a box" look like that without resorting to "text images"?  I'm
> guessing no, but I've been surprised by the power of CSS before.

Oh, I am sure there is (e.g. either align the box or the text)
http://www.w3.org/TR/REC-CSS1#box-properties
http://www.w3.org/TR/REC-CSS1#text-properties

...just don't want to take the time to make a working example.  That's probably
why whoever did them as images in the first place.

Joseph P. Crotty





More information about the LUG mailing list