Menu should be left aligned and not centered.



16 years ago
14 years ago


(Reporter: ihatejunkmail, Assigned: asa)


Windows XP

Firefox Tracking Flags

(Not tracked)




(1 attachment)



16 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3) Gecko/20030312
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3) Gecko/20030312

The menu under newest articles at should be
left aligned and not centered. It shows up as it should using IE.

Reproducible: Always

Steps to Reproduce:
1.Go to
2.Look at the Newest Articles Menu, notice hows it's centered

Actual Results:  
You see the menu under Newest Articles is centered and not left aligned.

Expected Results:  
Left aligned the menu under Newest Articles.

Comment 1

16 years ago
See this in 1.4a (20030324) on Win2k

Comment 2

16 years ago
Created attachment 118907 [details]

This reduced testcase shows about the same behaviour and makes clear:
This is not a bug because Mozilla _does_not_ center the menu. Instead it
indents it - just as it should.

To see that it is not centered, you may decrease the window's width until the
left column also gets smaller. You'll note that the text does _not_ shift to
the left as it should if it was centered.

The reason why it has a larger distance from the left border than in Internet
Explorer is obviously an IE bug.
The applied stylesheet site.css (I inserted the rule directly into the
testcase) gives <ul> elements a "margin-left:20px;". This means the menu is
shifted 20 pixels to the right. Bullet lists (the single menu entries) are
automatically shifted to the right by an additional amount. This sums up to the
distance to the left border that makes it look a bit like centered.

The reason for IE's different display is that it seems to compute the
margin-left from the left window-border (although it is in a table cell and
should compute to that cell's left border). Just try and play a bit with the
margin value...

So this is not a bug - at least not a Mozilla one.
-> resolving as INVALID soon, but waiting if there are some more comments.
Don't think this is worth an evangelism effort since the problem is very minor.

Reporter, I see the URL is similar to your e-mail address... is this your web
page? Then you should now know what the problem is...

Comment 3

16 years ago
Reporter e-mailed and believes me that menu is not centered...
-> INVALID (no bug)

Matt, if you want it to appear the same in both IE and Mozilla, you might try
removing that "margin-left" altogether. The menu will appear a bit more to the
right in IE and a bit more to the left in Moz, so they are about the same.
Other than that... don't know. You'll have to try, maybe there's a solution in
Last Resolved: 16 years ago
Resolution: --- → INVALID
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.