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
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Html help.

  • 25-07-2011 10:40pm
    #1
    Registered Users, Registered Users 2 Posts: 3,238 ✭✭✭


    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, Registered Users 2 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, Registered Users 2 Posts: 3,238 ✭✭✭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, Registered Users 2 Posts: 7,468 ✭✭✭Evil Phil


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


  • Registered Users, Registered Users 2 Posts: 3,238 ✭✭✭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, Registered Users 2 Posts: 21,263 ✭✭✭✭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, Registered Users 2 Posts: 295 ✭✭montreal2011


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


  • Registered Users, Registered Users 2 Posts: 3,238 ✭✭✭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, Registered Users 2 Posts: 21,263 ✭✭✭✭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, Registered Users 2 Posts: 3,238 ✭✭✭Justin10


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


  • Registered Users, Registered Users 2 Posts: 21,263 ✭✭✭✭Eoin


    no probs at all


  • Advertisement
Advertisement