http://prosol1.com/dreamweaver/index.html
i can't figure out how to turn off the bold on all of the text. i created a header 5 [smaller text size] and there's no setting to turn on or off the bold. but all of it is bold.
please advise.
Michael,
as others have said, you need to use the <p> tag for your content text, not heading tags.
Add the following to the other styles in the head of the document: This is giving a style to paragraph tags:
p {
font-size: 12px;
color: #000;
font-family: Arial, Helvetica, sans-serif;
}
and in your code change the <h5>s to <p>s like this:
<h3>Sidebar1 Content</h3>
<p>The background color on this div will only show for the length of the content. If you'd like a dividing line instead, place a border on the left side of the #mainContent div if it will always contain more content.</p>
<p>Donec eu mi sed turpis feugiat feugiat. Integer turpis arcu, pellentesque eget, cursus et, fermentum ut, sapien.</p>
Only use the <h1> <h2> <h3> etc for headings only. This is especially important from a SEO perspective as well. All content text should be within paragraph tags <p>
--
Nadia
Adobe® Community Expert : Dreamweaver
---------------------------------------------------------------------- ----
Unique CSS Templates | Tutorials | SEO Articles
http://www.DreamweaverResources.com
---------------------------------------------------------------------- ----
You can make specific paragraph styles for different parts of your page by making descendant selectors.
For instance, for the left sidebar text, you might have a div with an id of #leftsidebar (aka <div id="leftsidebar">)
Then you could make a style like this, which would take the general fontsize for p (which you might have defined as 12px) and make the new size 85% as large, as well as making the line-height more spaced out, at 120%. Technically, it would be 85% of the size of <p> in the parent div.
#leftsidebar p {
font-size: 85%;
line-height: 120%;
}
For other content areas, you might have a div with an id of #maincontent. Then you could make a descendant style #maincontent p.
In each case, you would only need to invoke the <p> tag to get the style, as long as you have id'd the div.
This cleans up your surface code a great deal.
Beth
North America
Europe, Middle East and Africa
Asia Pacific