Closed Bug 199876 Opened 21 years ago Closed 21 years ago

Menu should be left aligned and not centered.

Categories

(SeaMonkey :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: ihatejunkmail, Assigned: asa)

References

()

Details

Attachments

(1 file)

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 http://myweb.cableone.net/mattc/ should be
left aligned and not centered. It shows up as it should using IE.

Reproducible: Always

Steps to Reproduce:
1.Go to http://myweb.cableone.net/mattc/
2.Look at the Newest Articles Menu, notice hows it's centered
3.

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

Expected Results:  
Left aligned the menu under Newest Articles.
See this in 1.4a (20030324) on Win2k
Attached file testcase
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...
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
css...
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → INVALID
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: