Connecting Tech Pros Worldwide Forums | Help | Site Map

Problem: grey shadow in CSS vertical text

Newbie
 
Join Date: Nov 2007
Posts: 13
#1: Jan 11 '08
I'm trying to implement bottom-to-top vertical text using CSS attributes in IE :
writing-mode: tb-rl;
filter: flipv fliph;

But I have encountered the following: the text is displayed with a grey shadow (instead of anti-alias).

It seems that the problem is caused by the "filter:flip" attribute. Does anyone have a work around? (If I write the same text without the "filter" attribute, the grey shadow disappears but my text is written top-to-bottom!)

Here's my stylesheet:

Expand|Select|Wrap|Line Numbers
  1. .verticaltext{
  2.         font-family: Arial;
  3.         font-size: 13px;
  4.         font-weight:bold;
  5.         color:#FF9100;
  6.         position:absolute; top:1px; height:90px;
  7.         width: 16px;
  8.         writing-mode: tb-rl;
  9.         filter: flipv fliph;
  10. }
and here's the HTML:

Expand|Select|Wrap|Line Numbers
  1. <div class="verticaltext">Vertical Text</div>
I have also tried to use other CSS3 attributes like:
block-progression: ttb;
direction : rtl;

but they don't seem to work in IE.

Does someone know how to remove the grey shadow or know of another way to implement the bottom-to-top vertical text?

Expert
 
Join Date: May 2007
Posts: 213
#2: Jan 11 '08

re: Problem: grey shadow in CSS vertical text


I don't really know how to help on this CSS, but you can try the HTML / CSS forum. There are lots of experts there who know much more than I know. Also, do you know that the css you are using only works in Internet Explorer and not Firefox (or other browsers)?
Reply


Similar Ruby / Ruby on Rails bytes