For Programmers: Free Programming Magazines  


Home > Archive > PHP Programming > September 2007 > [OT - CSS] Re: need help with generating html source from the php









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author [OT - CSS] Re: need help with generating html source from the php
Sanders Kaufman

2007-09-27, 7:02 pm

"macca" <ptmcnally@googlemail.com> wrote in message
news:1190903345.329646.114740@w3g2000hsg.googlegroups.com...
> Never worked with anything but English but I do know that text
> direction can be controlled with CSS e.g.
>
> p {
> direction:rtl;
>
> text-align:right
> }


That's so error-prone, it should be considered a bug, rather than a feature.
Browsers in languages that stream right-to-left already perform that
function.
So, if you use it the way you did, it'll switch the text back around the
wrong way.

Where that *is* useful is in proprietary HTML extensions, like
"<mymenu></mymenu>" which are not defined in the HTML/XHMTL spec.



Shelly

2007-09-27, 7:02 pm


"Sanders Kaufman" <bucky@kaufman.net> wrote in message
news:aKPKi.952$4V6.418@newssvr14.news.prodigy.net...
> "macca" <ptmcnally@googlemail.com> wrote in message
> news:1190903345.329646.114740@w3g2000hsg.googlegroups.com...
>
> That's so error-prone, it should be considered a bug, rather than a
> feature.
> Browsers in languages that stream right-to-left already perform that
> function.


.....and that also answers my question!

Shelly


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2010 codecomments.com