educational

The Devil is in The Details

What started out as a tutorial on non-mirrored background designs has turned into a community exercise in code improvement, and illustrates the value of a group approach to problem solving, and the benefits of sharing ideas on Webmaster message boards. Confused? Read on:

Today's article was going to be the new tutorial I had heard about on the XBiz Cosmic Village 'Design Station' message board. While a valuable idea, these tutorials would receive a wider audience if run as a featured article rather than as a message board thread, and so to try and benefit the largest number of XBiz readers possible, I began my usual copy, paste, spell check, and edit process, starting with "saint's" original post, which appears below:

Here's a tutorial on how to do the background on sites such as girlswet.net or on allpetite.com, which use a layout that extends to both sides of the screen. There are a lot of ways to do this, but my way is ideal because you can use both a left background image and a right background image, which lets you do nearly anything you want. You are not restricted to having both sides at the same level, which makes it look like a straight line (just like on allpetite.com). The design of www.girlswet.net is a little bit more customizable because it does not require 'mirrored' images — notice how it dips down on the right side. Also with this code your site design will be in the dead middle of the screen, centered from top to bottom as well as from left to right.

The steps involved in doing this are very simple:

1) Make your background files. They need to be as tall as the site design is, and however many pixels wide. These files are just going to repeat themselves, so if you have a plain bar-type of design, your image will be fine at only 1pixel wide. If you choose a more intricate bar or gradient, then you might need it to be a bit wider. Just remember to make a design that will work when being repeated.

2) Now edit your source code; directly after the body tag, paste the following HTML:

table width=100% height=100% border=0 cellpadding="0" cellspacing="0">
td align=center>
table width="100%" height="480" border="0" cellpadding="0" cellspacing="0">
td align=center table width="100%" height="480" border="0" cellpadding="0" cellspacing="0">
td width="50%" background="leftbackground.gif" /td td>

3) Directly before the /body tag, paste this HTML:

/td td width="50%"
background="rightbackground.gif" /td /table>
/td /table /td /table>

4) After this is done you should be all set. Just make sure that you change the '480' value so that it's the same as your design's height, and make sure that the 'leftbackground.gif' and 'rightbackground.gif' both match your two background file's names. This is one of my primary goals here at XBiz — to continually improve and strengthen the Webmaster community that has developed here.

Note: sometimes (I think it is because I use imageready to cut up my designs) my background files seem to be 1 pixel off. All you need to do to fix this is take the .gif files into Photoshop. Make sure your background color is the same as the site's on your color tablet.

Choose Select > All. Select your move tool, then hit your down arrow once — presto! You're set. If you need to see a working example of this coding, then go to https://www.girlswet.net/tour1/ and view the source. If anyone has any improvements on the code or know why I might be coming 1pxl short sometimes please let me know.

Hmmmm:
While I do not claim to be a designer or HTML guru, at this point I had an uneasy feeling that while this design approach would (and does) work in MSIE, that this wouldn't work with 'Netsuck' or any other less-forgiving browser, and a quick check with NS6 proved my suspicions correct. What I noticed was that without the cross-browser margin codes in the body tag, the vertical alignment was not possible (a point that Zayne E. also made). Furthermore, the lack of TR and [code]/TR tags within the table code will cause problems with some browsers, and in my experience, NS and certain other browsers do not render background images within 'empty' table cells — something that the addition of a simple ' ' and 1x1 transparent .gif can often fix, since there only needs to be 'some' content within the cell for it to render properly.

This exercise illustrates the importance of cross-browser testing, but for me also showed the value of trying to do things within an open community atmosphere where we all benefit from new ideas and approaches to common problems. And this is one of my primary goals here at XBiz — to continually improve and strengthen the Webmaster community that has developed here, so that we may all be better at what we do. While I could try to post the correct code to do what was originally intended, I would rather see the right answer come from within the Design Station community itself - after all, there's a lot more design talent there than I have:

Think you can solve our cross-browser problems? Click the link below, and share your secrets!

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: Reba Rocket

As chief operating officer and chief marketing officer of Takedown Piracy, long at the forefront of intellectual property protection in adult entertainment, Rocket is dedicated to safeguarding the livelihoods of content creators and producers while fostering a more ethical and sustainable industry.

Women In Adult ·
opinion

Protecting Content Ownership Rights When Using AI

In today’s digital age, content producers have more tools at their disposal than ever before. Among these tools, artificial intelligence (AI) content generation has emerged as a game changer, enabling creators to produce high-quality content quickly and efficiently.

Corey D. Silverstein ·
opinion

How Payment Orchestration Can Help Your Business

An emerging payment solution is making waves in the merchant world: the payment orchestration platform (POP). It’s quickly gaining traction as a powerful tool for managing online payments — but questions abound.

Cathy Beardsley ·
opinion

Fine-Tuning Refund and Cancellation Policies

For adult websites, managing refunds and cancellations isn’t just about customer service. It’s a crucial factor in maintaining compliance with the regulations of payment processors and payment networks such as Visa and Mastercard.

Jonathan Corona ·
profile

WIA Profile: Laurel Bencomo

Born in Cambridge, England but raised in Spain, Laurel Bencomo initially chose to study business at the University of Barcelona simply because it felt familiar — both of her parents are entrepreneurs. She went on to earn a master’s degree in sales and marketing management at the EADA Business School, while working in events for a group of restaurants in Barcelona.

Women In Adult ·
profile

Gregory Dorcel on Building Upon His Brand's Signature Legacy

“Whether reflected in the storyline or the cast or even the locations, the entertainment we deliver is based on fantasy,” he elaborates. “Our business is not, and never has been, reality. People who are buying our content aren’t expecting reality, or direct contact with stars like you can have with OnlyFans,” he says.

Jeff Dana ·
opinion

How to Turn Card Brand Compliance Into Effective Marketing

In the adult sector, compliance is often treated as a gauntlet of mandatory checkboxes. While it’s true that those boxes need to be ticked and regulations must be followed, sites that view compliance strictly as a chore risk missing out on a bigger opportunity.

Jonathan Corona ·
opinion

A Look at the Latest AI Tools for Online Safety

One of the defining challenges for adult businesses is helping to combat the proliferation of illegal or nonconsensual content, as well as preventing minors from accessing inappropriate or harmful material — all the more so because companies or sites unable or unwilling to do so may expose themselves to significant penalties and put their users at risk.

Gavin Worrall ·
opinion

Know When to Drop Domains You Don't Need

Do you own too many domains? If so, you’re not alone. Like other things we accumulate, every registered domain means something to us. Sometimes a domain represents a dream project we have always wanted to do but have never quite gotten around to.

Juicy Jay ·
opinion

Understanding 'Indemnification' in Business Contracts

Clients frequently tell me that they didn’t understand — or sometimes, even read — certain portions of a contract because those sections appeared to be just “standard legalese.” They are referring, of course, to the specialized language used in legal documents, including contracts.

Corey D. Silverstein ·
Show More