Erik's notes on Writing for the Sony Ericsson cHTML web browser
The cHTML browser allows for the text/html MIME type as well as the application/xhtml+xml MIME type. Provided that the web page is well-formed (either HTML or XHTML), the cHTML browser allows for global (i.e., throughout the whole document) styling in the <body>
tag using the following properties
text=""
bgcolor=""
You can use these properties only in HTML 4.01, XHTML 1.0 Transitional and XHTML 1.0 Frameset. They were introduced in HTML 3, considered deprecated in HTML 4.0, and are absent in the W3C recommendations for XHTML 1.0 Strict (and later) that we should use for writing web pages for handheld devices. Stylesheets should be used instead. They can achive the same effects + much more.
Cascading stylesheets are allowed and highly recommended.
According to the XHTML Basic 1.0 prescriptions, only
color
and background-color
are permitted.
For the most, the Sony Ericsson T610 can do only that. Reading the below notes require knowledge of CSS.
font-family
<h1 style="font-style: italic ;">Writing for Sony Ericsson phones</h1>
.color
color=#ffffff
or
color=rgb(255, 255, 255)
or
color=white
.background-color
background-color
is allowed. The property can
be noted in an external stylesheet, internal stylesheet, and
inline. There are limitations to its application. The <body>
tag will often accept only inline rendering, i.e., for a black body
background, write <body style="background-color:
#000000;">
when your external stylesheet doesn't
work.background-image
background-image
is allowed, but not
reproduced in the browser of the cellphone. <div style="height: 400px">Hoc est corpus meus</div>
), the browser will show you the contents of the division until 400px (less than two screens). Any data exceeding the amount will be lost. As for images, the CSS height property is overuled by the browser as described on my Contents page. min-height
property is rarely used in the moment of writing, probably because main screen browsers like Mozilla and Internet Explorer do not comply with it. In the case of the Sony Ericsson browser, the min-height
property is interpreted as height. I do not recommend the use of this property, as it delimits the total space available for your page; not even the overflow
property can rescue that. box
. More options may be accessed, but need testing. Erik Thau-Knudsen, 2005-03-29
This page is still subject to changes as I make new discoveries.