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

Checking browser compatibility

From: Managing CSS in Dreamweaver

Video: Checking browser compatibility

Before deploying your styles, you need to make sure that they work properly across multiple browsers. Although there is no substitute for actually testing your pages in the browsers themselves, Dreamweaver has a browser Compatibility Check feature that can often find problems in your CSS that you might otherwise miss. This feature also allows you to target specific browsers, allowing you to check your pages against browsers you might not have installed on your system. So here I have the index file open from the 04_05. And I am just going to go ahead and run a browser compatibility check.

Checking browser compatibility

Before deploying your styles, you need to make sure that they work properly across multiple browsers. Although there is no substitute for actually testing your pages in the browsers themselves, Dreamweaver has a browser Compatibility Check feature that can often find problems in your CSS that you might otherwise miss. This feature also allows you to target specific browsers, allowing you to check your pages against browsers you might not have installed on your system. So here I have the index file open from the 04_05. And I am just going to go ahead and run a browser compatibility check.

You can find that right up here in your Document toolbar. And before I run it, I am going to check on my settings. Now your settings allow you to determine which browsers you want to check against. I am not going to worry about Internet Explorer for Macintosh. And I am not going to worry about Netscape too much either. And notice for other browsers, you determine which version you want to start checking with and then kind of go out from there. So I am going to go ahead and click OK. As soon as I do this it's going to go ahead and run the check for me. And I get to see the results down here in the Browser Compatibility panel. Now I could also just go ahead and go over here and say, Check browser Compatibility.

And I could just hit the play button in this panel, as well; it would give me the same results. Okay, so problems here. It found one error in main.css. Before I move on, I really want to figure out what's going on there. So I am going to switch over, up here in my related files, to main.css, and I'll just switch to Code View, so I can really see what's happening here. Now you can check for browser Compatibility if you're on a HTML file, or if you are on a CSS file. And sometimes you are going to find more information by checking just the styles. So this really isn't a bad idea.

I am going to come in and run another browser Compatibility check. Here I find some specific issues. On line 459, I have an unsupported value called transparent. I don't know about that. Let's go and see. So I am go down to line 459, and sure enough, right there is color transparent. Now transparent is not a proper value for the color property. It is, for background color, but not foreground color. So this particular property actually won't do anything in any of the browsers, so I am just going to go and get rid of that, so I can avoid causing any type of confusion in certain browsers.

Now it's also telling me that on line 1,045, it had trouble parsing the styles. Now that could be a real trouble. So I am going to scroll down to line 1,045. Here we go. And that really looks - hey, look at that. We have got two semicolons in a row here. That's really weird. So I am going to get rid of the extra semicolon. And then I need a semicolon here, so I am going to go ahead and add one here. All right, so that was just a syntax error. It happens when you're typing your CSS. You are going to leave things off, and it's nice to know that Dreamweaver can catch that for you so easily.

I am going to go ahead and save this file. And I'm just going to run the browser Compatibility check one more time. And now no errors come up, good. So we know that at least the external style sheet, from that standpoint, is looking pretty good. I am going to go back to my source code for index.css, and it really doesn't matter whether you're in Code View or Design View, to be quite honest with you. I am going to go right back up and do a Browser Compatibility check again. Okay, so I am not seeing those issues with my external style sheet anymore, but I am seeing something called a Float Drop Problem.

Now what's really cool about this panel is if you notice on the right-hand side it says if a container, including the browser window itself, is not wide enough to accommodate both a float with a specified width and any content with a specific width that follows it, the content after the float will drop below the float rather than wrapping around it. Essentially what's that's trying to say is if the content inside of a float is going to be wider than the float itself, then it's going to cause column drop, or it's going to cause some elements to drop underneath it. That could be a real problem. But I want to know who Dreamweaver thinks it's a problem for? So I am going to look on line 93.

I am going to switch to Source Code. And I am going to scroll down to line 93. And by the way, you can double-click on these. It will take you right to that spot. So it's thinking that my footer is the problem. Well, you know, really, honestly, the footer, it's got these 3 columns 1, 2 and 3. Their width is equal to the width of the footer itself. So what the Dreamweaver is trying to tell me is like, hey, you know, if you put something inside here, this is going to be wider than that. It's going to drop the columns. You didn't know that, right? So it's not always an emergency; sometimes it's just saying, hey, you might want to take a look at this. Now if you do have a real bug, you can click on this View solutions right here, and it's going to take you to Adobe's Web site, to the CSS Advisor, which is sort of an aggregate of all these bugs and issues that come up.

So it's a really nice place to kind of go just check out and read about some browser compatibility issues, and try to find some solutions for it. Now this particular problem doesn't have any type of hacks or solutions that we can use other than the just-don't-do- it solution, but to be honest with you, I know that my footer is going to stay exactly the way it is. I am not going to put any extraneous content in there. And so in this case, it's nice for Dreamweaver to give me a warning about it, but it's really not something I need to be concerned with. So if you're tired of getting messages like this, and I am just going to go back into Dreamweaver here, I can go right over here to the Float Drop problem and right-click and say, you know what, go ahead and ignore that particular issue.

And what it will do is whenever you run a browser Compatibility check, from that moment forward, it will not report back on that problem. It just ignores it. Now from time to time, if you move from one site to another, you might want to turn it back on, because you might want to really see if that is an issue. So I can go right back here to my Browser Compatibility. I can click on this little play button and I can say, Edit Ignored Issues List. When I click on that, it's actually going to open up an Excel Spreadsheet, and it's going to show me any of the conditions that I told it to ignore.

If I wanted to go back to actually reporting on those, all I have to do is delete the issue tag, save the file, and now the next time I check, it will actually go in and check for that specific issue. Now I do want to mention that the Browser Commendably check is not going to pick up on every single error or browser rendering error on your page. And it sometimes is not really going to offer you the specific advice you need in order to fix the problems that it does find. It does, however, do a really great job of picking up on errors and problems within your code that you might have missed, especially when targeting older browsers, or browsers on systems other than the ones installed on your own.

Show transcript

This video is part of

Image for Managing CSS in Dreamweaver
Managing CSS in Dreamweaver

41 video lessons · 20858 viewers

James Williamson
Author

 
Expand all | Collapse all
  1. 4m 12s
    1. Welcome
      1m 10s
    2. Who is this course for?
      1m 5s
    3. Using the exercise files
      1m 57s
  2. 1h 21m
    1. Controlling CSS in Dreamweaver
      2m 34s
    2. Style formatting options
      4m 59s
    3. Controlling shorthand notation
      6m 9s
    4. Building a style-focused workspace
      6m 10s
    5. CSS Styles panel overview
      8m 18s
    6. The Properties Inspector
      6m 39s
    7. Creating styles visually
      11m 32s
    8. Hand-coding styles
      8m 15s
    9. Code hinting and code completion
      7m 11s
    10. Modifying styles visually
      5m 24s
    11. Using the Code Navigator
      4m 47s
    12. Using CSS Inspect
      9m 52s
  3. 1h 14m
    1. Structuring style sheets
      4m 52s
    2. Writing a style header
      2m 40s
    3. Building a color guide
      6m 5s
    4. Writing a style sheet table of contents
      8m 46s
    5. Creating sections for styles
      9m 10s
    6. Using the CSS Styles panel to organize styles
      10m 29s
    7. Resolving conflicts
      7m 3s
    8. Organizing style properties
      9m 33s
    9. Writing a CSS reset
      5m 20s
    10. Writing global classes
      3m 57s
    11. Creating a style guide
      6m 6s
  4. 1h 7m
    1. Preparing custom starter pages
      11m 32s
    2. Building custom starter pages
      10m 8s
    3. Working with code snippets
      9m 54s
    4. Writing snippets
      11m 30s
    5. Importing snippets
      6m 3s
    6. Understanding snippets libraries
      8m 11s
    7. Building a CSS framework using snippets libraries
      10m 36s
  5. 52m 15s
    1. Writing a print style sheet
      10m 3s
    2. Creating print-specific styles
      10m 45s
    3. Preparing modular styles
      4m 33s
    4. Creating modular style sheets
      7m 9s
    5. Checking browser compatibility
      6m 25s
    6. Using conditional comments for Internet Explorer
      6m 58s
    7. Optimizing CSS with Dreamweaver
      6m 22s
  6. 38s
    1. Goodbye
      38s

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 Managing CSS in Dreamweaver.

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.