ngeo Posted November 13, 2006 Share Posted November 13, 2006 Hello.I have one questions about align text to right in context to use arabic characters.As you know in wml , center, left, right put the text Center, Left, Right.Is possible to respect like in HTML with some CSS align right DIRECT, when the text is write right to left?Here are WML limited. <p align="right"> <p align="left"> <p align="center">Thank You. Link to comment Share on other sites More sharing options...
jesh Posted November 13, 2006 Share Posted November 13, 2006 I don't know much about WML, but in HTML, if you specify utf-8 as your charset in the page, the letters will automatically be displayed left-to-right.However, this might also help: http://www.w3schools.com/css/pr_text_direction.asp Link to comment Share on other sites More sharing options...
ngeo Posted November 14, 2006 Author Share Posted November 14, 2006 Yes, this is true.<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html><head> <title>Document Title Here</title></head> <style type="text/css"> div { direction: rtl } </style><body><div> test test test test<br /> test test test</div></body></html>As you can see, the WML is similar...but not all.<?xml version="1.0"?><!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml"><wml> <head><meta http-equiv="Cache-Control" content="max-age=30" forua="true" /></head><card id="id" title="Document Title Here"> <do type="prev" label="Back"><prev/></do> <p align="left"><small>test test test<br/></small></p> <p align="right"><small>test test test<br/></small></p> <p align="center"><small>test test test<br/></small></p> </card></wml>Result are in atach.But WML don't support CSS... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now