W3C home > Mailing lists > Public > www-html@w3.org > February 2003

Re: [XHTML2] Suggestion: generalize CAPTION element

From: Ineke van der Maat <inekemaa@xs4all.nl>
Date: Tue, 4 Feb 2003 18:42:51 +0100
Message-ID: <01b401c2cc74$d7b485c0$1d197e50@ineke>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:54 GMT