Make your own free website on Tripod.com

Scrollbar Switch

Ever seen those websites with the scrollbar on the left, instead of right? It's pretty easy to do you know.
Place this code after the </title> tag, but before the </head> tag:

<style type="text/css">
<!--
body {
direction: rtl;
}
-->
</style>

But this code will reverse your entire document, not just the scrollbar, so to make the document display correctly put this after the body tag:

<div style="direction: ltr; ">

Then, place </div> before the </body> tag.

So, to sum things up, your entire HTML document should look like this:

<html>
<head>
<title> [ TITLE HERE ] </title>
<style type="text/css">
<!--
body {
direction: rtl;
}
-->
</style>
</head>
<body>
<div style="direction: ltr; ">

[ YOUR WEBPAGE CONTENT GOES HERE ]

</div>
</body>
</html>

 

Main?