- From: Ineke van der Maat <inekemaa@xs4all.nl>
- Date: Tue, 4 Feb 2003 18:42:51 +0100
- To: <bert@w3.org>
- Cc: <www-html@w3.org>
Hello Bert,
You wrote
PS. It is not clear how the above could be handled with CSS. We will
have to invent something new in CSS3. But that shouldn't be a >
hindrance to making XHTML as elegant as possible.<
I can specify the captiontext in css and even in the imageproperties.
Perhaps it can be specified in the objectproperties using xhtml 2, when
<img> is replaced by <object> .
Try this :
.ImgRight {
    font-size: 0.85em;
    text-align: left;
    padding-left: 10px;
    padding-right: 0px;
    padding-top: 10px;
    padding-bottom: 10px;
    border: none;
    float: right;
    color: #c00;
    background-color: #fff;
}
 When you use this imgclass in the <p> element, you can even float the
image with belonging  red (#c00;) text (.085 em)  in netscape 4*.
<p class="ImgRight">
   <img src="/images/img.jpg" width="' height="' alt="" /><br />
   This is text belonging to the image that even floats to the right in
netscape 4*.
</p>
I will be very happy when this works with <object>  in xhtml 2 too .
Till now I did not see this possibility in xhtml 2.
Cheers
Ineke van der Maat
Received on Tuesday, 4 February 2003 12:26:38 UTC