[Project_owners] SPAM?: Change in FF3 rendering of HTML
Jesper Staun Hansen
jesper at selvet.dk
Mon Mar 3 13:43:04 PST 2008
Resent to the list as well:
Dunno. I just remembered something about the lines "CSS improvements in
firefox 3" and refound this:
http://developer.mozilla.org/en/docs/CSS_improvements_in_Firefox_3
The very first line gave it away.
The default seems to be "Initial value: inline". Don't know if this is
the default for all Firefox versions.
Geva Zeichner wrote:
> Thanks!
> Works great :)
>
> Do you know why this line is suddenly needed in FF3?
>
> On 3/3/08, *Jesper Staun Hansen* <jesper at selvet.dk
> <mailto:jesper at selvet.dk>> wrote:
>
> 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>
> > <http://www.stage.co.il/Authors/GevaZeichner>
> >
> ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Project_owners mailing list
> > Project_owners at mozdev.org <mailto:Project_owners at mozdev.org>
> > https://www.mozdev.org/mailman/listinfo/project_owners
> >
>
>
> _______________________________________________
> Project_owners mailing list
> Project_owners at mozdev.org <mailto:Project_owners at mozdev.org>
> https://www.mozdev.org/mailman/listinfo/project_owners
>
>
>
>
> --
> 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>
More information about the Project_owners
mailing list