On Sat 14 Aug 2010 16:13 +0200, PyroPeter wrote:
> On 08/14/2010 03:24 PM, PyroPeter wrote:
> >
> >I just noticed you are setting xml:lang and lang on the <html>-tag. So
> >there isn't even any change needed. (Btw. that why I hate php, mixing
> >markup and code is extremely obscure)
> >
> >The main problem seems to be the frequency of text-align-declarations in
> >the existing style-sheets.
> >
> >This is what I have atm:
> (long diff is long)
> >It would be nice to get some comments from right-to-left reading people.
> >Why does direction:rtl; put punctuation at the beginning of the line? Is
> >that wanted behavior or just a browser bug?
> 
> I made a typo, correct patch:
> <-------- snip ------------->
> diff --git a/web/html/css/containers.css b/web/html/css/containers.css
> index fc092de..4707dac 100644
> --- a/web/html/css/containers.css
> +++ b/web/html/css/containers.css
> @@ -3,6 +3,10 @@ body,table,td,img {
>    margin: 0;
>    padding: 0;
>  }
> +/* Language specific formatting */
> +body:lang(he) {
> +  direction:rtl;
> +}
>  /* Main Wrapper Data Format */
>  td.preHeader {
>    background-color: #000;
> <-------- snap ------------->
> 
> What distinguishes the four different css-files?
> What is the sense of having style-declarations in the html/php-soup?

Beats me. It's just a result of people doing whatever needs doing
without caring too much where things go. Believe me it was a lot worse.
Things have been cleaned up a lot in the last couple years.

Anyways if something in particular bothers you, try submitting a patch.

Reply via email to