/    Sign up×
Community /Pin to ProfileBookmark

width of menu items

I am trying to put a horizontal menu along my web page but each parent item is twice the width of the text which makes it disappear off the edge of the window.

the page is
[URL=http://homepage.ntlworld.com/michael_naylor/862/test.htm]http://homepage.ntlworld.com/michael_naylor/862/test.htm[/URL]

and the menu.js file for the structure is
[URL=http://homepage.ntlworld.com/michael_naylor/862/menu.js]http://homepage.ntlworld.com/michael_naylor/862/menu.js[/URL]

I understand, to a certain extent, javascript but this one’s really puzzled me

I f you could please find where in the scripting the thing that changes the width is, that would be really appreciated

thanks, in advance!

to post a comment
JavaScript

0Be the first to comment 😎

×

Success!

Help @flambor spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...