toriqo Posted October 24, 2006 Share Posted October 24, 2006 i think i may have found a bug in CSS.try this.text-align: right;text-indent: 1cm;i even tried text-indent: -1cm;surprise! no indent. why?i had to use direction: rtl; and text-indent: 2cm; to achieve what i was trying to do. Link to comment Share on other sites More sharing options...
Jonas Posted October 24, 2006 Share Posted October 24, 2006 Well, the question is whether it's a bug or a lack. Maybe text-indent wasn't supposed to work from right to left simply by aligning text to the right. Maybe w3 forgot that some languages are written from the right to the left, and so might need a negative indent value. Or maybe the w3 interpreters (browser developers) didn't think of it. Link to comment Share on other sites More sharing options...
toriqo Posted October 24, 2006 Author Share Posted October 24, 2006 Maybe w3 forgot that some languages are written from the right to the lefti told you, if direction:rtl is used, the indentation works. so it works for the right to left written languages.but if you align the left to right written text to right, the indentation doesn't work anymore. maybe becouse the indentation is supposed to be used only at the begining of the paragraph? no matter the alignement?anyway, the indentation works with a negative value, so it should work even the text was aligned to the right. that's why i think it's a bug. Link to comment Share on other sites More sharing options...
BiteMe Posted October 24, 2006 Share Posted October 24, 2006 oooo! someone sounds touchy this morning! Link to comment Share on other sites More sharing options...
toriqo Posted October 24, 2006 Author Share Posted October 24, 2006 heheno, sorry, that wasn't my intention :)anyway, i have another problem. do any of you ever heard of microsoft WEFT?if yes, i'd like to ask for some advices. 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