/    Sign up×
Community /Pin to ProfileBookmark

CSS menu positioning

Hi, here’s my website: [URL=”http://www14.brinkster.com/thejerm/test2.html”]Click[/URL]

I’m having problems positioning the menu. Why is it sort of floating somewhere in the middle? How do I align it to the left closer to the grey border?

My next question is… if you click the links, you notice that the activated link will have a gradient green background. I would like to know why is there a white gap on the left of each link and how do I ensure that the gradient green background covers it up?

Thanks,
DarkArcher

to post a comment
CSS

3 Comments(s)

Copy linkTweet thisAlerts:
@skywalker2208Mar 06.2008 — You have extra white space on the left and right side of your image so that is why your image line is a little left
Copy linkTweet thisAlerts:
@CentauriMar 06.2008 — If you start your css with the universal selector zeroing all browser default margins and paddings, then you won't have to chase various unexpected spacings, especially with lists :[CODE]* {
margin: 0;
padding: 0;
}[/CODE]
Copy linkTweet thisAlerts:
@DarkArcherauthorMar 06.2008 — Hmm, my background image for my CSS list menu does not have any white spaces on the right or left.

I have sorta solved the positioning problem.
×

Success!

Help @DarkArcher 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.18,
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,
)...