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 © 2025 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

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 — and that’s exactly why so many creators trust her. “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 ·
profile

WIA Profile: Katie

Katie is the ultimate girl’s girl. As community manager at Chaturbate, she answers DMs, remembers names, and shows up for creators and fellow businesswomen when it counts. She’s quick to credit the people around her, and careful to make space for others in every room she enters.

Women in Adult ·
opinion

How to Stay Legally Protected When Policies Get Outdated

The adult industry has long operated in a complex legal environment subject to rapid change. Now, a confluence of age verification laws, lawsuits, credit card processing and data privacy rules has created an urgent need for all industry participants — from major platforms to independent creators — to review and potentially overhaul their legal and operational policies.

Corey D. Silverstein ·
opinion

From Compliance Chaos to Crypto Clarity: Making the Case for Digital Payments in Adult

These are uncertain times for adult merchants. With compliance tightening and age verification mandates rising, the barrier to entry keeps getting higher.

Cathy Beardsley ·
opinion

Real-Time Insights to Streamline E-Payments and Stop Lost Sales

A slow checkout process is more than just annoying — it’s expensive. In a high-risk sector like the adult industry, even small delays or declined transactions can cost businesses thousands in lost revenue every month.

Jonathan Corona ·
profile

FSC's Valentine Leads Charge for Sex Worker Rights and Financial Access

Before ever stepping into a courtroom, Valentine already understood the power of presence. After all, they’ve shimmied on stages as a burlesque performer, consulted behind the scenes for creative businesses and moved through the adult industry not just as an advocate, but as a participant.

Jackie Backman ·
Show More