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 © 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

opinion

How Retailers Can Keep Travel-Season Sales Going Beyond the Holidays

It’s November, and that means quick escapes. The couple planning a cozy night in, the weekend guest grabbing a cheeky host gift, and the solo traveler prepping for an impulsive getaway all share one thing in common: They’re not just browsing; they’re assembling a discreet, travel-ready kit.

Sunny Rodgers ·
opinion

Stuffed With Gratitude: How to Cook Up a Spanksgiving Feast for Fans

Every November, we fill up social media with family photos, pumpkin spice overload and, of course, lists of all the things for which we are thankful. November is the month of gratitude. For adult creators, however, gratitude doesn’t have to be Hallmark-sweet. It can be a little messier, a little cheekier — and a whole lot hotter.

Megan Stokes ·
opinion

How to Keep Your Collabs Safe, Legal and Drama-Free

Whether you’re a veteran performer who has already racked up collaborations into the triple digits, or a newbie still just figuring things out, your commitment to working safely and sanely should never become compromised. After all, you want to star in the next viral clip — not the next cautionary tale.

Ivy Minxxx ·
profile

WIA Profile: Sandra Bruce

It goes without saying that a retailer who takes a “hands-on” approach to guaranteeing quality and safety is more likely to earn customer trust and loyalty. In the pleasure industry, where shoppers seek products to enhance their intimate lives — and even fulfill their deepest desires — that personal touch is even more impactful.

Women in Adult ·
profile

The Male Rose Co-Founder Heather Gruber Discusses Journey in Building the Brand

Recognizing high demand and interest as profitable pleasure products spread across influencer platforms, in 2021, Jamael Williams and Heather Gruber decided to launch a company with a clear mission: to help men feel more comfortable using pleasure products and talking about them with their partners.

Colleen Godin ·
profile

WIA Profile: Katie

Katie is the ultimate girl’s girl. As community manager at Chaturbate, she answers DMs, remembers names, and shows up for creators and fellow businesswomen when it counts. She’s quick to credit the people around her, and careful to make space for others in every room she enters.

Women in Adult ·
opinion

How to Stay Legally Protected When Policies Get Outdated

The adult industry has long operated in a complex legal environment subject to rapid change. Now, a confluence of age verification laws, lawsuits, credit card processing and data privacy rules has created an urgent need for all industry participants — from major platforms to independent creators — to review and potentially overhaul their legal and operational policies.

Corey D. Silverstein ·
opinion

The Basics of Total Cost of Ownership in Retail

Almost every retailer has experienced that “oh no” moment. It’s when support tickets pile up, staff can’t get answers fast enough, store openings get delayed because Wi-Fi isn’t ready, or the POS proves to be outdated. Suddenly you’re too busy fixing problems to focus on driving sales.

Sean Quinn ·
opinion

How to Market a Product You Can't Name or Show Online

You’re trying to sell legal, helpful products to consenting adults — yet the internet treats those products like a problem. The viral success every brand dreams of can seem maddeningly elusive when search engines block or restrict common keywords, social feeds shadow-ban PG posts, review bots misread images and policies shift overnight with no notice.

Hail Groo ·
opinion

From Compliance Chaos to Crypto Clarity: Making the Case for Digital Payments in Adult

These are uncertain times for adult merchants. With compliance tightening and age verification mandates rising, the barrier to entry keeps getting higher.

Cathy Beardsley ·
Show More