Closed Bug 885664 Opened 11 years ago Closed 6 years ago

MARGIN-TOP : Confusing explanation about the relative area when using percentage

Categories

(Developer Documentation Graveyard :: CSS, defect)

All
Other
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: chr.pot, Unassigned)

References

()

Details

Attachments

(1 file)

:: Developer Documentation Request

      Request Type: Correction
     Gecko Version: unspecified
 Technical Contact: 

:: Details

The page tells it's relative to the width (cf summary), then to the height (cf syntax) and finally to the width (cf values) of the container block.

The truth is: it is relative to the width of the container block. So the syntax section needs to be corrected.
Tested with Chrome and FF (current versions). 


In my opinion, it doesn't really make sense to make "vertical" value relative to an "horizontal" one.
Margin-top and margin-bottom should be relative to the height of the container block and margin-left and margin-right should be relative to his width.
This would make more sense, no ?

++
Assignee: jypenator → nobody
Priority: P5 → --
Whiteboard: c=CSS u=webdev p=0
Hiya,

I am currently looking for bugs to fix as part of my Open Source Development module at Coventry University and I am interested in developing this bug.

Please could you assign this task to me and give me more information.

This is my first bug fix and any help would be appreciated.

Thank you.
I guess they don't consider this as a bug. 
And they are probably right, because W3C Recommendation says so : https://www.w3.org/TR/CSS2/box.html#propdef-margin-top

I was initially pointing the documention issue ... and it has since been corrected.
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: