Can you set a page to open further down from the top?

liunx

Guest
I want my homepage to open a little bit further down on the screen than at the top, and I was wondering if there was a tag for that. In other words, a tag to set the position so the scrollbar is further down. As if you clicked the scrollbar and dragged it down a little bit.<br />
<br />
<!-- e --><a href="mailto:[email protected]">[email protected]</a><!-- e --><!--content-->Yes it can be done, You just need to set your top margin height like:<br />
<br />
margin-top: 20px<br />
<br />
So that would start the page 20 pixels from the top.<br />
<br />
Either add it to your css sheet or add this to your html doc between your <head> tags:<br />
<br />
<style><br />
body {margin-top: 20px;}<br />
</style><br />
<br />
Hope thats what you mean... jaeman<!--content-->Hi there 2Sense,<br />
<br />
You could try this....<br />
<br />
<body onload="scrollTo(x,y);"><br />
<br />
where <br />
x = horizontal position in pixels of the window.<br />
y = vertical position in pixels of the window.<br />
<br />
A little experimentation should soon take you to <br />
the position that you require. :D<br />
<br />
c:D:Dthead<!--content-->thanks, thats exactly what I was looking for...<!--content-->
 
Back
Top