Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Opera bug? width, height, float, damn.

0 views
Skip to first unread message

Karl Smith

unread,
Feb 2, 2004, 2:48:57 AM2/2/04
to
This:

http://users.tpg.com.au/karl6740/css/terrorist_alert.html
http://users.tpg.com.au/karl6740/css/lost_in_Menai.css

Started out as a demonstration of :HOVER, and works as I expect.
But I added height and width specifications for the image I was
floating, just for the sake of completeness, and then it didn't look
right anymore.

With the inclusion of height="150", which is the intrinsic height of
the image, the effect, visible in Opera, is the same whether the
height is specified by HTML attribute or CSS property. Opera applies
the height of 150 pixels to the whole box from border-top to
border-bottom (there's 2 ems of padding in there), compressing the
image area to less than its natural size. (MSIE gets it right, of
course.)

Can someone confirm this isn't just my particular Opera? And, you
know, what is going on, please?

--
Karl Smith.

brucie

unread,
Feb 2, 2004, 2:53:40 AM2/2/04
to

Spartanicus

unread,
Feb 2, 2004, 3:59:01 AM2/2/04
to
google-...@kjsmith.com (Karl Smith) wrote:

>With the inclusion of height="150", which is the intrinsic height of
>the image, the effect, visible in Opera, is the same whether the
>height is specified by HTML attribute or CSS property. Opera applies
>the height of 150 pixels to the whole box from border-top to
>border-bottom (there's 2 ems of padding in there), compressing the
>image area to less than its natural size.

Which Opera version? Some versions have a bug regarding images and
padding (resolved in the current release version IIRC).

--
Spartanicus

Lauri Raittila

unread,
Feb 2, 2004, 5:56:47 AM2/2/04
to
In article Karl Smith wrote:

> With the inclusion of height="150", which is the intrinsic height of
> the image, the effect, visible in Opera, is the same whether the
> height is specified by HTML attribute or CSS property. Opera applies
> the height of 150 pixels to the whole box from border-top to
> border-bottom (there's 2 ems of padding in there), compressing the
> image area to less than its natural size. (MSIE gets it right, of
> course.)
>
> Can someone confirm this isn't just my particular Opera? And, you
> know, what is going on, please?

I this is bug in 7.21 - 7.23 IIRC. Fixed in 7.5 preview 1.


--
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>
Saapi lähettää meiliä, jos aihe ei liity ryhmään, tai on yksityinen
tjsp., mutta älä lähetä samaa viestiä meilitse ja ryhmään.

Karl Smith

unread,
Feb 3, 2004, 2:03:01 AM2/3/04
to
Lauri Raittila <la...@raittila.cjb.net> wrote:

> In article Karl Smith wrote:
>

> > Opera applies the height to the whole box from border-top to


> > border-bottom (there's 2 ems of padding in there), compressing the

> > image area to less than its natural size...


>
> I this is bug in 7.21 - 7.23 IIRC. Fixed in 7.5 preview 1.

Thanks, Lauri. That's what I wanted to know.

Karl Smith

unread,
Feb 3, 2004, 2:29:24 AM2/3/04
to
brucie <sh...@bruciesusenetshit.info> wrote:

Fascinating. Given that:
- My question was about the behaviour of Opera 7.2 when the height of
a floating image was specified, and I stated that the behaviour was
identical whether the height was specified in an HTML attribute or CSS
property, and:
- the only thing learned from that validation result is that the
height attribute is disallowed in ISO-HTML:
Your response looks suspiciously like an assertion that Opera 7.2 is a
fully validating SGML system?

I think Opera is a common, "garden variety", web browser. Perhaps
you're inviting me to rant about validator fetishists and their
consistent misunderstanding of the object of their fetish. I must
regretfully decline - life is too short.

0 new messages