Mobile Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsMobile ProgrammingMobile Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old September 7th, 2011, 09:10 PM
w0webdesigner w0webdesigner is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2010
Posts: 26 w0webdesigner User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 56 m 52 sec
Reputation Power: 0
I want to create a mobile site, but...

Hey guys!

I have a website in the making right now, and it is an ASP.NET-run website. That means I use a MasterPage.master for my layout.

On my website there are certain pages, called "individual pages" for certain local businesses that are often accessed through smartphones. I would like to change around the CSS of these "individual pages" to be more mobile-friendly, and ONLY these individual pages. I am a newbie when it comes to converting a desktop-layout to a mobile one, but I understand the simplest way to do it is by attaching a certain stylesheet like

<link rel="stylesheet" href="handheld.css" type="text/css" media="handheld" />

in the <head> </head> of every page I want to be mobile friendly. But, since all my stylesheets are connected to one single MasterPage file, I do not know how to implement mobile changes to only a portion of my website's pages...

So, how do I implement in an ASP.NET website particular stylesheets to particular webpages?

Thanks, I really appreciate it!

Henri

Reply With Quote
  #2  
Old December 18th, 2011, 11:19 PM
stephen011 stephen011 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2011
Location: Santa Ana,CA, USA
Posts: 22 stephen011 Negative: is most likely a SPAMMER and a traitor to the cause. 
Time spent in forums: 7 h 38 m 36 sec
Reputation Power: 0
ASP.NET 2.0 provides the same adaptive rendering as ASP.NET 1.x, although a browser's capabilities are determined by Browser Definition Files rather than a element. browserCaps support still exists in ASP.NET 2.0 for backwards compatibility, but has been deprecated and its use should therefore be avoided.) In addition to adaptive rendering, ASP.NET 2.0's rendering framework also can be configured using control adapters. A control adapter is an optional class that, if present and properly configured, is used to render the Web control instead of using the control's default rendering logic. In short, using control adapters you can take the core functionality of a Web control, but completely customize the markup emitted. This is useful if you want to modify the default rendering for all browsers or if there are particular user agents - certain cell phones or portable devices, perhaps - for which you need to provide a customized rendering.

Reply With Quote
Reply

Viewing: Dev Shed ForumsMobile ProgrammingMobile Programming > I want to create a mobile site, but...

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap