educational

Cross Browser Web Design

Do you think that you know what your Web site looks like? Are you sure? If you haven’t checked it out using a variety of different browsers, screen resolutions, and color depths, then you may have no idea how your site’s visitors really see your site!

Imagine – you go out and buy a brand new big screen television, you know those really expensive ones you always see at Best Buy. You get your television home and set it up. Excited, you turn it on and switch to your favorite channel only to find out that you can't watch your favorite channel because your television is not compatible with it. Now, we all know that this can't happen because television manufacturers and television broadcasters conform to standards defined by standards committees.

Web browsers are similar in that they must also follow the standards defined by a committee. In the case of HTML, the World Wide Web Consortium, or W3C for short, defines the various standards for Hypertext Markup Language (HTML) as well as other Web standards. These standards must be followed by both website designers and Web browser developers in order for websites to display information correctly.

As the HTML standards change, browser developers release new versions to conform to these standards. Unfortunately, most end-users don't always have the latest browser versions installed. This is compounded by the fact that many browser developers might conform to the standards differently. With all these different browsers, websites can look and behave very differently from browser to browser. In some cases, websites may not even work at all. There are so many standards for HTML that it seems impossible for one person to know all of them. That is why the W3C has free tools to validate your HTML code. You can use HTML Tidy or their online validator. These will provide an initial assessment to make sure your website code follows the published standards.

When designing a website, there are some key things that need to be considered, including screen size and the number of colors that your site is going to use. Most designers are targeting 800x600 and many new monitors are supporting much higher resolutions. But watch out if you expect to have any television based Web browsers as they are limited to 544x372. Most monitors can handle at least 16-bit color depth (65,536 colors), however television based Web browsers are mostly supporting only 8-bit color depth (256 colors) and colors will look very different from television to television.

In order to make your website look "cool," you may resort to DHTML and javascript. This is probably the number one problem with browser compatibility. Many old browsers only support a very small subset of the javascript functions that current browsers support. Furthermore, Netscape and Internet Explorer have different implementations of DHTML and javascript and may need to be coded differently based on the browser viewing the page.

What about Flash, Java, and other plug-ins? There are good and bad points about these. Not only can you go beyond what the browser supports, but you can do some really sophisticated things that HTML does not support. As long as the user has the correct plug-in and version installed, your code will display correctly. But the downside is that users may not have the plug-in installed and/or may not want to install it. So you have no way to guarantee that the user will go through the effort of downloading and installing the plug-in in order to even use your site. Website users have literally declared war on browser pop-ups. Mozilla based browsers have built-in mechanisms to prevent pop-ups. There is also a free plug-in called Ad Shield that works with Internet Explorer. So if you are using pop-ups for important aspects of your site (like free trial memberships), well, don't. There is a good chance that many of your site's users won't even know that those pop-ups exist.

Website designers must pay special attention to making websites accessible to the largest audience possible. This can be a difficult challenge, especially if you don't have access to the many different browsers and versions available. Not to mention testing them on different operating systems. Netmechanic and Any Browser provide detailed testing and will literally show a snapshot of what your site looks like using over 16 different browser configurations. This is the starting point for identifying visual problems with your site.

HTML standards will continue to change, the browser war will wage on, and websites will continue to push the envelope for improved user experience. In order to get an accurate assessment of your website users, you need to pay attention to the type of browsers being used on your site. All this information is captured in your website logs, so you should spend some time checking these statistics on a regular basis, so you can make sure that your website is correctly working for all of your users.

Chris Bruce is a programmer at Bionic Pixels specializing in server-side web development.

Copyright © 2024 Adnet Media. All Rights Reserved. XBIZ is a trademark of Adnet Media.
Reproduction in whole or in part in any form or medium without express written permission is prohibited.

More Articles

opinion

Unpacking the Payment Card Industry's Latest Data Security Standard

The Payment Card Industry Data Security Standard (PCI DSS) is a set of requirements and guidelines that apply to all businesses that accept credit card payments, and is designed to ensure the security of those transactions.

Jonathan Corona ·
opinion

Compliance With State Age Verification Laws

During the past year, website operators have faced a slew of new state age verification laws entailing a variety of inconsistent compliance obligations.

Lawrence Walters ·
opinion

Merchants in Spotlight With Visa's VIRP

By now, most merchants know about the Visa Integrity Risk Program (VIRP) rolled out in spring 2023. The program is designed to ensure that acquirers and their designated agents — payment facilitators, independent sales organizations and wallets — maintain proper controls and oversight to prevent illegal transactions from entering the Visa payment system.

Cathy Beardsley ·
opinion

How to Know When Hosting Upgrades Are Really Needed

I was reminded about an annoyingly common experience that often frustrates website owners: upgrades. Sometimes, an upgrade of physical system resources like CPU, RAM or storage really is required to solve a problem or improve performance… but how do you know you’re not just being upsold?

Brad Mitchell ·
profile

WIA Profile: Natasha Inamorata

Natasha Inamorata was just a kid when she first picked up a disposable camera. She quickly became enamored with it and continued to shoot with whatever equipment she could afford. In her teens, she saved enough money to purchase a digital Canon ELPH, began taking portraits of her friends, shot an entire wedding on a point-and-shoot camera and edited the photos with Picnik.

Women in Adult ·
trends

Collab Nation: Top Creators Share Best Practices for Fruitful Co-Shoots

One of the fastest ways for creators to gain new subscribers and buyers, not to mention monetize their existing fan base, is to collaborate with other creators. The extra star power can multiply potential earnings, broaden brand reach and boost a creator’s reputation in the community.

Alejandro Freixes ·
opinion

Bridging Generational Divides in Payment Preferences

While Baby Boomers and Gen Xers tend to be most comfortable with the traditional payment methods to which they are accustomed, like cash and credit cards, the younger cohorts — Millennials and Gen Z — have veered sharply toward digital-first payment solutions.

Jonathan Corona ·
opinion

Legal and Business Safety for Creators at Trade Shows

As I write this, I am preparing to attend XBIZ Miami, which reminds me of attending my first trade show 20 years ago. Since then, I have met thousands of people from all over the world who were doing business — or seeking to do business — in the adult industry.

Corey D. Silverstein ·
opinion

Adding AI to Your Company's Tech Toolbox

Artificial intelligence is all the rage. Not only is AI all over the headlines, it is also top of mind for many company leadership teams, who find themselves asking, “How can this new tool help our company?”

Cathy Beardsley ·
opinion

The Ins and Outs of IP Addresses: What Website Owners Should Know

Think about your home address, the place you live. It is unique. That’s important because when you decide to invite someone over, they will need directions to find you. It’s even more important if you want a lot of visitors.

Brad Mitchell ·
Show More