[Project_owners] SPAM?: Change in FF3 rendering of HTML

Jesper Staun Hansen jesper at selvet.dk
Mon Mar 3 13:17:57 PST 2008


lo.

you need to add:
display:inline-block;

to the style of id="text"

Geva Zeichner wrote:
> Hi,
>
> Do you might know why does this peace of HTML code look differently 
> between FF2 and FF3?
>
>     <html>
>         <head>
>             <style>
>             div
>             {
>                 <!-- -moz-border-radius: 15px; -->
>                 <!-- padding: 4px; -->
>             }
>             </style>
>         </head>
>
>         <body>
>            
>             <div id="preview" style="background-color: blue;
>                                      position: absolute;
>                                      top: 10px;
>                                      left: 10px;
>                                      padding: 5;
>                                      ">
>                 <div id="poster" style="background-color: orange;
>                                         float: left;
>                                         margin: 0 0 -5 0;
>                                         height: 140px;
>                                         ">
>                     <img
>     src="http://ia.imdb.com/media/imdb/01/I/49/56/39m.jpg">
>                 </div>
>                 <div id="text" style="background-color: red;
>                                       overflow: auto;
>                                       padding: 0 0 0 5;
>                                       width: 250px;
>                                       height: 140px;
>                                       ">
>                     <div id="title" style="background-color: lightgray;">
>                         Capote (2005)
>                     </div>
>                     <div id="rating" style="background-color:
>     lightgreen;">
>                         7.9/10
>                     </div>
>                     <div id="plot" style="background-color: pink;">
>                         Plot: Truman Capote (Hoffman), during his
>     research for his book In Cold Blood, an account of the murder of a
>     Kansas family, the writer develops a close relationship with Perry
>     Smith, one of the killers. Truman Capote (Hoffman), during his
>     research for his...
>                     </div>
>                 </div>
>             </div>
>         </body>
>     </html>
>
>
> Thanks :)
>
> -- 
> Get Gmail with Right-To-Left: https://addons.mozilla.org/firefox/2879/
> www.stage.co.il/Authors/GevaZeichner 
> <http://www.stage.co.il/Authors/GevaZeichner>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Project_owners mailing list
> Project_owners at mozdev.org
> https://www.mozdev.org/mailman/listinfo/project_owners
>   




More information about the Project_owners mailing list