W3C home > Mailing lists > Public > www-style@w3.org > November 1997

Background images and their size

From: Neil St.Laurent <neil@bigpic.com>
Date: Mon, 24 Nov 1997 11:55:17 -0600
Message-Id: <199711241846.LAA01190@underworld.bigpic.com>
To: www-style@w3.org
I think here should be a way to explicity set the stretching/size of 
background images.  If this is not possible I'm forced to use a 
specific pixel size for the fonts on the page if they have background 
images they are supposed to line up against.

I'd much rather do this:

p { background: url(red.gif)
   background-height: 2.5em
   font-size: 14pt
}

than:

p { background: url(red.gif)
   font-size: 35px  /*where this correlates to the image size*/
 }

__
| Mortar: Advanced Web Development <http://bigpic.com/mortar/>
| Neil St.Laurent  neil@bigpic.com
| Big Picture Multimedia
Received on Monday, 24 November 1997 13:49:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:53:52 GMT