2007/10/26, Antonio Gomes <[EMAIL PROTECTED]>:
> Erg, I am on Firefox 2.0.0.8, not embedding. It is more a layout issue.
> My bad, sorry about that.


Well, the offsetHeight code should perhaps give you a clue on how to
do this in C++.

Regards,
Martijn

> --Antonio Gomes
>
> Regards
>
> ext tonikitoo (Antonio Gomes) wrote:
> > Hi,
> >
> > I have the following html sample code: It has a normal link (<a>
> > element) which has a break line in the middle of the text (<br>).
> >
> > <html>
> > <body>
> > <table border="0" cellpadding="0" cellspacing="0">
> > <tr>
> > <td width="95">
> >     <b>
> >         <a href="google.com">CNN World <br> News Now</a>
> >     </b>
> > </td>
> > </tr>
> > </table>
> > </body>
> > </html>
> >
> >
> > When the <a> element gets the focus, two different rects highlight'ing
> > it (one for each line of the text). How could I get the height of the
> > hole text, not only the height of the first nsIRect element ?
> >
> > Regards
> >
> >
>
> _______________________________________________
> dev-tech-layout mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-tech-layout
>


-- 
Martijn Wargers - Help Mozilla!
http://weblogs.mozillazine.org/qa/
http://wiki.mozilla.org/Mozilla_QA_Community
irc://irc.mozilla.org/qa - /nick mw22
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to