Welcome to WebmasterWorld Guest from

Forum Moderators: not2easy

Message Too Old, No Replies

CSS for smartphones

2:35 pm on Apr 30, 2011 (gmt 0)

Junior Member

5+ Year Member

joined:Aug 21, 2010
posts: 60
votes: 0

So i may be way behind the times on this one (still kinda new to the game too) but...

I know i can link an alternate stlye sheet for printing or IE...what about for mobiles like iphone or android... what coding would a person use?

thanks yall!
4:43 pm on May 2, 2011 (gmt 0)

New User

5+ Year Member

joined:Aug 21, 2009
posts: 15
votes: 0

In my admittedly very limited experience in mobile web site development, I have found that the CSS really doesn't change for iPhone or Android devices versus what they would be on "regular" browsers.

Avoid using pixel widths for elements (though they are OK for margins and padding for the most part).

Check out this article on Apple's website for iPhone layout hints: [goo.gl...]

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members