jibo Posted June 27, 2006 Share Posted June 27, 2006 im wanting a scroll bar on the left hand sie, dont ask why its just a novelty thing lol th code i got it <body style="> <direction: rtl"> <div style="> <direction: ltr"> </div> </body> i dont even know if this is write but it turns the whole page the opposite way, does anyone have any resolutions plz??? and is it even poss? Link to comment Share on other sites More sharing options...
scott100 Posted June 27, 2006 Share Posted June 27, 2006 Yes is possible, your codes a little messed up <html><head><style type="text/css">body{direction: rtl}</style></head><body><h1>This is header 1</h1></body></html> Link to comment Share on other sites More sharing options...
scott100 Posted June 27, 2006 Share Posted June 27, 2006 Wait, you want the scrollbar on left, but text also?Just add the page contents in a container <html><head><style type="text/css">body{direction: rtl}#container{direction: ltr}</style></head><body><div id="container">Scrollbar on left so am i</div></body></html> Link to comment Share on other sites More sharing options...
jibo Posted June 27, 2006 Author Share Posted June 27, 2006 Yes is possible, your codes a little messed upĀ <html><head><style type="text/css">body{direction: rtl}</style></head><body><h1>This is header 1</h1></body></html> <{POST_SNAPBACK}> Thanks, so will this JUST move the scroll bar to the opposite side of the screen or flip everything on the page around? Link to comment Share on other sites More sharing options...
jibo Posted June 27, 2006 Author Share Posted June 27, 2006 Wait, you want the scrollbar on left, but text also?Just add the page contents in a container <html><head><style type="text/css">body{direction: rtl}#container{direction: ltr}</style></head><body><div id="container">Scrollbar on left so am i</div></body></html> <{POST_SNAPBACK}> naa i want page as normal with all normal style webpage stuff but the scroll bar on the other side Link to comment Share on other sites More sharing options...
scott100 Posted June 27, 2006 Share Posted June 27, 2006 naa i wantĀ page as normal with all normal style webpage stuff but the scroll bar on the other sideĀ Ā <{POST_SNAPBACK}> That should do it for you then Link to comment Share on other sites More sharing options...
justsomeguy Posted June 27, 2006 Share Posted June 27, 2006 Changing the direction to rtl will move the scrollbar? Is that part of the spec, or is that just what browsers do? Link to comment Share on other sites More sharing options...
jibo Posted June 27, 2006 Author Share Posted June 27, 2006 That should do it for you then <{POST_SNAPBACK}> ok that does wot i want it to do except 1 thing....... i have this i want on me page(obviously shortened and incomplete lol)....<div style="text-align:center"> <span style="text-decoration:underline">Downloads</span><br><br><style type="text/css">table{border: 1px solid black;}td.blue{background-color: #99FFFF; color: #000000; font-size: 15px; font-family: times;}td.white {background-color: #FFFFFF; color: #000000; font-size: 15px; font-family:times;}td.green {background-color: #66FF66; color: #000000; font-size: 15px; font-family:times;}</style><table><tr><td class="green">track name</td><td class='green'>Right Click And 'Save Target As'</td></tr><tr><td class="white">name</td><td class="blue"><a href='link in ere'>download</a></td></tr><tr><td class='blue'>name</td><td class='white'><a href='link'>download</a></td></tr><tr><td class='white'>name</td><td class='blue'><a href='link'>download</a></td></tr></table></div> but when i use the code u gave me the left column and right column switch place and luks a bit rubbish lol, do you no a fix for this or a code that wont affect it Link to comment Share on other sites More sharing options...
jibo Posted June 27, 2006 Author Share Posted June 27, 2006 Changing the direction to rtl will move the scrollbar?Ā Is that part of the spec, or is that just what browsers do?<{POST_SNAPBACK}> it reverses jus bout everything lol Link to comment Share on other sites More sharing options...
justsomeguy Posted June 27, 2006 Share Posted June 27, 2006 Yeah, direction specifies the direction of the text for Arabic or Hebrew that reads right-to-left instead of left-to-right, I just didn't know it would change the interface as well. Table column order is one of the things it affects. You can try adding a direction style to the table itself. Link to comment Share on other sites More sharing options...
jibo Posted June 27, 2006 Author Share Posted June 27, 2006 Yeah, direction specifies the direction of the text for Arabic or Hebrew that reads right-to-left instead of left-to-right, I just didn't know it would change the interface as well.Ā Table column order is one of the things it affects.Ā You can try adding a direction style to the table itself.<{POST_SNAPBACK}> how woould i do that???? i dunno how the he*l i got "advanced member" im about as advanced as a cave man lol Link to comment Share on other sites More sharing options...
justsomeguy Posted June 27, 2006 Share Posted June 27, 2006 <table style="direction: ltr"> Link to comment Share on other sites More sharing options...
jibo Posted June 27, 2006 Author Share Posted June 27, 2006 <table style="direction: ltr"><{POST_SNAPBACK}> ok so for example if i had just the table on my site and wanted scroll bar on the left how would i combine the 3 codes???<html><head><style type="text/css">body{direction: rtl}#container{direction: ltr}</style></head><body><div id="container">Scrollbar on left so am i</div></body></html> and <div style="text-align:center"><span style="text-decoration:underline">Downloads</span><br><br><style type="text/css">table{border: 1px solid black;}td.blue{background-color: #99FFFF; color: #000000; font-size: 15px; font-family: times;}td.white {background-color: #FFFFFF; color: #000000; font-size: 15px; font-family:times;}td.green {background-color: #66FF66; color: #000000; font-size: 15px; font-family:times;}</style><table><tr><td class="green">track name</td><td class='green'>Right Click And 'Save Target As'</td></tr><tr><td class="white">name</td><td class="blue"><a href='link in ere'>download</a></td></tr><tr><td class='blue'>name</td><td class='white'><a href='link'>download</a></td></tr><tr><td class='white'>name</td><td class='blue'><a href='link'>download</a></td></tr></table></div> and finally <table style="direction: ltr"> i tried myself but got way to confused plz help Link to comment Share on other sites More sharing options...
justsomeguy Posted June 27, 2006 Share Posted June 27, 2006 Just replace this line:table{border: 1px solid black;}with this:table{border: 1px solid black; direction: ltr;} Link to comment Share on other sites More sharing options...
jibo Posted June 27, 2006 Author Share Posted June 27, 2006 Just replace this line:table{border: 1px solid black;}with this:table{border: 1px solid black; direction: ltr;}<{POST_SNAPBACK}> U 2 r absolute stars thanks loads Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now