How to define a page's size on HTML5?
I'm making a webpage for my iPhone's lock screen. I want to see the page realsize on my computer, so I can get the spacing and stuff right. How can I define my page's height and width?
I know it's pretty basic but I haven't found anything useful after ten minutes searching and guessing. I'm used to HTML4, I've only started learning HTML5 and JavaScript today for this project.
Added (1). If someone could just give me the tag or attribute…
I got 'round the problem by making a 960x640px picture and setting it as the (non-repeating) background, but I'd still like to know the code for future use.
Mobile Website:
320 and Up - The 'tiny screen first' responsive boilerplate: http://stuffandnonsense.co.uk/projects/320andup/
Responsive Navigation Patterns: http://bradfrostweb.com/blog/web/responsive-nav-patterns/
5 Stunning and Usable Mobile Website Designs: http://designfestival.com/5-stunning-and-usable-mobile-website-designs/
Learn the Mobile Web: http://learnthemobileweb.com/2009/07/mobile-meta-tags/
10 Ways the Mobile Web is Different: http://www.elated.com/articles/10-ways-the-mobile-web-is-different/
Redesigning a Site For Mobile: What's Involved?: http://www.elated.com/articles/redesigning-a-site-for-mobile-whats-involved/
Make Your WordPress Website Mobile-Friendly in Minutes: http://designfestival.com/make-your-wordpress-website-mobile-friendly-in-minutes/
How to Validate & Test Your Designs for the Mobile Web: http://designfestival.com/how-to-validate-test-your-designs-for-the-mobile-web
Web Mobile Browser Shots: https://browshot.com/
How to Centre and Layout Pages Without a Wrapper: http://camendesign.com/code/developpeurs_sans_frontieres
- Is it possible to delete a facebook page on the iPhone? I have created a facebook page on the iPhone but now I'm thinking of deleting it. I've already search on "Google" and I haven't found anything, so if anyone could help that would be great.
- I admin a page on facebook. But i can't log into it from my iphone? It will just Load. If i put in the wrong password it will tell me. Right password it will just stay on the loading screen.
- Html5 game resolution to fit iphone? I'm making an html5-javascript game, with an official web site, I want also to make my game playable on IPhone, just like angry birds, they have online game and iphone game, So what resolution or what size of canvas, or in general how can i achieve this without losing the game graphics?
- How to refresh Twitter for IPhone me profile page? On the home page, you can scroll to the top and hold it, and it will update, just like the '@' page and the discover page, but for the 'me' profile page, it doesn't work. If I follow people, or they follow me or if I tweet, all the numbers in my 'me' page stay exactly the same. I always have to log out and in again for it to update. Isn't there a faster way? All help is appreciated.