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

Testing the web site

From: Creating a First Web Site with Dreamweaver CS6

Video: Testing the web site

Once you have your site completed, you can start to test it out to make sure it looks good across different browsers as well as browser versions and different screen sizes. So what I can do here in Dreamweaver is I can turn on that Live View button, which is what I've been doing all along as I develop, is to render out the page just to make sure everything is looking good, and it is. I can view this on a desktop size, a tablet size, to see how the content adjusts, and even a mobile device size, just to see how everything looks.

Testing the web site

Once you have your site completed, you can start to test it out to make sure it looks good across different browsers as well as browser versions and different screen sizes. So what I can do here in Dreamweaver is I can turn on that Live View button, which is what I've been doing all along as I develop, is to render out the page just to make sure everything is looking good, and it is. I can view this on a desktop size, a tablet size, to see how the content adjusts, and even a mobile device size, just to see how everything looks.

And everything looks pretty good that way. I am going to turn off that mobile size because I want to go beyond what I can do here in Dreamweaver, at least right here with the Live View button, because I can actually view it in an actual browser. So File > Preview in Browser will enable me to preview it in Safari, Chrome, because those are the browsers that I have installed. Whichever ones you have installed will be listed there. And I can see what it looks like in those browsers and as well as how the screen adjusts as well for Safari in this case.

But do be honest with you, I don't have all the browsers installed. You know there is too many different versions as well, so how do I tackle that problem to make sure it looks great across different browsers and browser versions? Well, what I can do is, in Dreamweaver, I am going to turn off that Live View button. I have right over here, oh, look I have this Check browser compatibility button. Perfect. Selecting that, and I can check browser compatibility. As I do that, it runs and checks all of the code and shows me in this Browser compatibility panel, any issues that it might have.

So you can line 17 has an Expanding Box Problem. What does that mean? As I look over here, it says hey, you know what, you probably have content that doesn't fit a fixed width or height that the box is, causing the box to expand. So fix it. Notice that it affects Internet Explorer 6.0. So before I dive into solving this problem, I want to show you that Internet Explorer 6.0 is being tested against because as I select this Play button, I can go to Settings, and you can see right in here all the different browsers I am testing against, Internet Explorer 6.0.

So if that's an objective, make sure that's checked, and that's where that comes from. All right, so for this issue let's take a look at line 17. With that selected, even as a double-click it, you can see highlights that box. That's really the offending box. I can go to Split view, and I can see oh, that PNG file, that image, is 220 pixels wide by 103 high. But the box, this logo, that's the issue. So I am going to go into my stylesheet.css, going down to that logo selector.

This is the box that's having the issue. And you see the height looks pretty good because the height is 113 and the height there is 103. It's really the width is smaller than the width of the image. So I need to change that to a minimum of 220 in this case. Hitting enter. With that done, I can go back over here and check browser compatibility. Notice how it clears out that problem, and everything is good. Going to Design view, I can say you know what, I don't have any more issues so therefore I can save all pages, save everything, and I can move on to testing some of the other pages as well.

So I am going to open up the about page, and again, this is in Chapter 09/01 Begin, if you have access to the exercise files. I am going to just test out this about page by doing the same thing, which is going to be check browser compatibility just like that. Oh good, I like that, no issues. Let's move on. I am going to open up the portfolio page. Again, this is a little more complex. I have this portfolio down in here of images and even a video, so let's see what happens in here.

Check Browser Compatibility, oh the same issue: Expanding Box Problem. Double-clicking it, I can see that box. That's the offending box right there. And if I go to Properties, I can see it's that container. Okay, so that's the issue. So let's take a look at that container. As I close those other CSS style sheets, I can see my container right there. So that's the issue. So I can take a look at it, but know you can also view these solutions for this issue on adobe.com.

So you can always select that and that will actually jump out to that page and potentially offer up some solutions. In this case, it's saying to use word wrap. That's one way of doing things. Well, they're not really words; they are actually images going on in here. So let's take a look right over here. I am going to show you just a nice technique. I can take a look at-- well may it's the height because it looks like this guy is actually goes clear down here, and he's probably getting cut off right there.

So I can change the height to maybe 100%. Let's try that. Let's run this. Okay that's not the issue. So the Width looks good, because that's 100% as well. And this is interesting because it actually is wrapping the image, so there really isn't an issue that we are going to have. But in order to clear out this problem, did you know that I can turn on or off certain properties? So I can disable any one of these properties to see what the offending code is.

So I can click here to disable that CSS property for the width, and then I can run it, oh, and it clears out that issue. So it turns out that this is going to be fine and actually is not needed in this case. And it gets rid of that issue and in fact, if I just double-check my page, just by saving all my pages, clicking on Live view, you can see how this looks. But I do have this wrapping issue that I'm noticing.

This motion graphics, even as I change the screen size--oh, there it looks good, but obviously I have kind of an issue with that word Motion Graphics. So I actually need to make sure it actually clears out everything on both sides of it. I want to make sure it's on its own line. So let's take a look at that particular item, because since I fixed that problem, I need to make sure this is on its own line. So if I take a look at that object, this here, if I turn off Live view and scroll down, I can see this is an h2 rule.

So I can go into my CSS styles and take a look at h2. And here it says that it's 18 pixels. That's fine. I'll double-click on that h2 because I need to clear it out on both sides. Make sure nothing is on either side of it. So what I am going to do is I am going to go into Box. Again, that was the issue. And I'm going to Clear both, clear out everything on both sides of it. So, don't put anything next to it is what I am saying. Clicking Apply, clicking OK, let's go to Live view. Scrolling down, you can see now it's on its own line.

Even as I go to the tablet size and even the mobile size, everything looks good. Turning that off. All right, that's great. Portfolio looks great. It doesn't have any more issues. I can save all those pages. I can open up the final two pages, which would be in my contact page. Opening that up, running Check Browser Compatibility. No issues there. I love seeing that. Opening up that last page, that thank you HTML. This one is really straightforward.

So checking browser compatibility for that one. Everything looks good. All right, I like this. In fact, I can save all my pages, and this is great. With my site tested and looking great, I can then go into the next step, which would be uploading this website.

Show transcript

This video is part of

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

30 video lessons · 42172 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 CS6.

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 preferences from 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.

Learn more, save more. Upgrade today!

Get our Annual Premium Membership at our best savings yet.

Upgrade to our Annual Premium Membership today and get even more value from your lynda.com subscription:

“In a way, I feel like you are rooting for me. Like you are really invested in my experience, and want me to get as much out of these courses as possible this is the best place to start on your journey to learning new material.”— Nadine H.

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.