Checking for browser compatibility
Video: Checking for browser compatibilitySo once you have your website created, the next step is really moving into the testing phase. Everything again looks great and really all I have been doing up till this point is just going to File and previewing it in a browser and I have actually just been using Firefox and this is the sort of the extent of my testing so far. I've been able to check out sort of these different pages, and it seems like a pretty good site. But again, this is just in Firefox 3.0.1 on a Mac and really I want to make sure it's going to look good in all browsers on all machines.
Viewers: in countries Watching now:
Creating a First Web Site with Dreamweaver CS4 shows the basics of doing just that—building a first web site. Adobe Certified Instructor Paul Trani walks through the important steps of creating a web site from concept to publishing, using Dreamweaver CS4. He teaches how to create basic web pages, add text and image content, use Cascading Style Sheets for design and layout, create a photo gallery, and even check the final site for browser compatibility. He also demonstrates how to create a contact form to encourage viewer feedback on the site. Exercise files accompany the course.
- Exploring the Dreamweaver workspace for first-time users
- Linking to external web pages and sites
- Improving the presentation of text and images on the site
- Building a layout using Cascading Style Sheets
- Making navigation reusable across multiple pages
- Displaying content using the Accordion widget
- Creating a contact form and sending data from it
- Making the final site search engine-friendly
Checking for browser compatibility
So once you have your website created, the next step is really moving into the testing phase. Everything again looks great and really all I have been doing up till this point is just going to File and previewing it in a browser and I have actually just been using Firefox and this is the sort of the extent of my testing so far. I've been able to check out sort of these different pages, and it seems like a pretty good site. But again, this is just in Firefox 3.0.1 on a Mac and really I want to make sure it's going to look good in all browsers on all machines.
So, that's really my next step is to check the browser compatibility of this site and I'm just going to go through page by page and check this out. Instead of previewing in a browser, I'm going to check the browser compatibility for this page. And what it does is it opens up this Compatibility panel and it says no issues were detected. So it's working out quite well, and it does tell me, hey if you want to get started, you can always use this little arrow over here to check for browser compatibility that way, but in general I don't get any errors with this page.
Let's go to the Contact page. So from here, I can go to this arrow if I want to and Check Browser Compatibility on the Contact page, no issues were detected. Let's go to the About page. The About page is a little more complex because it does have this Spry Accordion. Let's check its browser compatibility and it doesn't have any issues. You are probably wondering now, what browsers it's checking against. Well, go down to Settings to view all of the browsers I'm currently targeting.
Everything from Firefox to Internet Explorer on Mac and PC, Netscape, Opera and Safari. They are all there, even the versions are there as well. So, this is what I'm checking this against. But this is really nice. I don't have to have all of this browsers loaded on my Mac, nor do I even need a separate machine to test these browsers on, this does it for me. I really appreciate this as well. Portfolio page gets a little more advanced, because again, we have this gallery, so let's see how this one fairs.
Check Browser Compatibility, and it goes through and it finds two errors. The great thing about is it says, hey you know what? Found two errors on line 17 in the Lightbox Cascading Style Sheet and this error only affects Netscape 8.0, which let's be honest not many people use that browser. The second one is on line 17 and affects sort of multiple browsers. So, let's just check that up. Let's go to lightbox.css.
Let's go down to line 17, there we are. And really, this is just talking about the overlay position. The left is set to 0, which it automatically defaults the left side to zero anyways, so I would consider this an unnecessary CSS property. So, I can just remove that entirely. So, let's run this again. See if we get any other errors. We do get a couple more errors so let's check those out. Line 57, and really this is the process of finding the error or getting and again, another scenario, this outline is set to None, but if I'm trying to set an outline, I would set it to something.
By default it's set to None. So, I'll just remove that entirely as well. Let's check the browser compatibility again, and lastly we have this unsupported property, this zoom property on line 61, so right down here, it says zoom. Well, it does affect multiple browsers, but it's not going to hurt anything if I have this in there. I would rather have this sort of zoom effect with the gallery, work in some browsers, then remove it completely. The more advanced browsers will get this experience and the older browsers won't, and I'm totally comfortable with that, but I just want to be aware of this going on.
So, I'm just going to leave that in there entirely and I can go ahead and save this page. I can go ahead and preview this in a browser maybe one more time and just make sure everything is going to be fine. But again, that's the job of checking for browser compatibility, making sure this works without really having all of those browsers on your system. But really the testing phase is going to consist of checking this in multiple browsers on multiple machines, and it's nice that Dreamweaver gives me that capability from within the interface.
Find answers to the most frequently asked questions about Creating a First Web Site with Dreamweaver CS4 .
Here are the FAQs that matched your search "" :
- Q: After creating the website as instructed in the tutorial, and uploading the site to the internet, the website does not seem to work for every browser. How can one make sure that the website will work for all browsers?
- A: An important step when creating a website is to check for browser compatibility. To do so in Dreamweaver, go to Window > Results > Browser Compatibility. Click the Play icon in the left corner then go to Settings and target the browsers you¹re after. Then hit the Play button to run it and check the page that’s open. If there’s an issue, best-case scenario, it should show you what the issue is and link out to a solution. Worst case is that it’s a pretty unique issue, in which case further troubleshooting would be needed.
- Q: The background image is tiling, instead of being one large image. How is this corrected in Dreamweaver?
- A: This can be corrected by using a larger image, something around 1024x768 that will fill up most of the monitor space. The issue is that the background image is just too small. Note that tiling of the background image can be turned off in the CSS Panel, but that would only result in a single small image. So it’s better to just use a larger image for the background.
- Q: When trying to import SWF content, I get a message: “This file is outside the root folder of site ‘xxxxx’ and may not be accessible when you publish the site.” What is causing this?
- A: Make sure your SWF file (and all files you put on a page) are located in your local site. Basically make sure you set up a local site in the site panel. It will ask where to put your local site on your computer. Just make sure you SWF is in that folder and you won’t get that error.
Sorry, there are no matches for your search "" —to search again, type in another word or phrase and click search.