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

Retailer Tips for STI Awareness Month

Adult retail isn’t all fun and flirty games. We love helping folks navigate pleasure and desire for themselves and with their partners, but brick-and-mortar staff are also on the front lines for myriad educational opportunities — especially in April, which is Sexually Transmitted Infections Awareness Month.

Rin Musick ·
opinion

Strategic Upscaling of Non-4K Content

If content is king in adult, then technical quality is the throne upon which it sits. Technical quality drives customer acquisition and new sales, while cementing retention and long-term loyalty.

Brad Mitchell ·
opinion

A Look at the Evolution of Pleasure-Enhancing Pumps

Even though the pleasure industry is famously innovative, most “new” products are still ultimately reimagined versions of previous ones. They expand on the core idea by introducing a new feature or solution that takes the original concept to a new level of sensation, functionality or convenience.

Rebecca Weinberg ·
profile

AEBN Reflects on 25 Years of Innovation, Success

Reflecting on 25 years of success, AEBN honchos Jay Strowd and Bishop Wages harken back to 1999, when the company that would become a storied brand first broke away from an online DVD/VHS mail-order business to evolve as an entity solely dedicated to streaming video.

Alejandro Freixes ·
opinion

Platforming the Pleasure Industry With Our Collective Voice

Very early in my business career, I learned not to mix business with politics or religion. This was a foundational tenet that just made sense. For much of my career, that was easy. However, it has become increasingly difficult to avoid bringing politics into business.

Ken Sahn ·
profile

WIA Profile: Jessica Jasmin

Jessica Jasmin’s heart has always been in production, but there were a number of stops along her route to becoming creative director for Gamma Entertainment.

Women In Adult ·
opinion

The ABCs of POS Systems for Adult Store Owners

What point-of-sale system is best for your adult business? Figuring that out can be frustrating, since the numerous options and acronyms don’t easily translate into a clear checklist of features and benefits you can weigh.

Sean Quinn ·
profile

Hayley Davies: From New Zealand Math Nerd to Fast-Rising Adult Star

Growing up, New Zealander Hayley Davies was a proud nerd who participated in mathematics competitions against students from much higher grades. Her good looks turned out to be a kind of secret weapon, causing peers to underestimate her intellectual acumen.

Alejandro Freixes ·
opinion

How Pleasure Brands Can Leverage Strategic PR Amid Mainstream Media Layoffs

Thanks to the mainstreaming of intimacy products, pleasure brands can now gain broad exposure in all kinds of publications, from Cosmo to Allure to Good Housekeeping. Unfortunately, the economic uncertainty dominating the world and challenging businesses has hit the media sector particularly hard.

Kathryn Byberg ·
profile

Elly Clutch: English Teacher Turned Creator Shifts Into High Gear

Growing up, Elly Clutch often felt a bit strange and out of place. In fact, that feeling has stuck with her for as long as she can remember. Nevertheless, she has grown a lot of confidence since her youth, and now knows that being an outgoing and fun-loving nerd makes her uniquely memorable.

Alejandro Freixes ·
Show More