Hi there
The last few days I've tried out the YAML Framework a little.
It's pretty cool^^
My Question:
Is there also a solution in YAML to optimize my website for the iPhone or other smartphones?
greetings
Lee
Hi there
The last few days I've tried out the YAML Framework a little.
It's pretty cool^^
My Question:
Is there also a solution in YAML to optimize my website for the iPhone or other smartphones?
greetings
Lee
Hi Lee,
you don't need any special optimisation for the iPhone. The iPhone Safari is a great browser. Just use media queries to adress your mobile Screenlayout, e.g.
In addition you should insert a meta tag vor iPhone scaling and rotation settings, e.g.:Code:<link rel="stylesheet" media="only screen and (max-device-width: 480px)" href="http://www.domain.com/css/mobile.css" type="text/css" />
With these small tricks you can create your iPhone layout easily.Code:<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0;">
Best regards
Dirk
Keine Supportanfragen per PN, Fragen bitte nur im Forum stellen!
- "Yet Another Multicolumn Layout" ist ein modulares CSS Framework zur Erstellung wirklich flexibler, zugänglicher und responsiver Websites.
- "Thinkin' Tags" Rapid Prototyping on a production-ready code basis with YAML 4
- "YAML Builder" A tool for visual layout development of YAML based CSS layouts.
- "YAML Debug" an assistive code diagnostic tool for web developers.
Lesezeichen