PC Review


Reply
Thread Tools Rate Thread

CSS Query for learner useing FP 2003 SP2 is this a FP BUG or is it me

 
 
Tony M
Guest
Posts: n/a
 
      6th May 2007
I have just started during a tutorial on using CSS in PF 2003 SP2

Below is the html learner page with the simple CSS code

When viewed in DESIGN it displays as it should but when viewed in PREVIEW
all the text remains black
only the <em> works.

Any advice would be much appreciated.

Tony M
===========
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN-AU">
<html>

<head>
<title>A more complex CSS example</title>
<!--<link href="css1.css" rel=stylesheet">-->

<style type="text/css ">

<!--
h1, h4, p { color: red; }
p.blue { color: blue; }


p en { background-color: gray; }

-->
</style>
</head>

<body>

<h1 id=" red">A More <em>Complex</em> Example </h1>
<h4>The Second More Complex Example</h4>

<p class=" blue">This is the first paragraph.</p>

<p class=" blue">The second paragraph contains an <em>emphasised
</em>word.</p>

<p> Finally, we com to the Third paragraph. The <em>ultimate</em> paragraph
</p>


</body>

</html>


 
Reply With Quote
 
 
 
 
David Berry
Guest
Posts: n/a
 
      6th May 2007
Use Preview in Browser not the FrontPage Preview

--
David Berry
Microsoft MVP - FrontPage
FrontPage Support: http://www.frontpagemvps.com/
-----------------------------------
To assist you in getting the best answers for FrontPage support see:
http://www.frontpagemvps.com/FrontPa...3/Default.aspx
-----------------------------------


"Tony M" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I have just started during a tutorial on using CSS in PF 2003 SP2
>
> Below is the html learner page with the simple CSS code
>
> When viewed in DESIGN it displays as it should but when viewed in PREVIEW
> all the text remains black
> only the <em> works.
>
> Any advice would be much appreciated.
>
> Tony M
> ===========
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN-AU">
> <html>
>
> <head>
> <title>A more complex CSS example</title>
> <!--<link href="css1.css" rel=stylesheet">-->
>
> <style type="text/css ">
>
> <!--
> h1, h4, p { color: red; }
> p.blue { color: blue; }
>
>
> p en { background-color: gray; }
>
> -->
> </style>
> </head>
>
> <body>
>
> <h1 id=" red">A More <em>Complex</em> Example </h1>
> <h4>The Second More Complex Example</h4>
>
> <p class=" blue">This is the first paragraph.</p>
>
> <p class=" blue">The second paragraph contains an <em>emphasised
> </em>word.</p>
>
> <p> Finally, we com to the Third paragraph. The <em>ultimate</em>
> paragraph </p>
>
>
> </body>
>
> </html>
>


 
Reply With Quote
 
Ronx
Guest
Posts: n/a
 
      6th May 2007
Your code should be:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="en-au">
<head>
<title>A more complex CSS example</title>
<!--<link href="css1.css" rel=stylesheet">-->

<style type="text/css">
<!--
h1, h4, p { color: red; }
p.blue { color: blue; }
p em { background-color: gray; }
-->
</style>
</head>

<body>

<h1 id="red">A More <em>Complex</em> Example </h1> <h4>The Second More
Complex Example</h4>

<p class="blue">This is the first paragraph.</p>

<p class="blue">The second paragraph contains an <em>emphasised
</em>word.</p>

<p>Finally, we com to the Third paragraph. The <em>ultimate</em>
paragraph </p>

</body>

</html>
--
Ron Symonds - Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.
FrontPage Support: http://www.frontpagemvps.com/
http://www.rxs-enterprises.org/fp



"Tony M" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed):

> I have just started during a tutorial on using CSS in PF 2003 SP2
>
> Below is the html learner page with the simple CSS code
>
> When viewed in DESIGN it displays as it should but when viewed in PREVIEW
> all the text remains black
> only the <em> works.
>
> Any advice would be much appreciated.
>
> Tony M
> ===========
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN-AU">
> <html>
>
> <head>
> <title>A more complex CSS example</title>
> <!--<link href="css1.css" rel=stylesheet">-->
>
> <style type="text/css ">
>
> <!--
> h1, h4, p { color: red; }
> p.blue { color: blue; }
>
>
> p en { background-color: gray; }
>
> -->
> </style>
> </head>
>
> <body>
>
> <h1 id=" red">A More <em>Complex</em> Example </h1>
> <h4>The Second More Complex Example</h4>
>
> <p class=" blue">This is the first paragraph.</p>
>
> <p class=" blue">The second paragraph contains an <em>emphasised
> </em>word.</p>
>
> <p> Finally, we com to the Third paragraph. The <em>ultimate</em> paragraph
> </p>
>
>
> </body>
>
> </html>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
query useing the textbox. Moon Walker Microsoft Access Queries 1 10th Sep 2008 12:20 AM
Re: CSS query useing FP Web Expression. want to expand banner image with web page. md Webs Unlimited Microsoft Frontpage 0 13th Jun 2007 08:21 PM
USEING VIEWER USEING POWER POINTS =?Utf-8?B?Sk8gQ1JBTkU=?= Microsoft Powerpoint 2 7th Jun 2007 10:49 PM
Useing subform criteria in a query Ant Microsoft Access 4 4th Dec 2005 01:20 PM
Naming tables useing various names - Create table query and loops =?Utf-8?B?R2V0dGluZ3RoZXJl?= Microsoft Access VBA Modules 6 6th Dec 2004 04:09 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:08 AM.