Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Nov 26, 2012 07:49 AM by asteranup
Contributor
3060 Points
2788 Posts
Nov 24, 2012 04:00 PM|LINK
I'm looking for an example of using media quereis on and asp.net web page. What gets added to the web page and what gets added to the css page?
I have found examples of media queries but not how to us them on asp.net web pages. So I'm not sure how it all comes together.
2662 Points
1040 Posts
Nov 24, 2012 05:49 PM|LINK
Media query?
I think you mean to say audio and video tags?
You can use ids or classes for tags and the tags are well told in the link
http://www.w3schools.com/html/html5_video.asp
http://www.w3schools.com/html/html5_audio.asp
Nov 24, 2012 06:15 PM|LINK
The video stuff is great, but I'm neededing to know where to put what for responsive design. So page content will size for screens smaller than a desktop. What goes in the html [page and what goes in the css file?
Nov 25, 2012 07:33 AM|LINK
For this you will be needed to set the width and height property to percentage and also a meta tag for device width.
You can use
tag { width: 60%; height: 40%; }
This way browser will set the width and height according to the device width.
Star
14392 Points
2447 Posts
Nov 26, 2012 06:41 AM|LINK
Hi,
check this site for code and examples on Media Queries:
https://developer.mozilla.org/en-US/demos/devderby/2012/october
All-Star
30184 Points
4906 Posts
Nov 26, 2012 07:49 AM|LINK
You can check this-
http://weblogs.asp.net/dwahlin/archive/2012/05/22/getting-started-with-css-media-queries.aspx http://www.adobe.com/devnet/dreamweaver/articles/introducing-media-queries.html http://line25.com/tutorials/create-a-responsive-web-design-with-media-queries
Jackxxx
Contributor
3060 Points
2788 Posts
Looking for example of using media queries
Nov 24, 2012 04:00 PM|LINK
I'm looking for an example of using media quereis on and asp.net web page. What gets added to the web page and what gets added to the css page?
I have found examples of media queries but not how to us them on asp.net web pages. So I'm not sure how it all comes together.
Jackxxx
Afzaal.Ahmad...
Contributor
2662 Points
1040 Posts
Re: Looking for example of using media queries
Nov 24, 2012 05:49 PM|LINK
Media query?
I think you mean to say audio and video tags?
You can use ids or classes for tags and the tags are well told in the link
http://www.w3schools.com/html/html5_video.asp
http://www.w3schools.com/html/html5_audio.asp
~~! FIREWALL !~~
Jackxxx
Contributor
3060 Points
2788 Posts
Re: Looking for example of using media queries
Nov 24, 2012 06:15 PM|LINK
The video stuff is great, but I'm neededing to know where to put what for responsive design. So page content will size for screens smaller than a desktop. What goes in the html [page and what goes in the css file?
Jackxxx
Afzaal.Ahmad...
Contributor
2662 Points
1040 Posts
Re: Looking for example of using media queries
Nov 25, 2012 07:33 AM|LINK
For this you will be needed to set the width and height property to percentage and also a meta tag for device width.
You can use
tag { width: 60%; height: 40%; }This way browser will set the width and height according to the device width.
~~! FIREWALL !~~
raju dasa
Star
14392 Points
2447 Posts
Re: Looking for example of using media queries
Nov 26, 2012 06:41 AM|LINK
Hi,
check this site for code and examples on Media Queries:
https://developer.mozilla.org/en-US/demos/devderby/2012/october
rajudasa.blogspot.com || blog@opera
asteranup
All-Star
30184 Points
4906 Posts
Re: Looking for example of using media queries
Nov 26, 2012 07:49 AM|LINK
Hi,
You can check this-
http://weblogs.asp.net/dwahlin/archive/2012/05/22/getting-started-with-css-media-queries.aspx
http://www.adobe.com/devnet/dreamweaver/articles/introducing-media-queries.html
http://line25.com/tutorials/create-a-responsive-web-design-with-media-queries
Anup Das Gupta
Mark as Answer if you feel so. Visit My Blog