Results 1 to 7 of 7

Thread: Blog banner

  1. #1
    Join Date
    Nov 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy Blog banner

    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.

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    <body onload="window.scrollTo(0,200)">

    I don't know if your host will allow that, though.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  3. #3
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    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:

    HTML Code:
    <p>&nbsp;</p>
    one after the other until it takes up the amount of space that you would like it to.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  4. #4
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    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.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  5. #5
    Join Date
    Nov 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thumbs up

    Quote Originally Posted by djr33 View Post
    <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...

  6. #6
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Whoops! Looks like I really missed the boat on this one.

    No harm done though.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  7. #7
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Haha. Even you miss one every once in a while I guess. I was surprised, though
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •