Help with Website Code

Discussion in 'Off Topic Chat' started by Meysha, Oct 14, 2008.

  1. Meysha

    Meysha still being picky Vicky

    Joined:
    Feb 21, 2005
    Messages:
    4,152
    Likes Received:
    58
    Can others edit my Photos:
    Photos NOT OK to edit
    Hi Everyone,
    I need some help with changing the code a bit on my site www.travellingphotographers.com

    I want to add some simple text links to the bottom of the page - ie: nothing to do with the flash - but the links will need to be directed to a mini gallery I've made in another directory of my domain.

    Here's the code for my front page:
    Where would I enter in this code?:
    Every time I try to put it in somewhere it makes the flash part of the website dissappear. :-(
    Thanks for any help you can offer.

    :)
    Thanks
    - Vicky
     
  2. Chris of Arabia

    Chris of Arabia Herding cats since 1988... Supporting Member

    Joined:
    Mar 10, 2007
    Messages:
    7,825
    Likes Received:
    16
    Location:
    The Magic Kingdom
    Can others edit my Photos:
    Photos OK to edit
    I tried dropping it in after the closing DIV tag as below:

    It's really difficult to tell how it will work though as I don't have a copy of the SWF to try and play around with, but it does look as though the link pitches up in roughly the place you're after.
     
  3. Paul M

    Paul M TPF Noob!

    Joined:
    Jul 25, 2008
    Messages:
    212
    Likes Received:
    0
    Location:
    Florida
    Can others edit my Photos:
    Photos NOT OK to edit
    I would do this (the last 3 lines in your code):


    <p align="center"> <a href=http://www.travellingphotographers.com/launchnight/index.htm target="_blank">View Launch Night photos</a></center>
    </body>
    </html>



    The tag target="_blank" opens a new window for this page without taking the viewer away from your original site.
     
  4. Chris of Arabia

    Chris of Arabia Herding cats since 1988... Supporting Member

    Joined:
    Mar 10, 2007
    Messages:
    7,825
    Likes Received:
    16
    Location:
    The Magic Kingdom
    Can others edit my Photos:
    Photos OK to edit
    Or we could talk CSS and get rid of all that align=center nonsense... ;)
     
  5. duncanp

    duncanp TPF Noob!

    Joined:
    Nov 15, 2005
    Messages:
    3,388
    Likes Received:
    43
    Location:
    Hemel, UK!
    Can others edit my Photos:
    Photos NOT OK to edit
    mmm css... define it a width and margin:0 auto; but thats over complicated
     
  6. Paul M

    Paul M TPF Noob!

    Joined:
    Jul 25, 2008
    Messages:
    212
    Likes Received:
    0
    Location:
    Florida
    Can others edit my Photos:
    Photos NOT OK to edit
    Try putting this in your test.CSS file (or whatever name you give it):
    but remember, the last 3 lines of code in the HTML file will still be:

     
    Last edited: Oct 14, 2008
  7. duncanp

    duncanp TPF Noob!

    Joined:
    Nov 15, 2005
    Messages:
    3,388
    Likes Received:
    43
    Location:
    Hemel, UK!
    Can others edit my Photos:
    Photos NOT OK to edit
    i dont think we really needed to get into CSS, it was fine the way it was and half the rules in that style aren't needed as they default to auto.
     
  8. Meysha

    Meysha still being picky Vicky

    Joined:
    Feb 21, 2005
    Messages:
    4,152
    Likes Received:
    58
    Can others edit my Photos:
    Photos NOT OK to edit
    Thank you Paul! That worked a treat. I'm updating the site now.

    What code would I put in there to change the font to arial???
     
  9. Paul M

    Paul M TPF Noob!

    Joined:
    Jul 25, 2008
    Messages:
    212
    Likes Received:
    0
    Location:
    Florida
    Can others edit my Photos:
    Photos NOT OK to edit
    I agree duncanp, but CSS was requested and I didn't know what other settings were being used. I defaulted to auto for most of it. :)

    I am sorry, I bolded the code I posted before and I am not sure what you mean. There may be code in the HTML file that is possibly over riding this font style so you will have to read it closely to see. Other than that, Arial font has already been designated.

    For basic HTML code (without the CSS stuff) try:
    Put this above the </head> tag

    Last 3 lines of HTML code:
     
    Last edited: Oct 15, 2008
  10. Meysha

    Meysha still being picky Vicky

    Joined:
    Feb 21, 2005
    Messages:
    4,152
    Likes Received:
    58
    Can others edit my Photos:
    Photos NOT OK to edit
    Oh ok, I didn't use that code you quoted there. I only put in the code I quoted in my post above.
    ie: just the one line of code.

    Can I put in font="arial" or something like that?
     
  11. Meysha

    Meysha still being picky Vicky

    Joined:
    Feb 21, 2005
    Messages:
    4,152
    Likes Received:
    58
    Can others edit my Photos:
    Photos NOT OK to edit
    oops. we posted at the same time.
     
  12. Meysha

    Meysha still being picky Vicky

    Joined:
    Feb 21, 2005
    Messages:
    4,152
    Likes Received:
    58
    Can others edit my Photos:
    Photos NOT OK to edit
    Sweet. That works a treat!!!!
    You're so clever!

    Thanks again! This has all sort of been lumped on me very last minute. The event is tomorrow!! Eeek!
     

Share This Page