×

Discussion Board

Results 1 to 2 of 2

Thread: WML img tag

  1. #1
    Registered User
    Join Date
    Jun 2006
    Posts
    1

    Question WML img tag

    Hi all,

    I am new to WAP and WML. I am using Nokia Mobile Browser to see my wml output. My wml code is as under-

    <?xml version="1.0"?>
    <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
    <wml>
    <card title="Image">
    <p>
    Image
    <img hspace="4" vspace="5" align="top" height="100" width="100" src="images/feet.wbmp" alt="feets"/>
    in a paragraph
    </p>
    </card>
    </wml>

    when I change the height and width values for img tag in the code , it does not affect the image size in the browser window. Why it is so, i don't know.
    Is there any limitation for that?

    Could anybody tell me how can I use same image with different sizes for different mobile handsets.

  2. #2
    Registered User
    Join Date
    Aug 2006
    Posts
    5

    Re: WML img tag

    Not all the phones support this with wml. Xhtml should support this 100%, but you never know, you might be able to check 4 this with uaProfile but it slows down the server plus the resizing itself will slow down the browser. Your best bet - resize it on the server plenty of software to do that.

    ............

Similar Threads

  1. Exception: Expected start tag found end tag
    By jjefrey in forum OMA DM/DS/CP
    Replies: 8
    Last Post: 2006-03-31, 07:55
  2. wml in jsp
    By chandinibangera in forum Mobile Java General
    Replies: 0
    Last Post: 2005-04-06, 10:31
  3. WML + WML SCRIPT
    By wapel in forum Browsing and Mark-ups
    Replies: 1
    Last Post: 2002-12-12, 06:19
  4. What kind of crap is this WML TAG ?
    By Nokia_Archive in forum Browsing and Mark-ups
    Replies: 1
    Last Post: 2002-05-14, 18:01

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×