Re: breaking hyphen?
- From: "Alan J. Flavell" <flavell@xxxxxxxxxxxx>
- Date: Fri, 28 Oct 2005 09:57:32 +0100
On Fri, 28 Oct 2005, Stephen Poley wrote:
> On Thu, 27 Oct 2005 19:20:36 +0100, "Alan J. Flavell"
> <flavell@xxxxxxxxxxxx> wrote:
>
> >On Thu, 27 Oct 2005, Eric B. Bednarz wrote:
> >
> >> (FWIW, HTML 4.01 provides no mechanism to match the intrinsic
> >> dimensions of an image either, nudge-nudge-wink-wink)
> >
> >Yeah, they confuddle the image height and width attributes in HTML
> >4.01 by cross-referencing the definition of the px unit in the CSS
> >specification, which, as we know, is meant to be scaled according to
> >the display situation. Heaven knows what they thought they intended
> >by doing that!
[...]
> What would be a better way of handling this situation?
Pixel-based image formats contain their intrinsic pixel dimensions.
I *thought* the purpose of the HTML height and width attributes were
to pre-declare what these pixel dimensions were. On that basis, their
values *should* be whatever the image itself says they are. With CSS
being used, if desired, to re-scale the image to suit the presentation
situation.
The use of HTML attributes to re-scale an image *ought* to be
deprecated: it's a left-over from the old bad way of HTML/3.2.
In that sense, the px units in HTML would be real px units, whereas px
units in CSS would be what CSS says they are.
But that isn't what the HTML4 specification says.
.
- References:
- breaking hyphen?
- From: stevenkobes
- Re: breaking hyphen?
- From: Jukka K. Korpela
- Re: breaking hyphen?
- From: David Ross
- Re: breaking hyphen?
- From: Eric B . Bednarz
- Re: breaking hyphen?
- From: Leif K-Brooks
- Re: breaking hyphen?
- From: Alan J. Flavell
- Re: breaking hyphen?
- From: Stephen Poley
- breaking hyphen?
- Prev by Date: Re: Theory question: U+000C in HTML 4.01
- Next by Date: Re: How can I change the value in a css class?
- Previous by thread: Re: breaking hyphen?
- Next by thread: Re: breaking hyphen?
- Index(es):
Relevant Pages
|