Re: Syle Sheets Fonts

by "Beauford.2002" <beauford.2002(at)rogers.com>

 Date:  Tue, 25 Feb 2003 10:48:19 -0500
 To:  "Keith D Sellars" <Keith(at)webgraffix.com>,
"HWG Basics" <hwg-basics(at)hwg.org>
 References:  p1 S0026260871 p12 S00262608712
  todo: View Thread, Original
This is the entire document, I don't see where there could be a problem.
This is just a small munu with 4 items on it that sits in the top frame of
my site....I could do this another way, but I am trying to learn styles
sheets and thought this is a good way to start.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<HTML>
<HEAD>
<TITLE>Menu</TITLE>

<STYLE type="text/css">

BODY {  font-family: arial; color: white; background:
url(images/background/topbg.jpg) repeat-x; }

A  {
 color : White;
 text-decoration : none;
 font : ;
}

A:Visited  {
 color : White;
 text-decoration : none;
 font : ;
}

A:Active  {
 color : White;
 text-decoration : none;
 font : ;
}

A:Hover  {
 color : #3A5FCD;
 text-decoration : none;
 font : ;
}
</STYLE>

</HEAD>



<TABLE width="719" cellpadding="0" cellspacing="0" border="0"
background="images/background/topmenu.jpg">
<TR valign="top">
<TD>

<TABLE width="719" cellpadding="15" cellspacing="0" border="0">
<TR>
<TD HEIGHT="70" ALIGN=center>

<A HREF="body.php" TARGET="body">Main</A> | <A HREF="body.php"
TARGET="body">Menu 2</A> | <A HREF="body.php" TARGET="body">Menu 3</A> | <A
HREF="body.php" TARGET="body">Menu 4</A>

</TD></TR></TABLE>
</TR></TABLE>

</BODY>
</HTML>

----- Original Message -----
From: "Keith D Sellars" <Keith(at)webgraffix.com>
To: "HWG Basics" <hwg-basics(at)hwg.org>
Sent: Tuesday, February 25, 2003 9:39 AM
Subject: Re: Syle Sheets Fonts


> Sounds to me that you may be having an issue with elements overriding the
> style.  I don't usually put my font definitions in the body declaration,
but
> rather in a table declaration.  Have you checked www.w3.org and validated
> this using their CSS validator?  That will probably show you what is
wrong.
>
> Thanks,
> Keith D Sellars
> WebGraffix
> www.webgraffix.com
>
> "Making database sites seem easy"
>
> ----- Original Message -----
> From: "Beauford.2002" <beauford.2002(at)rogers.com>
> To: "Keith D Sellars" <Keith(at)webgraffix.com>; "HWG Basics"
> <hwg-basics(at)hwg.org>
> Sent: Tuesday, February 25, 2003 9:28 AM
> Subject: Re: Syle Sheets Fonts
>
>
> > Nope, doesn't work. Like I said, I have used many different variations
on
> > this (including the one below) and nothing works. The font size never
> > changes. Is size dependant on the font that is being used?  i.e. could I
> > change the below to a 2pt if desired, or a 20pt..... Any other thoughts
> are
> > appreciated....
> >
> > TIA
> >
> >
> > > Should be this:
> > >
> > > BODY {  font-family: arial; font-size: 10pt; color: white; background:
> > > url(images/background/topbg.jpg) repeat-x; }
> > >
> > > Thanks,
> > > Keith D Sellars
> > > WebGraffix
> > > www.webgraffix.com
> > >
> > > "Making database sites seem easy"
> > >
> > > ----- Original Message -----
> > > From: "Beauford.2002" <beauford.2002(at)rogers.com>
> > > To: "HWG Basics" <hwg-basics(at)hwg.org>
> > > Sent: Tuesday, February 25, 2003 1:56 AM
> > > Subject: Syle Sheets Fonts
> > >
> > >
> > > > Hi, I am trying to adjust the font size and have tried at least 20
> > > different
> > > > variations of the following with no luck. Can someone point out
what's
> > > wrong
> > > > with this.
> > > >
> > > > BODY { font-family: arial; font: 10pt; color: white; background:
> > > > url(images/background/topbg.jpg) repeat-x; }
> > > >
> > > > TIA
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
> >
>
>

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