
- Javascript Basics Tutorial
- Javascript - Home
- Javascript - Overview
- Javascript - Syntax
- Javascript - Enabling
- Javascript - Placement
- Javascript - Variables
- Javascript - Operators
- Javascript - If...Else
- Javascript - Switch Case
- Javascript - While Loop
- Javascript - For Loop
- Javascript - For...in
- Javascript - Loop Control
- Javascript - Functions
- Javascript - Events
- Javascript - Cookies
- Javascript - Page Redirect
- Javascript - Dialog Boxes
- Javascript - Void Keyword
- Javascript - Page Printing
- JavaScript Objects
- Javascript - Objects
- Javascript - Number
- Javascript - Boolean
- Javascript - Strings
- Javascript - Arrays
- Javascript - Date
- Javascript - Math
- Javascript - RegExp
- Javascript - HTML DOM
- JavaScript Advanced
- Javascript - Error Handling
- Javascript - Validations
- Javascript - Animation
- Javascript - Multimedia
- Javascript - Debugging
- Javascript - Image Map
- Javascript - Browsers
- JavaScript Useful Resources
- Javascript - Questions And Answers
- Javascript - Quick Guide
- Javascript - Functions
- Javascript - Resources
Retrofit existing web page with mobile CSS
To retrofit, use the CSS media queries, and allow different stylesheets to different browser capabilities. A benefit is that you do not have to go for any server-side code.
This would require you to add specific detection code to the script for grouping of the device.
The media queries handle even devices you've never heard of.
Set the following:
@media handheld and (max-width: 480px), screen and (max-device-width: 480px), screen and (max-width: 600px) { body { color: blue; } }
- Related Articles
- Center pagination on a web page with CSS
- The Mobile Web
- Save a Web Page with Python Selenium
- Set the navigation bar to stay at the top of the web page with CSS
- Difference Between T-Mobile Internet and T-Mobile Web
- How to completely fill web page with HTML canvas?
- How do I redirect my web page with JavaScript?
- Difference Between Web page and Website
- Creating ‘Copy to Clipboard’ feature on a web page with JavaScript
- Set the navigation bar to stay at the bottom of the web page\nwith CSS
- Responsive Web Design with Media Queries in CSS
- Responsive web design best for mobile seo strategy
- CSS @page rule
- How to make the web page height to fit screen height with HTML?
- Remove any text not inside element tag on a web page with JavaScript?

Advertisements