mobile web design

Started on the old forum in January 2011 · view the original in the archive · old links redirect here

8 replies · 938 views · started 15 years ago · 1 min read

4 participants
frostymarvelous Senior · 266 posts #1

Hi. I'm looking for really good tutorials in mobile web design. In not talking about those long winded articles about dos and donts, but some which delve into the tutorial with practical examples.

I'd be really glad. Thanks.

Perfection comes at a cost

I accept liberty!

Mysterio Lead · 630 posts #2

I am in mobile now but I have some. PM me tomorrow during day so I wont forget.

mysterio.al - programming is a functional art

frostymarvelous Senior · 266 posts #4

Thanks bro.

Perfection comes at a cost

I accept liberty!

arnage Lead · 811 posts #5

You're welcome. Of specific mobile design have nothing good on the net (fragment informations), at least in the last couple of years when I was looking for. I'm intending to write a short tutorial just for mobile css design for a long time but nothing of that probably...

<!DOCTYPE html PUBLIC "-//***WAPFORUM**.**RS***
arnage Lead · 811 posts #6

Here's a few words what is most important.

Regarding the CSS should be 2.1 level, to use JPG and GIF images no larger than 1-2kb or less if its repeat. Should take account of the font, if not exactly define a standard font, then we need to define several with the latest standard.

*font-family : Tahoma, Arial, Verdana; *

The mobile browser will load the one that can. There is the case where should be used em propertys and not px.

The most important is the markup, as recommended by the W3C can be XHTML MP or XHTML Basic. Do not use XHTML Transitional, and certainly not html4.01. Markup must be valid and should not use javascript. Check it via validator.w3.org Icons must be gif or jpg (I use the png regardless of recommendations, PNG - Portable Network Graphics, so ...) and must have defined the attributes width, height and alt, each. By MobileOK sites should not be larger than 24kb. Check the page with it and follow the steps. Avoid using "style" attribut in markup.

If I remember something more will post.

<!DOCTYPE html PUBLIC "-//***WAPFORUM**.**RS***
frostymarvelous Senior · 266 posts #8

Thanks bro. I solved my problem. I kinda forgot div can hold text in xhtml so I reverted to using

I rewrote the markup though. Using in certain select places only. Thanks arnages.

Problem was p was giving me too much space in between.

Perfection comes at a cost

I accept liberty!

arnage Lead · 811 posts #9

Sure. 😉 Yep it doing that by default. It can bee defined in CSS with margin; padding; but than its just like default so no some use of that, just a little bigger the CSS file. I'm also using if need to spred a little something in murkup and if dont, Im using . In practic, good example is login form for Lavalair, in XHTML MP must looks like this:

<form method="get" action="http://sajt.tld/login.php" enctype="multipart/form-data">

Nick: <input type="text" name="loguid" value=""/> Pass: <input type="password" name="logpwd"/> <input type="submit" value="UDjI" name=""/>

</form>

Or with if it needed to bee close to other elements. I leave both propertys in default. There is a lot of details in XHTML MP. Exaple is , people leave a white space like in MP or in image tag... That space is in XHTML Strict for Internet Explorer 6 and it can't open XHTML MP. So, no need for a white space. And, don't know how can I forget Developer's Home - Tutorials and Articles for SMS, WML, WMLScript, WAP 2.0, XHTML MP, WCSS/WAP CSS , one of the best sites. Probably because I have read it a hundred times two years ago and learn everything about MP and than forgot about the site. 😀

<!DOCTYPE html PUBLIC "-//***WAPFORUM**.**RS***

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close