Subject:
|
Re: www.texbrick.com
|
Newsgroups:
|
lugnet.technic
|
Date:
|
Fri, 3 Aug 2001 14:38:40 GMT
|
Viewed:
|
747 times
|
| |
| |
"Andy Lynch" <andy@andyandjackie.com> writes:
> Hmmm. In Netscape, you are correct, the rectangles do not work. But
> they work fine in IE.
>
> Is this just a case of IE trying to be "friendly and helpful" while
> supporting broken code?
Yes. From the HTML 4.0 spec:
coords = coordinates [CN]
This attribute specifies the position a shape on the screen.
The number and order of values depends on the shape being defined.
Possible combinations:
rect: left-x, top-y, right-x, bottom-y.
[...]
Coordinates are relative to the top, left corner of the object.
All values are lengths. All values are separated by commas.
So it should be top-y < bottom-y, due to the origin at
the top left corner (that also confused me at first).
Jürgen
--
Jürgen Stuber <stuber@loria.fr>
http://www.loria.fr/~stuber/
|
|
Message has 1 Reply: | | Re: www.texbrick.com
|
| (...) Yep, that's right: rect(x1,y1,x2,y2) I had the coordinates all screwed up. I have no idea how I managed to get it wrong as my HTML code book gives the above general code. I guess I'd better lay off the crack :] It should be fixed now. T. J. (23 years ago, 3-Aug-01, to lugnet.technic)
|
Message is in Reply To:
| | Re: www.texbrick.com
|
| Hmmm. In Netscape, you are correct, the rectangles do not work. But they work fine in IE. Is this just a case of IE trying to be "friendly and helpful" while supporting broken code? -Andy Lynch ----- Original Message ----- From: "Juergen Stuber" (...) (23 years ago, 3-Aug-01, to lugnet.technic)
|
8 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|