Welcome to WebmasterWorld Guest from 220.127.116.11
Forum Moderators: open
This is a test to demonstrate strange Android
have you tried any other browsers on your android?
i would try overriding default CSS width properties for the relevant elements to see if that "fixes" anything.
Inevitable question: If you rearrange the sentence, does the wrapping stay at the 30% point or at the after-"Android" point?
The markup you show is irrelevant to the problem. We need the complete markup.
This is the complete markup. The only code on the page is the above single line.
Does the Android come with more than one font? Can you change them within the browser?
If you set your paragraph to bold (more horizontal space) or italic (less), does it wrap after the same number of words, or after the same physical space?
And if you set it to-- ugh! -- justify, does the right margin line up straight?
Have you, perhaps inadvertently, styled the body element to something less than 100%?
sounds like a similar problem you get with
<p style="text-align: justify">blabla..
a longer sentence is supposed to wrap at the end of the line but it wraps at about halfway. so simple and no one seems to care. it's the worst browser i can think of. nearly 2013 and bugs like ie5..
Does this mean you see the same thing on your Android device? If so, which device is it?
Within a div container, I have a <p> that is supposed to fill the width of the div. I've tried width:auto, width:100%...nothing seems to work on Android Browser.
the suggested solution in this case is to make a transparent png and set it as background for the <p>.
!? yeah, you heard right. crazy hack and it worked. but: eventually i decided to not implement it. on principle, no way i do that stuff to cater such a whack browser. i say it again: for me as a developer, the android browser is by far the worst and most annoying browser on the market these days.
google for "p style incorrect unless background color applied".
so are we talking about the same issue?
I have now tested this on 5 Android devices in my office with other employees, including my old one from 3 years ago, and I still can't duplicate the problem.
That is really strange.