Jump to content

Superbuggg

Members
  • Posts

    1
  • Joined

  • Last visited

Superbuggg's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. Re: browser sizings... there's two different problems: 1. folk using laptop and desktop computers will have various monitor sizes set to various screen resolutions 2. 'Mobile' visitors to your website can be redirected to a resized index page, one with graphics made suitbale for iPads, Android etc.If you really are new to all this, I suggest a way to align stuff with basic .html code. Place all content inside a single 'table' that has it's sizing set to 99%, and it's alignment set to 'centre'. That means even if the screen res is huge, the content will always float to the centre - this only solves problem 1. for folk using computers with various monitor sizes and screen resolutions.Javascript is commonly used in webpages, and works perfectly-well wth iPhone and Android e.g. this bit of java script placed in the head of you .html index page will detect the screen resolution of whoever is viewing the page, and redirect them to a pre-made, suitably-resized page if their screen res is below 799 pixels wide. In this example mobile user's screen size is detected and they're redirected to a iPad-sized version of the index page entitled index_mobile.html This solution solves problem 2. for mobile user's screen-res problem by having a pre-made 'mobile' index page with the graphics sized-down to 800px.<script type="text/javascript"> <!-- if (screen.width <= 799) { window.location = "http://example_domain.com/mobile_index.html"; } //--></script> Good Luck ms lucinka77!
×
×
  • Create New...