Floated items with trailing whitespace lose padding-right

Atom RSS

This site heavily relies on bug reports created by its readers. Anyone can report a bug and be published.

Main navigation:




Search reports by browser:

Safari will omit the right padding of an element in a floated container if that element has trailing whitespace. Workaround is to ensure any elements with padding have no whitespace before the closing tag.

(ppknote: The test page is a mess in IE Mac, but the bug is not the same)

Test page Workaround is included
Reported by: Alan Harder.

Safari | Reported on 1 August 2005.

Comments

(Add your own)

Post a comment

Commenting guidelines:

  1. When quoting specs, articles or your own research, please include a URL of the document.
  2. Test your stuff. When reporting browser behaviour, make sure that your report is correct.

Yes