Styles Post (updated)

  • Thread starter Thread starter James
  • Start date Start date
J

James

..I'm playing around with styles, i had no problem
creating a ecternal style sheet, but was unsure how if you
have defined 'h1' to be be a certain size and font... how
you then specify what in you page constitutes 'h1'.

2.Also when playing around with internal styles in my
header, i found that when i select my class with the
selector 'class a' the paragraph does not change, please
see below... i used the 'text decoration none' to stop
underlining of hyperlinks is this the problem?

<head>
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>Index</title>
<STYLE>
a {text-decoration: none;}
class a { color: #808080; font-family: Arial; font-
size: 8pt; text-align: Left }
</STYLE>
<script language="JavaScript" fptype="dynamicanimation">
<!--
function dynAnimation() {}
function clickSwapImg() {}
//-->
</script>
<script language="JavaScript1.2" fptype="dynamicanimation"
src="animate.js">
</script>
<meta name="Microsoft Border" content="none">
</head>


James
..
 
-----Original Message-----
..I'm playing around with styles, i had no problem
creating a ecternal style sheet, but was unsure how if
you have defined 'h1' to be be a certain size and
font... how you then specify what in you page
constitutes 'h1'.

Select the content you want, then choose Heading 1 in the
Style dropdown list in the Formatting toolbar.
2.Also when playing around with internal styles in my
header, i found that when i select my class with the
selector 'class a' the paragraph does not change, please
see below... i used the 'text decoration none' to stop
underlining of hyperlinks is this the problem?

...
<STYLE>
a {text-decoration: none;}
class a { color: #808080; font-family: Arial; font-
size: 8pt; text-align: Left }
</STYLE>
...

Omit the word "class" so you have:

a { text-decoration: none; }
a { color: #808080; font-family: Arial; font-size: 8pt;
text-align: Left }

or, better,

a { text-decoration: none; color: #808080; font-family:
Arial; font-size: 8pt; text-align: Left }

The keyword "class" is an HTML tag attribute, as in this
example:

<style>
..shaded ( background-color: #EEEEEE; )
</style>

<p class="shaded">Made in the shade.</p>

Jim Buyens
Microsoft FrontPage MVP
(e-mail address removed)
http://www.interlacken.com
Author of:
*------------------------------------------------------*
|\----------------------------------------------------/|
|| Microsoft Office FrontPage 2003 Inside Out ||
|| Microsoft FrontPage Version 2002 Inside Out ||
|| Web Database Development Step by Step .NET Edition ||
|| Troubleshooting Microsoft FrontPage 2002 ||
|| Faster Smarter Beginning Programming ||
|| (All from Microsoft Press) ||
|/----------------------------------------------------\|
*------------------------------------------------------*
 
Back
Top