Styles Post (updated)

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
..
 
J

Jim Buyens

-----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) ||
|/----------------------------------------------------\|
*------------------------------------------------------*
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top