98.7% Of all customers recommend us, we're so confident about our results we publish all reviews and stats
View Live Stats View ReviewsForum home » Delegate support and help forum » Dreamweaver Training and help » Dremweaver CS3
Dremweaver CS3
Resolved · Medium Priority · Version CS3
Stefania has attended:
Excel Introduction course
Outlook Advanced course
Outlook Introduction course
Excel Intermediate course
Excel Advanced course
Word Introduction course
Word Intermediate course
Word Advanced course
PowerPoint Introduction course
PowerPoint Intermediate Advanced course
Dreamweaver Introduction (2 days) course
Dremweaver CS3
How can I add a new style in a new page?
Thank you very much
Stefania
RE: Dremweaver CS3
Hi Stefania,
'Style' is a little broad in terms of a web page. I'm assuming you mean a CSS style? If so, you can add some CSS code at the top of your document, or use the Dreamweaver CSS panel to create a new style (click the + icon at the bottom of the panel).
For classes, you can specify like this:
.myclass {
color: red;
font-weight: bold;
border: 1px solid green;
}
And then apply them like this (HTML):
<p class="myclass">This is my paragraph with new style.</p>
For ID's, you can specify like this:
#myclass {
color: red;
font-weight: bold;
border: 1px solid green;
}
And then apply them like this (HTML):
<p id="myclass">This is my paragraph with new style.</p>
Using the Dreamweaver wizard to add a class is similar. Just choose 'in this document only' when asked where you want to store the style (you can also store it in a global CSS file, and link all your pages to it). Then go through each category on the left hand side of the style dialogue box, and adjust the style settings.
Applying the style is as easy as selecting the paragraph or other element, and then using the Properties panel to apply the newly created style using the Style drop-down box.
If this answer resolves your query, please mark the question as 'resolved' (see below). Otherwise, please post a follow-up response to this post, and I will assist you further.
Regards, Rich
Fri 20 Mar 2009: Automatically marked as resolved.
Training information:
Welcome. Please choose your application (eg. Excel) and then post your question. Our Microsoft Qualified trainers will then respond within 24 hours (working days). Frequently Asked Questions
Any suggestions, questions or comments? Please post in the Improve the forum thread. |
Dreamweaver tip:Creating line breaksIf you want to create a line break hold down Shift+Enter. |