N
N
nes2011-11-04 08:10:15
Opera
nes, 2011-11-04 08:10:15

Layout for opera mini and mobile browsers

Hello!
How to make the text (so to speak article) fit the width of the device screen?

UPD:
so as not to rotate the page to the right / left when reading the text. Example: the main page (and not only) of habra in opera mini.

UPD2:
for Opera Mini, the solution was as follows:
for text blocks, you need to set max-width: 100%;
For mobile devices - a solution proposed by Zazza.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
Z
Zazza, 2011-11-04
@nes

meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"
tags got cut (

Z
Zazza, 2011-11-04
@Zazza

something like:
disables multitouch, i.e. the page will be shown 1:1 as is
jquery mobile, sencha touch can also do a lot of things

Z
Zigmar, 2011-11-04
@Zigmar

Don't forget to add a link to the full version of the site. And then reading the site in one column on a smartphone with a decent resolution, or even more so on a tablet, is sad.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question