Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Html help.

Options
  • 25-07-2011 11:40pm
    #1
    Registered Users Posts: 3,201 ✭✭✭


    Ok first hope this ok not breaking any rule on boards.ie, I'm sure i ain't since I ain't publishing the webpage.

    I want to just do a quick redo of rte.ie page.
    Its just a for a wind up the person wouldn't know anything about computers and never notice its a file and not a website.

    I saved the rte.ie page in complete form, but the problem I keep getting is that the two menu bars come out as lists in a vertical order and I lose the kind of grind the options where in.

    You can she what im talking about at the top of this link http://www.rte.ie/sport/gaa/championship/2011/0725/quarterfinals.html


Comments

  • Registered Users Posts: 3,078 ✭✭✭onemorechance


    It would be easier for you to use the firefox add-on, firebug, or in Google Chrome, right click on the bit you want to change and select "Inspect Element".


  • Registered Users Posts: 3,201 ✭✭✭Justin10


    Problem is i will need to refresh the page as in pressing the bk from from the links back to the document.


  • Registered Users Posts: 7,468 ✭✭✭Evil Phil


    I'm guessing you're losing the style sheet links.


  • Registered Users Posts: 3,201 ✭✭✭Justin10


    Odd, few other sites are a little bit off but could easily fix them, dunno how to fix the RTE one. Awh il keep at it, thanks for that.


  • Registered Users Posts: 21,257 ✭✭✭✭Eoin


    Easiest thing to do is just save the page as a HTML file only (not a complete webpage).

    Then open it in notepad, and add the following line between the <head> tags:

    [html]<base href="http://www.rte.ie"/>[/html]

    When you open it in a browser, this tag will tell the browser to download all the files with a relative path directly from the RTE site, rather than looking for them on the machine where the webpage is.


  • Advertisement
  • Registered Users Posts: 295 ✭✭montreal2011


    Nice one Eoin, never knew about that <base> element.


  • Registered Users Posts: 3,201 ✭✭✭Justin10


    Thanks that worked perfect except for one thing. Cant seem to change picture, might be something im doing wrong or is it cause its trying to use the picture from the rte website and contradicting the code I have put in?


  • Registered Users Posts: 21,257 ✭✭✭✭Eoin


    Probably - if it uses a relative path then it will look at the RTE site, so use a full path instead.

    e.g. instead of something like this:
    <img src='mypicture.jpg"/>
    do this:
    <img src='http://www.flickr.com/mypicture.jpg"/&gt;


  • Registered Users Posts: 3,201 ✭✭✭Justin10


    Ha I dont that was coming on say thanks but you where you quick for me.
    That worked perfect thanks again.


  • Registered Users Posts: 21,257 ✭✭✭✭Eoin


    no probs at all


  • Advertisement
Advertisement