Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Cant add menu links to container

  • 21-06-2014 01:53PM
    #1
    Registered Users, Registered Users 2 Posts: 147 ✭✭


    I have a logo and image slider in a container so that they are side by side at all times but Im trying to add 3 Menu links horizontally under the Logo but I cant seem to do it, they keep going above the image slider which jams that downwards. Any suggestions on what to do?
    Heres the jsfiddle : http://jsfiddle.net/gZDVL/17/
    Tagged:


Comments

  • Registered Users, Registered Users 2 Posts: 6,660 ✭✭✭daymobrew


    I moved the 3 links to be at the bottom, just about the final closing </div>
    In css I did h3 clear: left.

    http://jsfiddle.net/TbW8v/


  • Registered Users, Registered Users 2 Posts: 1,029 ✭✭✭John_C


    I didn't see this thread when I responded in the other one. Here's what I'd do:
    http://jsfiddle.net/John_C/SWVys/


  • Registered Users, Registered Users 2 Posts: 147 ✭✭jdunne08


    daymobrew wrote: »
    I moved the 3 links to be at the bottom, just about the final closing </div>
    In css I did h3 clear: left.

    http://jsfiddle.net/TbW8v/

    Thanks for this, I found a way to do it but yours mught be cleaner so i might try it out.


  • Registered Users, Registered Users 2 Posts: 147 ✭✭jdunne08


    John_C wrote: »
    I didn't see this thread when I responded in the other one. Here's what I'd do:
    http://jsfiddle.net/John_C/SWVys/

    Thanks john, this looks good and is what i need. I actually found a way to do it before i saw these replies but yours looks cleaner and easier so im gonna try it out, thanks again.


  • Registered Users, Registered Users 2 Posts: 147 ✭✭jdunne08


    daymobrew wrote: »
    I moved the 3 links to be at the bottom, just about the final closing </div>
    In css I did h3 clear: left.

    http://jsfiddle.net/TbW8v/

    John_C wrote: »
    I didn't see this thread when I responded in the other one. Here's what I'd do:
    http://jsfiddle.net/John_C/SWVys/

    do any of you know how to remove the ".html" from the end of a URL ?
    eg. the downloads page on this site has /downloads.html at the end of the URL how do i make it just "/downloads" ?

    http://jamesdunnedesigns.net46.net/downloads.html


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 10,793 ✭✭✭✭maccored


    make a new directory on the server called 'downloads', rename downloads.html to index.html and put it into the downloads directory.


  • Registered Users, Registered Users 2 Posts: 147 ✭✭jdunne08


    maccored wrote: »
    make a new directory on the server called 'downloads', rename downloads.html to index.html and put it into the downloads directory.

    I just tried that but now the downloads page doesnt load because i have renamed it and moved it, what am i doing wrong?


  • Registered Users, Registered Users 2 Posts: 1,029 ✭✭✭John_C


    jdunne08 wrote: »
    I just tried that but now the downloads page doesnt load because i have renamed it and moved it, what am i doing wrong?

    Are you sure you've made a directory called 'downloads'? Can you, for example, link to a file called 'http://jamesdunnedesigns.net46.net/downloads/1.jpg' or something similar?


  • Registered Users, Registered Users 2 Posts: 147 ✭✭jdunne08


    John_C wrote: »
    Are you sure you've made a directory called 'downloads'? Can you, for example, link to a file called 'http://jamesdunnedesigns.net46.net/downloads/1.jpg' or something similar?

    yeah this is what i done, loged in through filzilla, theres a folder called "public_html" inside that is all the files , index.html ..etc. in there I right click > create new directory, rename that "downloads" then put the downloads.html file in it then rename that to index.html.

    because i have moved it to a different location my code in index.html cant find it. what have i done wrong?

    yeah i can link to it, but no images load http://jamesdunnedesigns.net46.net/downloads/index.html


  • Registered Users, Registered Users 2 Posts: 1,029 ✭✭✭John_C


    jdunne08 wrote: »
    yeah this is what i done, loged in through filzilla, theres a folder called "public_html" inside that is all the files , index.html ..etc. in there I right click > create new directory, rename that "downloads" then put the downloads.html file in it then rename that to index.html.

    because i have moved it to a different location my code in index.html cant find it. what have i done wrong?

    yeah i can link to it, but no images load http://jamesdunnedesigns.net46.net/downloads/index.html

    That's because the files aren't in the same folder anymore. If you add '../' to the start of the reference it looks one folder up. For example, if you change <img src="My-Website-Template_03.png" /> to <img src="../My-Website-Template_03.png" /> it should work.


  • Advertisement
Advertisement