Issues with inline css styles

On localization issues - now we come to right to left languages :)

One big issue of course is inline css styles in html, which need to be moved to css files and probably have their elements marked with class or id.

Here's a initial rundown of code points in html files where positioning is inlined:

./skins/default/templates/badge.html:        <p style="float:left"><span class="count">{{ badge_recipients|length|intcomma }}</span>
./skins/default/templates/user_profile/user_recent.html:                <div style="width:180px;float:left">{{ act.time|diff_date(True) }}</div>
./skins/default/templates/user_profile/user_recent.html:                <div style="width:150px;float:left">
./skins/default/templates/user_profile/user_recent.html:                <div style="float:left;overflow:hidden;">
./skins/default/templates/user_profile/user_votes.html:                <div style="width:150px;float:left">{{vote.voted_at|diff_date(True)}}</div>
./skins/default/templates/user_profile/user_votes.html:                <div style="width:30px;float:left">
./skins/default/templates/user_profile/user_votes.html:                <div style="float:left;overflow:hidden;width:750px">
./skins/default/templates/user_profile/user_edit.html:        <div id="left" style="float:left;width:180px">
./skins/default/templates/user_profile/user_edit.html:        <div style="float:right;width:750px;text-align:left;">
./skins/default/templates/macros.html:            style="float:left"
./skins/default/templates/badges.html:        <div style="float:left;min-width:30px;text-align:right;height:30px">
./skins/default/templates/badges.html:        <div style="float:left;width:230px;">
./skins/default/templates/badges.html:        <p style="float:left;margin-top:8px;">{{badge.description}}</p>
./skins/default/templates/question/new_answer_form.html:                class="submit after-editor" style="float:left"/>

./skins/default/templates/user_profile/user_edit.html:        <div style="float:right;width:750px;text-align:left;">
./skins/default/templates/badges.html:        <div style="float:left;min-width:30px;text-align:right;height:30px">
./skins/default/templates/faq_static.html:        <th width="40px" style="text-align:right"></th>
Basel Shishani's avatar
197
Basel Shishani
asked 2012-01-08 05:38:56 -0500, updated 2012-01-08 05:41:35 -0500
edit flag offensive 0 remove flag close merge delete

Comments

Has there been any progress to better support right-to-left languages? Have these inline styles been moved into CSS files yet?

akhayyat's avatar akhayyat (2013-07-19 03:14:41 -0500) edit

No LTR support yet, and I suspect some inline styles still remain, I'll have a look in a couple of days on removing the inline styling.

Evgeny's avatar Evgeny (2013-07-19 03:23:11 -0500) edit
add a comment see more comments