FrontPage nbackground color for paragraph

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a page background of gray. I put a title on the page with name,
address, etc. I just want to change this area (like a text box) to a
different color and keep the background color. I tried positioning but did
not work. I also tried paragraph but no place to change color. I also tried
copying from another web but did not work. I am confused.

Would appreciate any help.

Thank you.

Mary C. Lydon
 
Hi Mary. I've two ideas for you:

1. Why not try putting the text inside a small table. You can then apply a
background to the table properties or cell properties without it affecting
the rest of the site.

2. Can you use 'Highlight' option to simply highlight the font rather than
anything else? This option is on the formatting toolbar next to the text
colour tool.

Good luck, Stewart
 
Hi Mary,

Try something like this.
<style type="text/css">
#yourDiv{
background-color:red;
border: 1px solid black;
padding: 10px;
}
</style>
<div id="yourDiv">....stuff......</div>

Change color/border etc to suit. You can also give the div a fixed size if
you want.
 
Back
Top