Closed Bug 107774 Opened 23 years ago Closed 23 years ago

border around <img> inside <table>

Categories

(Core :: Layout: Tables, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 22274

People

(Reporter: david.mozilla, Assigned: karnaze)

References

()

Details

The parser renders an invisible border of a few pixels around <img> tags. This 
make sliced images pages look a little bit odd.
Try adding this to your css: img {display: inline} and see if that fixes the
problem.
That would not help at all.  "td img {display:block}" would, however.

Please read bug 22274 for more details as to why we render this way (in strict
mode only, mind you) and how to get the behavior you want without putting your
page in quirks mode.

Since reporter is the owner of the page, marking duplicate instead of assigning
to evangelism.

*** This bug has been marked as a duplicate of 22274 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
verified dupe of Bug# 22274
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.