|
Q1427 How can I make the browser justify a page to the right?
irt.org | Knowledge Base | JavaScript | Scroll | Q1427 [ previous next ]
Q1427 How can I make the browser justify a page to the right?
Try:
<html>
<head>
<script language="JavaScript"><!--
function alignRight() {
// can't be done
}
//--></script>
<script language="JavaScript1.1"><!--
function alignRight() {
window.scroll(1000000,0);
}
//--></script>
<script language="JavaScript1.2"><!--
function alignRight() {
window.scrollTo(1000000,0);
}
//--></script>
<body onLoad="alignRight();">
<pre>
012345678901234567890123456780123456789012345678901234567890123456789012345678901234567899012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
</pre>
<body>
</html>
|
|
|
Copyright © 1996-2009 irt.org, All Rights Reserved.