An incredibly simple site question, (HTML)(NSFP)

Discussion in 'Web Design and Development' started by fenixx, Feb 1, 2011.

  1. fenixx, Feb 1, 2011
    Last edited: Feb 1, 2011

    fenixx macrumors regular

    fenixx

    Joined:
    Mar 23, 2006
    #1
    My site, for reference, perhaps not safe for prudes;
    http://www.hisdarknostalgia.com

    Issue: I have my files hosted on another site, http://www.violetsandvenom.com/images/header.htm for the header.

    I can not, for the life of me, get <base href="/" to point my images to the server. I have temporarily put up an iframe, but would like to get rid of that if anyone can help solve this.

    Thanks.

    Just hoping to find an alternative to base href all together really - but have no idea which way to look...
     
  2. angelwatt Moderator emeritus

    angelwatt

    Joined:
    Aug 16, 2005
    Location:
    USA
    #2
    Shouldn't the base tag look like,
    PHP:
    <base href="http://www.violetsandvenom.com/images/">
    then, rather than just "/"?
     
  3. fenixx thread starter macrumors regular

    fenixx

    Joined:
    Mar 23, 2006
    #3
    Sorry, didn't type out the entire thing.

    But yes, I have it like that in the code and still nothing.
     
  4. angelwatt Moderator emeritus

    angelwatt

    Joined:
    Aug 16, 2005
    Location:
    USA
    #4
    I'm thinking part of it is a validation issue. You have problems both on the main page that declares the frames, and in the page where the frame leads to.

    Use this validator.

    Also, what I provided was slightly different than what you have. You don't have the ending /, which might make a difference. I've honestly never used the base tag so can't speak to it much.
     
  5. fenixx thread starter macrumors regular

    fenixx

    Joined:
    Mar 23, 2006
    #5
    Thanks. Ended up just rewriting the code.

    TPTB may delete this thread if they wish.
     

Share This Page