"rtl" and CSS help?

The geek forum. PHP, Perl, HTML, hardware questions etc.. it's all in here. Got a techie question? We'll sort you out. Ask your questions or post a link to your own site here!

"rtl" and CSS help?

Postby Debitt » Fri Sep 02, 2005 4:23 pm

^^; And again Kokoro has another bothersome coding problem. I'm trying to use "direction: rtl" to flip the scrollbar to the left side of the page for one of my layouts, and it's supposed to work in Firefox, but it isn't. T_T; It works just fine in IE, though, and I can't understand why it's being stubborn.

My CSS stylesheet (I know colored scrollbars don't work in Firefox, but I like to put them in to make it pretty for people using IE. ^^; )
Code: Select all
<!--
body {
font-family: Arial;
font-size: 11pt;
color: #7C5747;
direction: rtl;
}
body{
background-image:url('bg.gif');
background-repeat:repeat-y;
background-position: right 50%;
background-color:#DEA36F;
}
DIV {
font-family: Arial;
font-size: 11pt;
color: #7C5747;
}
BODY{scrollbar-face-color: #DEA36F;
scrollbar-track-color: #DEA36F;
scrollbar-shadow-color: #DEA36F;
scrollbar-darkshadow-color:#F2D0B1;
scrollbar-highlight-color: #F2D0B1;
scrollbar-3dlight-color: #F2D0B1;
scrollbar-arrow-color:#DEA36F;
}
A:visited {color:#7C5747;text-decoration:none;cursor:crosshair;font-weight:bold;}
A:hover {color:#7C5747; border-bottom-style:dashed; border-bottom-color:#7C5747; border-bottom-width:thin; text-decoration:none;cursor:crosshair;}
A:link {color:#7C5747;text-decoration:none;cursor:crosshair;}
A:active {color:#7C5747;text-decoration:none;cursor:crosshair;}

.head {font-family:verdana;
font-size:14pt;
color:#7C5747;
border-bottom-style:dashed;
border-width:1px;
border-color:#7C5747;}-->


=O; Any ideas with what I'm doing wrong?
Image

[SIZE="5"](*゚∀゚)アハア八アッ八ッノヽ~☆[/SIZE]
[SIZE="1"]DEBS: Fan of that manga where the kid's head is on fire.[/SIZE]
User avatar
Debitt
 
Posts: 3654
Joined: Sun Feb 01, 2004 10:00 am
Location: 並盛中学校

Postby shooraijin » Fri Sep 02, 2005 5:09 pm

Where did you read that direction: flips the scroll bar? All it's supposed to influence is text direction.
"you're a doctor.... and 27 years.... so...doctor + 27 years = HATORI SOHMA" - RoyalWing, when I was 27
"Al hail the forum editting Shooby! His vibes are law!" - Osaka-chan

I could still be champ, but I'd feel bad taking it away from one of the younger guys. - George Foreman
User avatar
shooraijin
 
Posts: 9927
Joined: Thu Jun 26, 2003 12:00 pm
Location: Southern California

Postby Debitt » Fri Sep 02, 2005 5:23 pm

^^; It's only supposed to influence text direction? I tried the direction:rtl in IE and the scroll bar was moved to the other side of the page as well. (see picture) Of course, if that's just it's funky function that only works in IE, then I'm fine just letting it behave the way it does now in Firefox.

EDIT: Took out the "ltr" code in my div layer that made the text display correctly and the "rtl" code was working on the text. Stupid IE and it's stupid IE only stuff...*grumbles*
You do not have the required permissions to view the files attached to this post.
Image

[SIZE="5"](*゚∀゚)アハア八アッ八ッノヽ~☆[/SIZE]
[SIZE="1"]DEBS: Fan of that manga where the kid's head is on fire.[/SIZE]
User avatar
Debitt
 
Posts: 3654
Joined: Sun Feb 01, 2004 10:00 am
Location: 並盛中学校

Postby Mithrandir » Sat Sep 03, 2005 8:09 am

You have NO idea how often I've grumbled same...
User avatar
Mithrandir
 
Posts: 11071
Joined: Fri Jun 27, 2003 12:00 pm
Location: You will be baked. And then there will be cake.


Return to Computing and Links

Who is online

Users browsing this forum: No registered users and 108 guests