Microsoft Frontpage/Wrap image

Advertisement


Question
I am using this basic code to get my text to go on the very top right side of an image.

<img src="Robert.jpg" align="Left" width="25%>
<p style="background:red; color:yellow; font-family:arial; font-size:150%;">I then type all my text here.</p>

I works very good.  And I love using code by hand.

But as you can see my text should be ontop of an all RED background.

And it is not ontop of a RED back.

Why am I missing a Tag or something?

Thanks.

Answer
Hello Robert - I feel like you are referring to "highlight color" not background color .

<!DOCTYPE html>
<html>
<head>
<style>
span.highlight {
   background-color: red;
}
</style>
</head>
<body>

<p>
<span class="highlight" p style="color:yellow">I type all my text here.</p></span> No highlighting <span class="highlight">Highlighted text.</span>
</p>

</body>
</html>

Microsoft Frontpage

All Answers


Answers by Expert:


Ask Experts

Volunteer


Nancy Benner Janyszeski

Expertise

Creating and managing a website using FrontPage. Front Page server extension problems. FrontPage is no longer being offered by Microsoft. Microsoft Expression Web is the new professional Web design application software.

Experience

I am Microsoft Office User Specialist (MOUS) Master Certified and was certified as a MOUS Authorized Instructor. Instructional design and test writer for Skills Advantage, http://skillsadv.com/

Education/Credentials
Microsoft MOUS Master Certified, ICDL certified

©2016 About.com. All rights reserved.