html newbie question - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

html newbie question

Hi,
I had my html site designed for me several years ago. Here it is: http://www.davidoffphotography.com/wedding-photography.html It needs a serious overhaul. Can anyone help with some basic questions. 1st, when I click on a photo, a new window appears when I try to close. Any way to disable this function?
2nd question: How do I center the site? It seems to load in my browser on the left.
thanks a lot

Comments

  • CyGuyCyGuy Posts: 312Member
    In the wedding-photography.html file line 28 contains the following code:
    [code]document.images[i].onmousedown = protect;[/code]
    comment this line out like so:
    [code]//document.images[i].onmousedown = protect;[/code]
    that will stop the pop-ups

    Same file, line 49 reads:
    [code]
    [/code]
    easy peacy
    [code]
    [/code]
    better yet
    [code]
    [/code]
    The last one places the entire page left 100 pixels from where it is and down 100 pixels

    You could even use right in place of left to specify the distance from the right edge of the browser screen or even be more creative by replacing the px with %

    Good Coding



    [green]WHAT you;see_is_what=you.get;[/green]
    -Russ aka DangeRuss
Sign In or Register to comment.