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

Kylie Baker Details Rise From Store Support to Regional Manager

When Kylie Baker first stepped into adult retail, it wasn’t part of a long-term career plan. It was a favor, a simple act of support for a friend who needed help covering shifts. Nearly 12 years later, that moment has evolved into a leadership career defined by adaptability, resilience and a people-first approach.

Ariana Rodriguez ·
opinion

Building a Queer Audience Across Multiple Platforms

Building a queer audience online can be like trying to flirt at a party where half the people pretend you don’t exist, and the other half want you to leave. On some platforms, the word “gay” alone can tank visibility. On others, showing too much skin, using the wrong hashtag or linking too directly to adult content can quietly bury your posts before anyone sees them.

Guy Spencer ·
profile

Ohdoki Sets Sights on International Growth With 'The Handy'

Some brands rush to cover every facet of the pleasure products market. Others aim to do one thing — and do it exceptionally well.

Colleen Godin ·
opinion

5 Key Features Your Adult Ecommerce Website Might Be Missing

I spend a lot of time on adult ecommerce websites. Not just looking at the front end, but digging into what’s actually driving traffic, conversions and long-term growth. Here’s the reality: most adult brands are leaving money on the table.

Hail Groo ·
profile

SantanaXXL on Breaking Barriers and Making Room for Plus-Size Creators

SantanaXXL doesn’t do subtle. There’s his loud, contagious laugh. The oversized, impossibly cool Louis Vuitton shades perched effortlessly on his face during his chat with XBIZ. The ensemble he casually describes as a “lounge outfit.”

Jackie Backman ·
profile

Ricci Levy on Standing Up for the Right to Be Heard

When Ricci Levy speaks about human rights, she does not use detached, academic language. She speaks with urgency, emotion and the kind of passion that immediately makes it clear just how deeply personal this work is for her.

Women In Adult ·
opinion

Lessons From Decades of Building the Adult Internet

After my first year of college, I needed a job. So I did what people did back then: I opened the newspaper and started scanning the classifieds. One listing stood out: “Image Librarian.” I had no idea what that meant, but I applied, and got the job.

Tanguy ·
opinion

Tips for Building a Pleasure Brand That Lasts

Each year, promising new indie brands enter the pleasure industry with fresh, creative designs meant to enhance intimacy, wellness and self-discovery. Some are embraced by retailers and shoppers, while others fade quietly.

Ian Kulp ·
opinion

How to Build a Cross-Border Payment Strategy

Pull up your analytics and you’ll likely find that international traffic is already on your site. Some of those visitors convert, but a lot more bounced at checkout — and a meaningful chunk tried to pay but were declined.

Joe Fredricks ·
Show More