Log in

View Full Version : Blog banner



Dao
11-06-2007, 02:26 AM
Hello!

As so many other ones, we have an advertisement banner at the top of our photoblog pages which completely destroys the mood we (hardly) try to design for the pictures. :(
I know how to hide it, get rid of it, but this is not what I (we all) really want: is it simply possible to start the page just below it, say 200 px from top?

Many many thanks for your help. :)

djr33
11-06-2007, 02:47 AM
<body onload="window.scrollTo(0,200)">

I don't know if your host will allow that, though.

jscheuer1
11-06-2007, 04:41 AM
I'm not sure auto-scrolling the page is even called for here. From what I can tell, what is being asked is how to make a 200px gap under the banner. That's easy enough, just make the first image on the page (it is a photo blog, after all) a transparent .gif or any type of image that matches the background color of the page. Have this image be 200px tall. You don't even need an image, unless that is all that is allowed for you to put on the page. If you are allowed to insert HTML code, just put a bunch of:


<p>&nbsp;</p>

one after the other until it takes up the amount of space that you would like it to.

djr33
11-06-2007, 05:54 AM
Quick... someone hacked his account!

I mean... huh?

"Abuse of <br>" is wrong, but just tossing in empty paragraphs is ok?
What about padding, even a single tall paragraph.

And, no, the idea was to start the "page", not the "content" at -200px, in order to deal with the banner. I must assume there's no reason someone would want just a gap in there.

Dao
11-06-2007, 09:25 AM
<body onload="window.scrollTo(0,200)">

I don't know if your host will allow that, though.


:) It works, it works!
Thank you, I'll come back and tell you how many people you have made happy... :)

jscheuer1
11-06-2007, 11:23 AM
Whoops! Looks like I really missed the boat on this one. :eek:

No harm done though.

djr33
11-06-2007, 07:28 PM
Haha. Even you miss one every once in a while I guess. I was surprised, though ;)