View Full Version : direction..


mama stones
04-13-2004, 10:02 PM
if anyone is familiar with myspace.com, i need some help...
i changed the direction of my page from left-to-right to right-to-left...
but i can't figure out how to make the text align to the left...
plus, the punctuations are in the beginning of the sentences instead of the end...

here's my page:
my profile page (http://www.myspace.com/876739.usr)

here's the code i used:
<STYLE type=text/css>

body, table, td
{
background-color:transparent;
border:none;
border-width:0;

direction: rtl;}

body
{
background-image: url("http://whatever.endignorance.com/stonysspacebackground.jpg");
background-attachment: fixed;
background-repeat: no-repeat;
background-color:8d4ec3;
}

font, td, a, body, input, textarea
{
font-weight: none;
font-family:Tahoma,Verdana, Arial, Helvetica, sans-serif;
font-size:8pt;
}

input, textarea
{
border:transparent;
font-size:8pt;
overflow:hidden;
background:transparent;
}

.redtext
{
font-weight:bold;
font-family:Tahoma, Verdana, Arial, Helvetica, sans-serif;
font-size:10pt;
color:white;
}

.redbtext
{
font-weight:bold;
font-family:Tahoma, Verdana, Arial, Helvetica, sans-serif;
font-size:10pt;
color:white;
}

a.redlink
{
font-family:tahoma, verdana,arial,sans-serif,helvetica;
font-size:8pt;
text-decoration:none; f
ont-weight:bold;
}
a.redlink:link{color:white;}
a.redlink:active{color:white;}
a.redlink:visited{color:white;}
a.redlink:hover{color:white;}

.whitetext12
{
font-family:Tahoma, Verdana, Arial, Helvetica, sans-serif;
font-size:10pt;
color:02095D;
}

.lightbluetext8
{
font-family:Tahoma, Verdana, Arial, Helvetica, sans-serif;
font-size:8pt;
color:31025D;
}

.orangetext15
{
font-weight:bold;
font-family:Tahoma, Verdana, Arial, Helvetica, sans-serif;
font-size:10pt;
color:black;
}

a.text
{
font-weight:bold;
font-family:Tahoma, Verdana, Arial, Helvetica, sans-serif;
font-size:8pt;
color:black;
}

A.text:link
{
color:000000;
text-decoration: none;
font-family: tahoma, arial, helvetica, impact, sans-serif;
}

A.text:visited
{
color:000000;
text-decoration: none;
font-family: tahoma, arial, helvetica, impact, sans-serif;
}

A.text:active
{
color:000000;
text-decoration: none;
font-family: tahoma, arial, helvetica, impact, sans-serif;
}

A.text:hover
{
color:000000;
text-decoration: none;
font-family: tahoma, arial, helvetica, impact, sans-serif;
}

A:link
{
color:white;
text-decoration: none;
font-family: tahoma, arial, helvetica, impact, sans-serif;
}

A:visited
{
color:white;
text-decoration: none;
font-family: tahoma, arial, helvetica, impact, sans-serif;
}

A:active
{
color:white;
text-decoration: none;
font-family: tahoma, arial, helvetica, impact, sans-serif;
}

A:hover
{
color:white;
text-decoration: none;
font-family: tahoma, arial, helvetica, impact, sans-serif;
}

</style>

kicker91
04-13-2004, 10:05 PM
Just add this before the text...

<div style="direction:ltr;">

and add </div> after the text. :D

mama stones
04-13-2004, 10:22 PM
call me retarded, but what text?
i'm quite new to this coding thing, so i don't know much...

mama stones
04-13-2004, 11:51 PM
i figured it out..

i just put direction:ltr; in here:


font, td, a, body, input, textarea
{
font-weight: none;
font-family:Tahoma,Verdana, Arial, Helvetica, sans-serif;
font-size:8pt;
}