opinion

CSS for Mobile?



Any good developer knows that you’re only as good as your bag of tricks – well, and your adherence to standards compliance! For those of you in the standards compliance camp, while you should never rely solely on tricks to make your site stand out, style sheet tricks will allow you to get the most out of your CSS-based projects and CSS may prove even more beneficial to your mobile efforts.

Separate CSS for Mobile/Handheld Devices

Mobile is the wave of the future and many developers are trying to capitalize on this new demographic growth as fast as they can. In order to create a separate style sheet for mobile users, there is a snippet of code that can be used in order to identify mobile users from traditional Web users and give them new styles so that your site will look even better on the small screen.

link type="text/css" rel="stylesheet" href="handheldstyle.css" media="handheld"

You can set up your mobile style sheets to allow for vertical-only scrolling by keeping your maximum widths to 150 pixels and allowing for smaller font sizes or other mobile-positive format styles that will help your users get the most out of your site.

Related Article

Mobile Market to Hit $3.5 Billion

Click here to mail me for sensible processing options to boost your bottom line and opportunities for branding and marketing exposure.

Click Here for Additional Help Starting or Improving Your Online Business

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

trends

Creator Tips for Planning Your Content Calendar With AI

One of the most common complaints I hear from creators is: "I know I need to post more, but I never know what to post."

Megan Stokes ·
opinion

Retailer Tips for Making Trade Show Travel Pay Off

When sales slow, retailers understandably start looking for ways to tighten the budget. Every expense gets another look, and travel and trade show attendance can quickly end up on the list of things to cut.

Rin Musick ·
profile

BranditScan's Aerie Saunders on Fostering Creator Knowledge, Confidence and Community

Aerie Saunders is firmly in her season. When she sits down with XBIZ, a fall-scented WoodWick candle burns in the background, pumpkins decorate her desk and the first signs of spooky season are already on display. Not that Saunders waits until autumn to embrace the macabre.

Jackie Backman ·
opinion

Why Adaptive Pleasure Belongs Across Every Adult Retail Category

For too long, accessibility in adult retail has been treated as a side conversation. When it appears at all, it is often tucked away in a hard-to-find website category, framed as a special accommodation or treated as a medical add-on rather than a legitimate pleasure category. That approach misses the point.

Hail Groo ·
opinion

What Mastercard's Scam Monitoring Program Means for Adult Merchants

Mastercard's Scam Merchant Monitoring Program (SMMP) has introduced a new, investigation-led framework that works very differently from the ratio-based chargeback programs the industry has relied on for years. It applies to card-not-present merchants globally, and Mastercard's guidance on business models warranting closer attention includes adult content and dating platforms, along with subscription services, digital goods and forex.

Len Garcia ·
trends

Why Retailers Need a Clearer Conversation About Margins

With rising manufacturing costs and living expenses, manufacturers’ suggested retail price (MSRP) no longer aligns with the actual costs of operating a business. This situation calls for a discussion about the current industry pricing landscape, potential adjustments, and how companies can make an impact.

Mersy Love ·
opinion

Why the Right Merchant Category Code Matters for NSFW AI Businesses

You explained exactly what your NSFW AI business does to your payment processor and they seemed to get it. The underwriting process felt thorough and exhausting, but it was well worth it because you began processing.

Jonathan Corona ·
profile

WIA: Perfect Fit Brand's Cee Cee Peters on Building a Lasting Career

For much of her decades-long career in the adult products industry, Cee Cee Peters let her work speak louder than her name. While she built relationships with retailers, became a top salesperson, and watched the business evolve from a movie-dominated marketplace into today’s sexual wellness industry, Peters deliberately kept a relatively low public profile. Raising children during the rise of the internet made that decision especially important to her.

Ariana Rodriguez ·
trends

How Local Payments Can Expand Access and Reduce Friction at Checkout

Global adult platforms often enter new markets with a familiar assumption: If their checkout accepts major cards, they're ready for local customers. In reality, payment habits vary widely by country. Dutch consumers use iDEAL for online shopping, BLIK is a leading e-commerce payment method in Poland, and India's UPI handles billions of transactions each month.

Mitch Platt ·
trends

A Look Inside CC Wellness' Production Process

Stepping through the front doors of CC Wellness’ 215,000-square-foot headquarters, you first encounter the lubricant manufacturer’s comprehensive process in the company’s wall of plaques, which celebrate more than 25 formulas that have received FDA 510(k) clearances for medical devices.

Ariana Rodriguez ·
Show More