If you have a page with the line <xhtml:h1 style="background-color:
#DDDDDD">gqy</xhtml:h1> running under beta 3.0 the descenders of the text appear out
side the gray area this happens under IE 6 and firefox 1.0.7 Doug -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
Doug Young wrote:
> > > If you have a page with the line > > <xhtml:h1 style="background-color: #DDDDDD">gqy</xhtml:h1> > > running under beta 3.0 the descenders of the text appear out side the > gray area > > > > this happens under IE 6 and firefox 1.0.7 Anyway, in HTML the style specified on <xhtml:h1> applies to that element, not to following elements, that makes sense, if I understand your problem well. If you specify a gray background on a paragraph, that paragraph is going to be gray, and not subsequent paragraphs, etc. -Erik -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Erik,
The descenders are the part of the text that are below the base line so a y has a descender but an a does not. If you like the descenders are the "tails" of the letters. So it looks like the characters are always out side the h1 region but you can only see it when the h1 background is a different colour from the page Have a look at the attached image. regards Doug -----Original Message----- From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez Sent: 08 November 2005 12:48 To: [hidden email] Subject: Re: [ops-users] formatting problem with h1 and background color in beta3.0 Doug Young wrote: > > > If you have a page with the line > > <xhtml:h1 style="background-color: #DDDDDD">gqy</xhtml:h1> > > running under beta 3.0 the descenders of the text appear out side the > gray area > > > > this happens under IE 6 and firefox 1.0.7 Anyway, in HTML the style specified on <xhtml:h1> applies to that element, not to following elements, that makes sense, if I understand your problem well. If you specify a gray background on a paragraph, that paragraph is going to be gray, and not subsequent paragraphs, etc. -Erik -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws Image2.jpg (1K) Download Attachment |
Administrator
|
Thanks for the clarification. The first thing to do is to create a
static HTML file with this content and load it up into your web browser. This would show whether OPS has anything to do with it. -Erik Doug Young wrote: > Erik, > > The descenders are the part of the text that are below the base line so a y > has a descender but an a does not. If you like the descenders are the > "tails" of the letters. > > So it looks like the characters are always out side the h1 region but you > can only see it when the h1 background is a different colour from the page > > Have a look at the attached image. > > regards > Doug > > > -----Original Message----- > From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez > Sent: 08 November 2005 12:48 > To: [hidden email] > Subject: Re: [ops-users] formatting problem with h1 and background color in > beta3.0 > > Doug Young wrote: > >> >> >>If you have a page with the line >> >><xhtml:h1 style="background-color: #DDDDDD">gqy</xhtml:h1> >> >>running under beta 3.0 the descenders of the text appear out side the >>gray area >> >> >> >>this happens under IE 6 and firefox 1.0.7 > > > What do you mean by "descenders of the text"? > > Anyway, in HTML the style specified on <xhtml:h1> applies to that > element, not to following elements, that makes sense, if I understand > your problem well. If you specify a gray background on a paragraph, that > paragraph is going to be gray, and not subsequent paragraphs, etc. > > -Erik > > > > ------------------------------------------------------------------------ > > > ------------------------------------------------------------------------ > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Sure,
the attached file htmlonly.html has the line and nothing else, the attached file ops-generatedhtml is the html I get when I view source of the ops page that generated the problem. Interestingly neither of them reproduce the problem, I am guessing that your are doing something with styles in java script ? regards Doug -----Original Message----- From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez Sent: 08 November 2005 14:45 To: [hidden email] Subject: Re: [ops-users] formatting problem with h1 and background color in beta3.0 Thanks for the clarification. The first thing to do is to create a static HTML file with this content and load it up into your web browser. This would show whether OPS has anything to do with it. -Erik Doug Young wrote: > Erik, > > The descenders are the part of the text that are below the base line so a y > has a descender but an a does not. If you like the descenders are the > "tails" of the letters. > > So it looks like the characters are always out side the h1 region but you > can only see it when the h1 background is a different colour from the page > > Have a look at the attached image. > > regards > Doug > > > -----Original Message----- > From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez > Sent: 08 November 2005 12:48 > To: [hidden email] > Subject: Re: [ops-users] formatting problem with h1 and background color > beta3.0 > > Doug Young wrote: > >> >> >>If you have a page with the line >> >><xhtml:h1 style="background-color: #DDDDDD">gqy</xhtml:h1> >> >>running under beta 3.0 the descenders of the text appear out side the >>gray area >> >> >> >>this happens under IE 6 and firefox 1.0.7 > > > What do you mean by "descenders of the text"? > > Anyway, in HTML the style specified on <xhtml:h1> applies to that > element, not to following elements, that makes sense, if I understand > your problem well. If you specify a gray background on a paragraph, that > paragraph is going to be gray, and not subsequent paragraphs, etc. > > -Erik > > > > ------------------------------------------------------------------------ > > > ------------------------------------------------------------------------ > > > -- > You receive this message as a subscriber of the [hidden email] > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
Doug Young wrote:
> Sure, > the attached file htmlonly.html has the line and nothing else, the attached > file ops-generatedhtml is the html I get when I view source of the ops page > that generated the problem. Interestingly neither of them reproduce the > problem, I am guessing that your are doing something with styles in java > script ? No, but I found the culprit: there is the following CSS in orbeon-layout.xml (now orbeon.css): line-height: 13pt; This is what causes your problem. You should configure orbeon-layout.xml (now orbeon.css) to meet your own needs, or just not include it in your theme, except the XForms CSS rules, which is now easier: In the next unstable build, you will find a slightly different system to include Orbeon PresentationServer CSS stylesheets, with two CSS files under config/theme: orbeon.css: definitions proprietary to the Orbeon theme (very likely to change as users will create their own theme) xforms.css: definitions related to XForms controls (that may be changed by users if they are not happy with the defaults) These two definitions are referenced by theme.xsl. The old system where a single file, orbeon-layout.xml, was used as a template for CSS files at runtime has been removed, as it was a little confusing and not the best solution performance-wise, as it would be loaded as a full-fledged PFC page. The CSS files are now generated at build time using ant filters. -Erik -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Free forum by Nabble | Edit this page |