Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Applying style to content

From: Creating a First Web Site with Dreamweaver CS4

Video: Applying style to content

Once you've all the text content you want on the page, you can then start to style it, including changing the font. Maybe I want to change the background. Maybe I want to put an image in the background. Well, that's really the next step is applying a basic styling to this page. And this index_html page I can apply all of those appearance styles to it using the Page Properties button. So in the Properties panel down at the bottom, if I just click Page Properties, it will open up that Page Properties dialog box.

Applying style to content

Once you've all the text content you want on the page, you can then start to style it, including changing the font. Maybe I want to change the background. Maybe I want to put an image in the background. Well, that's really the next step is applying a basic styling to this page. And this index_html page I can apply all of those appearance styles to it using the Page Properties button. So in the Properties panel down at the bottom, if I just click Page Properties, it will open up that Page Properties dialog box.

And the first thing I'd like to do in the Appearance section is change the page font. So I can change the page font to any sort of system font and again these are the standard fonts that 90+% of the computers out there have and in this case I'm going to change it to an Arial or Helvetica. So I can change the page font, I can change the color of the text, I can even change the Background color, and I'll change it to a medium blue and click Apply, just to see how that's going to look.

And that makes a world of difference in and of itself with just those three changes. But again, I can take this to the max level by adding abackground image. So that's what I want to do. I'm going to click Browse and I'm going to go into the images folder and I'm going to select this bkgdHome.jpg. So I'm going to put this big JPEG in the background, choose it, and I'm going to click Apply. Oh yes. In fact let me move that out of the way. You can see the page is really coming together now.

That's looking really good. Okay. I'm going to select OK. Now if I select this text here, you can see that this header text has a format of Heading 1. So I want to keep that in mind because if I want to change this I can change that. Even if I wanted to change this line underneath it, I can always change the format to say for instance Heading 2 and it applies that sort of basic style to it.

So I bring that up so you've an understanding of how the hierarchy of information should be. Again your first header line, your secondary line is Heading 2 and if I go back into Page Properties, I can change those styles using the Headings CSS. So again in here I can change the page font. I can change the Heading size, so the size of that text, say for instance, Heading 1 could be 24 pixels.

I can change Heading 2 to be about 18 and I'll click Apply and we can see how that changes. And again, you can adjust that all you want. In fact, I'll go about 28 there and click Apply. But you can see how I can modify the headings as well in the Page Properties. I can even go in here and change the color for Heading 2, a gold, and click Apply, something like that. And lastly, what I want to do is I want to focus on the link color.

I'm going to select OK. And right here, you can see that this text is blue. And the link color really isn't going to work for this page. So I want to go ahead and change that. So again, Page Properties and I'm going to the Links CSS and in here again, I can choose the font. I can choose the link color, so this is what I'm going to do. I'm going to choose the link color and maybe I want to change that to white. I'll click Apply. That changes the link color to white.

I can change the rollover color, so when you move your mouse over any one of these links, it's going to change to a different color. In this case, again, I'm going to change it to that orange color. The visited, for the pages I've already visited, maybe I want to change that to a medium gray. And then active is when you click on the link it's going to change to a different color. So I'm going to go to a little more drastic here. I'm going to go to a red. When you rollover the text would turn orange. When you click on it, it will turn red briefly and then if you ever view a visited link, it's going to be in the medium gray.

So I'm going to select OK and now let's see that in action. So in order to do that, I'm going to go to File, down to Preview in Browser and I'm going to preview this in Firefox. It does ask me to save the file. I'll just go ahead and say Save. Sure enough, when I roll over those links, I can see that it changes the color and even when I click on a link, it's going to change it to red. So I'm holding down the mouse button and then when it goes there, obviously it's going to go to that page, which currently doesn't have any styles.

So you can see that Rollover, I get a different color. If I click, it's going to go to that page. And this is really good comparison showing you what a page looks like for adding a style and then what it could look like after. And if I go back in Dreamweaver, again, all this is done through your Page Properties. You're allowed to and able to effectively define a whole new style to this page through one dialog box.

Show transcript

This video is part of

Image for Creating a First Web Site with Dreamweaver CS4
Creating a First Web Site with Dreamweaver CS4

32 video lessons · 51559 viewers

Paul Trani
Author

 

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Join now "Already a member? Log in

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed Creating a First Web Site with Dreamweaver CS4.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Are you sure you want to delete this note?

No

Your file was successfully uploaded.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.