2 replies [Last post]
steveoh
steveoh's picture
Offline
newbie
nw england
Last seen: 7 years 44 weeks ago
nw england
Timezone: GMT+1
Joined: 2013-08-07
Posts: 3
Points: 4

Hi guys,this is my first post and this site is unfamilar to me, so apologies in advance for any screw-ups.

I downloaded a javascript file that would drop down a submenu when 'moused over'
the main menu. I amended for it for my own purposes and it was fine.
http://home.btconnect.com/thetopper/dropdown_menu_1.htm
However, when I placed the code in a

that was styled with "position:absolute"(or relative)
the submenu(Drunk display lower down the page and to the right of the original.
http://home.btconnect.com/thetopper/dropdown_menu_2.htm

steveoh
steveoh's picture
Offline
newbie
nw england
Last seen: 7 years 44 weeks ago
nw england
Timezone: GMT+1
Joined: 2013-08-07
Posts: 3
Points: 4

Hi again,struggling a bit :

Hi again,
struggling a bit : just discovered 'save' = 'submit' I meant to add -

How can I get the sub-menus to display in the original positions?
what would be the alternative to "position:absolute"

(the styling for the   <div> can be seen in the   <head>/<style> section)

steveoh
steveoh's picture
Offline
newbie
nw england
Last seen: 7 years 44 weeks ago
nw england
Timezone: GMT+1
Joined: 2013-08-07
Posts: 3
Points: 4

I've managed to sort this. I

I've managed to sort this. I saw an article on "position:absolute" on the site and read it . Turns out you can float divs (I didn't know this) so i have recoded accordingly