Opera's box model bug?

D

David Dorward

altamir said:
let's consider the following code:
<img style="border-bottom:23px solid blue" width="100px" height="100px"
src="square.gif" />

The width and height attributes accept numbers, not CSS lengths. The alt
attribute is required.

I wouldn't attribute anything to bugs until the code conformed to the
standard.
 
S

Steve Pugh

altamir said:
setting 'width="100" height="100"' doesn't change anything.

It's a known bug in the latest versions of Opera (maybe only 7.2x ?).

It applies to padding as well as border, but only seems to apply to
height not width.

It will no doubt be fixed before long, until then you have a choice of
either not worrying about it or of working around it (by not
specifying the height and width in the HTML for example, or my moving
the styles to another element).

Steve
 
A

altamir

It is a known bug in Opera 7.21+. We've been promised it will be fixed in
the next non-security-fix release.

Setting the border or padding for any <img/> element causes the image to
be scaled weirdly.

so, it's a bug. i really like opera, but sometimes i issue with some weird
bugs and behaviors which makes me think that it's not so good browser as
many people say, but better than ie6 for sure.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,013
Latest member
KatriceSwa

Latest Threads

Top