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

profile

WIA: Kristin Zuri-Godskind Draws on Deep Expertise to Elevate Sportsheets

After 18 years in the pleasure products industry, Kristin Zuri-Godskind has experienced the business from nearly every angle. Her career has taken her through retail, merchandising, management, distribution, sales, product education and manufacturing, giving her a perspective shaped as much by the sales floor as by the relationships she has built along the way.

Ariana Rodriguez ·
opinion

Why Retail Expertise Is Essential When AI Tools Analyze Store Data

Somewhere in one of our stores, someone scanned a barcode into a quantity field. The number entered was 8,388,607. At $19.99 per unit, that made a single line item worth roughly $167 million. The number was so large that the import failed immediately.

Zondre Watson ·
trends

Why Adult Retailers Need Better Training on Disability, Chronic Health

Every customer who walks into an adult store brings a different body, comfort level and set of needs. Retail staff already know how to ask the basics: Do you prefer vibration or suction? Are you using water-based or silicone lubricant? Do you have a latex allergy? What size are you comfortable with?

Mersy Love ·
profile

YourVids' Gino on Listening, Learning and Putting Creators First

Get Gino talking about the work creators pour into their careers, and his passion quickly becomes contagious. He deeply appreciates the people powering the business and has firm ideas about what they deserve in return.

Jackie Backman ·
profile

Vendo CEO Mitch Platt Reflects on 20 Years of Lessons and Evolution

More than 20 years ago, three entrepreneurs in Barcelona began gathering over beers to pitch, dissect and routinely destroy one another's business ideas. The ritual was simple: One person arrived with a concept, while the other two tried to expose every weakness. Any proposal that survived earned another look. Most did not.

Jackie Backman ·
profile

Abby Rose on Camming, Connection and Creative Chaos

Abby Rose has mastered the art of viewing life through rose-colored glasses, finding the good in even the most challenging circumstances. With the bubbly charm of Elle Woods and the steely determination of G.I. Jane, she pairs a resilient spirit with a deep love for bringing people together.

Jackie Backman ·
opinion

How to Avoid the Hidden Risks of AI-Generated Legal Documents

Artificial intelligence can write a contract in seconds, but that does not mean it can write the contract your business actually needs. Across the adult industry, operators, creators and producers are increasingly using generative AI to prepare model releases, performer agreements, privacy policies, takedown notices, employment documents and responses to regulators. The appeal is obvious: Legal work is expensive, AI is fast and the resulting document often looks impressively professional. That polished appearance is exactly what makes the practice dangerous.

Corey Silverstein ·
profile

Anastasia's Bedroom Founder Chelsea Mani Bridges Ecommerce With Local Events

Chelsea Mani spends her weekends at local markets, where she displays an assortment of lingerie ranging from new lace bodysuits and silky robes to carefully sourced, cleaned and pressed vintage pieces. Passersby stop to examine the fabrics, ask questions and sometimes find themselves opening up unexpectedly.

Jackie Backman ·
profile

Karla Lane Talks Curves, Confidence and Career Longevity

With her killer curves poured into a slinky silver dress, longtime performer Karla Lane swept onto the XMAs stage in Miami earlier this year to claim the trophy for BBW Premium Social Media Star. As she ascended the steps, presenter and fellow performer Vicki Chase purred, "Come on, big mama," in a playful nod to Latto's viral anthem.

Jackie Backman ·
opinion

How Rolling Reserves Affect Cash Flow and Merchant Stability

You log in to your payment processor’s dashboard, discover they are withholding 10% of your sales, and immediately assume something has gone wrong. In reality, everything is working exactly as intended.

Jonathan Corona ·
Show More