Re: CSS to put a border around text

by "Debbie O'Meara" <domeara(at)QuixNet.net>

 Date:  Fri, 4 Aug 2000 22:37:40 -0700
 To:  "Peter-Paul Koch" <gassinaumasis(at)hotmail.com>,
<hwg-techniques(at)hwg.org>
  todo: View Thread, Original
First, thanks so much for responding.

Second, it doesn't seem to be working, or I'm missing something.  Now I've
got:

p.box { border: thin solid black;
            padding:  10px;
            width:  60%;
            font:  italic 12pt Georgia;
           }

IE isn't recognizing the width at all.  NN is doing fine.

Thanks,
Debbie
-----Original Message-----
From: Peter-Paul Koch <gassinaumasis(at)hotmail.com>
To: domeara(at)QuixNet.net <domeara(at)QuixNet.net>; hwg-techniques(at)hwg.org
<hwg-techniques(at)hwg.org>
Date: Sunday, July 30, 2000 9:34 AM
Subject: Re: CSS to put a border around text


>>In Netscape I get a neat little box that just surrounds the small block of
>>text--just what I'm looking for.  IE inserts a box that reaches the full
>>width of the page, far beyond the text.
>>Other than making it a table cell, is there anything I can change so >that
>>the box fits the width of the text in IE?
>>
>>p.box { border: thin solid black;
>>             padding:  10px;
>>             font:  italic 12pt Georgia;
>>            }
>
>In fact IE does it correctly: a paragraph is supposed to span the entire
>page. To make it smaller, add
>
>  width: 100px
>
>or
>
>  width: 25%
>
>or whatever value you like to the style sheet. This will set the width of
>the paragraph.
>
>ppk
>________________________________________________________________________
>Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
>
>

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA