Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Closed Thread
Call 2 css for 2 different mobile browser in a single html page
Old 02-02-2011, 12:34 AM How to call 2 css in a single html page for 2 mobile browser (iphone/Blackbery)
soumen_07's Avatar
Average Talker

Posts: 29
Name: Soumen paul
Trades: 0
Hello everyone,

I need to call 2 different type of style sheet in a single html page. its for mobile application one is iphone and other is Blackberry.

Like the CSS - style1 & style2,

if user browse with iphone then call style1 ,

and user browse with Blackberry then call style2

how it will possible?

Thanks in advance!!
__________________
ssp

Last edited by soumen_07; 02-02-2011 at 12:39 AM..
soumen_07 is offline
View Public Profile
 
 
Register now for full access!
Old 02-02-2011, 09:21 AM Re: Call 2 css for 2 different mobile browser in a single html page
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Quote:
I need to call 2 different type of style sheet in a single html page.
You don't need extra stylesheets, what you need is MEDIA QUERIES to address the mobile devices.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
View Public Profile
 
Old 02-04-2011, 12:57 AM Re: Call 2 css for 2 different mobile browser in a single html page
soumen_07's Avatar
Average Talker

Posts: 29
Name: Soumen paul
Trades: 0
Thanks for your reply!!

@media only screen and (max-device-width: 480px) this is i have used for iphone.

But i need also MEDIA QUERIES for Blackberry and Desktop. it will be grate if i can see an example.

Thanks in advance!
__________________
ssp
soumen_07 is offline
View Public Profile
 
Old 02-04-2011, 09:16 AM Re: Call 2 css for 2 different mobile browser in a single html page
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
You need to start reading:
http://developer.apple.com/safari/li.../metatags.html

http://www.webassist.com/free-downlo...roadmap_15.php

http://css-tricks.com/css-media-queries/

http://www.mobilexweb.com/
http://perishablepress.com/press/200...bile-makeover/
http://www.sitepoint.com/blogs/2009/...bile-friendly/
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
View Public Profile
 
Closed Thread     « Reply to Call 2 css for 2 different mobile browser in a single html page
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.55108 seconds with 12 queries