Issues with inline css styles

asked 2012-01-08 05:38:56 -0600

Basel Shishani gravatar image

updated 2012-01-08 05:41:35 -0600

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>
edit retag flag offensive 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 gravatar imageakhayyat ( 2013-07-19 03:14:41 -0600 )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 gravatar imageEvgeny ( 2013-07-19 03:23:11 -0600 )edit