CSS Questions

by Sharon Elix <saelix1970(at)netscape.net>

 Date:  17 Oct 99 23:41:50 PDT
 To:  hwg-basics(at)hwg.org
  todo: View Thread, Original
Hi List

I have two cascading style sheet (CSS) questions that currently have me
stumped. I'll start with the easier of the two:

1. I would like my external style sheet to display all <hr> tags through
   the site I'm working on, as 1 pixel high and noshade. I achieve
   the effect inline, with the following syntax: <hr size=3D1 noshade>.
   How do I achieve this effect using CSS? My HTML text tells me that
   both the size and noshade attributes are deprecated in HTML4.0 since
   the effects can be achieved with style sheets, but doesn't tell me
   how.

2. In my external style sheet I've set the following property values
   for the <p> tag: { p font-family: Arial, Helvetica, Geneva, sans-serif=
;
   font-size: 10pt }. At the bottom of each page, I have a menu bar
   which is inserted in each file via the Server Side Include (SSI)
   include command. I want the text in this "footer" to be smaller
   than the body text, but am having problems achieving this effect.
   The first thing I did was to insert the inline style
   <.p style=3D"font-size: -2pt">. Nothing happened. I thought this might=

   be because 10pt is the minimum size of my specified font-family. I
   then tried altering the font-family names but this didn't appear
   to work either. If I understand style precedence correctly, I would
   have thought the inline style would have taken precedence over the
   external sheet, notwithstanding that the file is included via a SSI
   directive. Can anyone help me?

Cheers
Sharon

Ps I'm afraid I can't include an URL for the site in question as it's loc=
ated
on an internal development server, behind a firewall.

____________________________________________________________________
Get your own FREE, personal Netscape WebMail account today at http://webm=
ail.netscape.com.

HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA