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
CSS for Mobile?
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
Tips for Testing Content to Maximize Conversions
Everyone’s looking for what’s next, hot and new. That’s understandable. Who doesn’t want to be on the cutting edge, riding the next wave? But before you rush to reinvent yourself, remember this: The most successful creators aren’t the ones chasing trends. They’re the ones who take the time to figure out what actually works before committing to big changes.
Eversense Founder Matty Hennessy Discusses Engineering Products for Trans Bodies
For transgender folks shopping for pleasure products, it can be a daunting challenge to find items that accommodate their changing bodies, address their specific needs and support gender affirmation during intimacy.
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.
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.
LSMT's Allison Brazier on Creating a More Connected Shopping Experience
Managing adult retail stores in Florida and Texas has never been for the faint of heart, but lately it’s become a veritable high-wire act. Between new legislation and shifting local attitudes, it seems like every day brings a new obstacle.
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.
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.
Tips for Supporting Male Shoppers Managing Stress and Performance Issues
When focusing on men’s sexual health, one crucial topic to discuss is how stress can impact men’s sexual well-being, and what can be done about it.
Sienna Day Talks Creator Life, Longevity and Loving the Work
When Sienna Day heard her name called onstage at the Euro XMAs in Amsterdam, the newly crowned 2025 MILF Creator of the Year froze — then floated.
Tips for Upgrading Retail Merchandising With AI
When an order from CalExotics arrived at one of our stores in Livermore, I wanted to help build the wall. After reorganizing it, I took a picture and asked ChatGPT what it thought of the wall. First, it noticed a gap in the top row and recommended adding a toy there or changing the spacing. Then it said, “I noticed there are some toys on the right that aren’t in boxes. You should take those down or put them in boxes.”