开发者

Text based site for mobile phones?

I tested my site on a mobile device and it loaded pretty quickly. However i had to scroll right to see all of the text. The text was pretty big as well.

How can i redesign my site so i dont need to do any scrolling and have smaller text? I know i I seen this before but i cant remember what site did it.

i removed my css and the device scrolled right until the end of my largest div. So i need css to solve this? What css do i need to make the text not big and开发者_Go百科 not cause the user to scroll (horz) no matter how small his screen is?

Also do i detect the user agent in .NET and link an alternative css file or do i detect which css to use elsewhere?


yes you should design an own css-file for the mobile version of your website. either you check the useragent if it's a handheld or you work with the css media type handheld (which is not supported by older browsers) to load the different css-file.

edit: with css you can also replace images with text

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜