Left alignment:
/* FixTextAlignForBidi(left) on init.js */
.ms-vh-icon, .ms-vh-icon-empty, .ms-vh2-nograd,
.ms-vh2-nograd-icon, .ms-vh2-nofilter, .ms-vh2-
nofilter-icon, .ms-vhImage
{
text-align: left;
}
Right alignement:
/* FixTextAlignForBidi(right) on init.js */
.ms-vh-icon, .ms-vh-icon-empty, .ms-vh2-nograd,
.ms-vh2-nograd-icon, .ms-vh2-nofilter, .ms-vh2-
nofilter-icon, .ms-vhImage
{
text-align: right;
}
If you use two directions on your site you can attack
the problem a few ways.
One way is to create two style sheets and add to the
files the code as appears above.
An alternative is to allocate the faster speed to the
main alignment direction you are using, for example:
If you choose the left side to be the faster one you add
the left style to the css file, and in the JavaScript function you add if
function FixTextAlignForBidi(value)
{
if (!browseris.ie)
return;
if (value == "left")
return;
...
If you chose the right side, do the opposite.
After that you should have no more difficulties with the
loading speed of your pages.
|