educational

The Basics of Web Design, Part 3: Tips & Tricks

In the previous installments of this series, we looked at some of the problems, as well as the solutions, typically encountered during the web design process. In our final installment, we'll end this series with five of the top tips and tricks that you can use to ensure a visually consistent design that will render properly across as wide a range of platforms and browsers as possible.

We've already discussed the need to test your pages in at least the two most popular browsers, MSIE and Netscape, using both the current, as well as the previous versions. Browser testing will only reveal the weaknesses and limitations of your coding, however. What you really need to do is employ these following simple techniques; they will help ensure the cross-browser and cross-platform compatibility of your web site, preventing many problems that might otherwise occur:

Check Your Graphics
Check your graphics with your monitor set at 256 (8-bit), 65,000 (16-bit), and 16.7 million (24-bit) colors. You might be amazed at how poorly a beautiful photo on a 32-bit display shows up on an 8-bit display, although several programs can do a remarkable job of color depth reduction and file size optimization - topics beyond the scope of this article.

For now, we'll assume you understand photographs should generally be saved as 24-bit .jpeg's while graphics like navigational buttons should be saved as 216 (or lower) color .gif's. By sticking to the "browser safe" 216-color web palette when creating your web site's graphics (as well as when selecting text, hyperlink, and background colors), you will stand a much better chance of having an attractive web page under nearly all conditions.

A word of caution, however: for sites that feature many color photographs (adult photo galleries, for instance), trying to save these images as .gifs will not do you any favors; and will in fact harm your site's overall appearance. Use .gif's for graphics only.

Stabilize Page Widths
Prevent your site from appearing to "shrink and grow" due to differences in screen resolution by placing your content in a centered table. A 600-pixel wide table is the most commonly used size, although I often use a table that is 540-pixels wide for enhanced WebTV compatibility. This is by far the single most important technique that you can use for ensuring visual consistency.

Don't want to use a table for enhanced layout control? Then be sure to test all of your pages at 640x480, 800x600, and 1024x768. Using this handy JavaScript will make it easy for you to do.

Use Absolute Values
Don't use "Default" (or "Normal") settings or "percentages" such as <TABLE width="100%"> if at all possible (see above). Every bit of information that YOU specify is one less that the browser or user can specify – and that's one of the keys to visual consistency. Take control of your page's appearance and hold on to it!

Also be sure to make horizontal rules a specified pixel width, rather than a percentage, such as <HR width="480">. This can make a great technique to determine if your table width is "growing" unexpectedly. For instance, say I place a 600-pixel wide horizontal rule outside of my 600-pixel wide table at the bottom of my page (for testing purposes only). I can use the rule as a "ruler" – giving me a comparative visual measurement to see if changes made to the table due to nesting of additional tables, adjusting of cell spacing and cell padding values, or the addition of content will affect the actual width of the table. Try this trick yourself and see what I mean.

Tame Your Text
We already discussed how text plays a big role in determining your site's appearance. Let's now look at ways to mitigate some of the most common text problems. If you want to use "standard" sized text, specify font size="3" not "normal." If you like "Arial" text (a Windows standard), then use face="Arial, Helvetica, sans-serif" (Helvetica is the Mac equivalent of Arial, while sans-serif will be the default "fall back" font for this family of type faces).

You should also be extremely careful when using "fancy" fonts. The reason why so many pages use the same standard fonts is because they're standardized. Your computer (and everyone else's) is limited to displaying only the fonts that are currently installed on your individual system. What this means is that even though that hot looking "Old English" font on your "Goth" site looks cool on YOUR computer, on MY computer (that doesn't have "Old English" installed), you'll see either my default font (if you're lucky), or a big pile of gibberish if you're unlucky. If you absolutely can't live without that special font, then make graphics in your paint program using this font, and limit it to logos, headlines, and navigational buttons.

Manage Your Margins
Finally, although they're not a valid part of the HTML specification, I also recommend that you specify your page's margin sizes using both the MSIE and Netscape syntax. For example, the "body" tag below specifies the top and left margins (the only one's needed) for both MSIE and Netscape, as well as background color, text color, plus standard, active, and visited link colors:

<BODY topmargin="5" leftmargin="0" marginwidth="0" marginheight="5" bgcolor="#000000" text="#FFFFFF" link="#0000FF" alink="#FF0000" vlink="0000FF">

If you employ these five simple techniques, you will create a site that appears as you intended when viewed across a wide range of platforms and browsers. This visual consistency will help avoid those "unpleasant little surprises" that can cost you sales, and will help you to portray a much more professional image. In a future series, we'll take a look at some adult-specific design considerations. Stay tuned…

Copyright © 2026 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

How Adult Businesses Can Navigate Global Compliance Demands

The internet has made the world feel small. Case in point: Adult websites based in the U.S. are now getting letters from regulators demanding compliance with foreign laws, even if they don’t operate in those countries. Meanwhile, some U.S. website operators dealing with the patchwork of state-level age verification laws have considered incorporating offshore in the hopes of avoiding these new obligations — but even operators with no physical presence in the U.S. have been sued or threatened with claims for not following state AV laws.

Larry Walters ·
opinion

Top Tips for Bulletproof Creator Management Contracts

The creator management business is booming. Every week, it seems, a new agency emerges, promising to turn creators into stars, automate their fan interactions or triple their revenue through “secret” social strategies. The reality? Many of these agencies are operating with contracts that wouldn’t survive a single serious dispute — if they even have contracts at all.

Corey D. Silverstein ·
opinion

Building Sustainable Revenue Without Opt-Out Cross-Sales

Over the past year, we’ve seen growing pushback from acquirers on merchants using opt-out cross-sales — also known as negative option offers. This has been especially noticeable in the U.S. In fact, one of our acquirers now declines new merchants during onboarding if an opt-out flow is detected. Existing merchants submitting new URLs with opt-out cross-sales are being asked to remove them.

Cathy Beardsley ·
trends

How to Handle Payment Disputes Without Sacrificing Trust

You can run the best-managed and most compliant website out there, but that still doesn’t completely shield you from the risks tied to payment disputes. Buyer’s remorse, an unclear billing description or even a simple misunderstanding can lead a customer to dispute a transaction. Accumulate enough disputes, and both your reputation and revenue could be at risk.

Jonathan Corona ·
trends

WIA Profile: Taylor Moore

With a 70-person team and a growing slate of tools for content creators, the Teasy Agency has developed a reputation for putting talent first. That commitment owes a lot to co-founder Taylor Moore’s own experiences as a cam model.

Jackie Backman ·
profile

WIA Profile: Cathy Turns Creator Platform Experience Into a Model-First Playbook

As both a model and industry executive, Cathy lives in two worlds at once. “Since I do both things, I can act as the liaison between the model community and the rest of the SextPanther team,” she tells XBIZ.

Jackie Backman ·
opinion

From Compliance to Confidence: The Future of Safety in Adult Platforms

In numerous countries and U.S. states, laws now require platforms to prevent minors from accessing age-inappropriate material. But the need for safeguarding doesn’t end with age verification. Today’s online landscape also places adult companies at uniquely high risk for inadvertently facilitating exploitation, abuse or reputational harm, or of being accused of doing so.

Andy Lulham ·
opinion

What Adult Businesses Need to Know About Florida's Age Verification Law

The rise and proliferation of age verification laws has changed the landscape for the online adult industry. A recent and compelling example is the state of Florida, where Attorney General James Uthmeier has filed multiple complaints against major platforms as well as affiliates accused of violating the state’s AV law.

Corey D. Silverstein ·
opinion

Maintaining Brand Trust in the Face of Negative Press

Over the last year, several of our merchants have found themselves caught up in litigation over compliance with state age verification laws. Recently, Segpay itself was pulled into the spotlight, facing scrutiny over Florida’s AV statute, HB 3. These stories inevitably get picked up by both industry and mainstream news outlets.

Cathy Beardsley ·
opinion

How to Switch Payment Processors Without Disrupting Business

For many merchants, the idea of switching payment processors can feel pretty overwhelming. That’s understandable. After all, downtime can stall sales, recurring subscriptions can suddenly fail, or compliance gaps can put accounts at risk. Operating in a high-risk sector like the adult industry can further amplify the stress of transition.

Jonathan Corona ·
Show More