homepage Welcome to WebmasterWorld Guest from 50.16.130.188
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderator: open

CSS Forum

    
CSS for smartphones
Ben502




msg:4306323
 2:35 pm on Apr 30, 2011 (gmt 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!

 

kb5nju




msg:4306978
 4:43 pm on May 2, 2011 (gmt 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...]

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / CSS
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved