dremweaver cs
Microsoft Office TrainingThe UK's Number 1 for Microsoft Office Training add this page to your favourites/bookmarksBookmark page

view a printable version of this pagePrintable version
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Dreamweaver Training and help » Dremweaver CS3

Dremweaver CS3

The UK's most regular instructor-led training courses.
Training information: training-dreamweaver · Dreamweaver training · Adobe dreamweaver training

resolvedResolved · Medium Priority · Version CS3

Silver
64 posts
replyReplyThu 12 Mar 2009, 15:54Delegate Stefania said...

Dremweaver CS3

How can I add a new style in a new page?

Thank you very much

Stefania

Platinum
798 posts
replyReplyFri 13 Mar 2009, 14:40Trainer Rich said...

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.


Related articles

· Saving Time With Server Side Includes
· Making Your Business Look Its Best With Dreamweaver
· Which Is Best: Training Dreamweaver Personnel Or Contracting for Web Design?
· Why Upgrade To Dreamweaver CS4?
· Why Is Dreamweaver So Popular?

Please browse our web site to find out more about
training-dreamweaver and other Microsoft training courses.

Dreamweaver (adobe) tip:

Paragraph formatting

in Dreamweaver if you type in text and press entre you get double line spacing.

To avoid this hold down the shift key and then press Enter for a soft break

View all Dreamweaver (Adobe) hints and tips


Rate this page:
2.1/5 (108 votes cast)
Institute of IT Training - Accredited Training Provider ILM
Microsoft Certified Partner
Microsoft Office Specialist Authorised Testing Centre (MOS and MCAS)

Prodigy Platinum Learning Partner

Institute of IT Training - Accredited Training Provider
McAfee Secure sites help keep you safe from identity theft, credit card fraud, spyware, spam, viruses and online scams
Association of Computer Trainers verified by visa, mastercard securecard