Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,154,745 members, 7,824,145 topics. Date: Saturday, 11 May 2024 at 12:34 AM

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. (3600 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)

2017 Whatsapp Tricks: How To Check Who Visited Your Whatsapp Profile / Top Tips For Beginning Bloggers / New! Supercharge Your Website With Our Unlimited Web Hosting, Only ₦2700 1st Yr

(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. 7
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.