Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,194,091 members, 7,953,324 topics. Date: Thursday, 19 September 2024 at 02:12 PM

How Do I Make A Site Fits Any Screen Size Including Mobile. - Webmasters (2) - Nairaland

Nairaland Forum / Science/Technology / Webmasters / How Do I Make A Site Fits Any Screen Size Including Mobile. (3633 Views)

5 Lies You Need To STOP Telling Yourself As A Site Owner / I Need A Site Where I Can Sell My Goods / I Show You How I Make $1,000 Per Day With Facebook Viral Script On My Blog (2) (3) (4)

(1) (2) (Reply)

Re: How Do I Make A Site Fits Any Screen Size Including Mobile. by Raylight2(m): 10:38am On Jan 04, 2013
<link rel="stylesheet" href="my-style.css" media="screen">
<link rel="stylesheet" href="mobile.css" media="handheld">
I used the above links to link the css stylesheet with the index page.

the format used below to write the stylesheet for mobile. when i previewed on my phone, some mobile devices responded to it while others loaded that of screen. is my format wrong pls tell me. I'm trying to get the mobile view of my site.(still on my PC).
@media only screen (max-device-width:480px) {
body {
width:n%;
background-color:#x;
}
}

(1) (2) (Reply)

Triple Verified USA Paypal Account ( Personal Verified Account ) / Nairahost really not a hosting to go with ! / 2017 Whatsapp Tricks: How To Check Who Visited Your Whatsapp Profile

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 6
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.