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