|
Home > Archive > Microsoft Content Management Server > April 2004 > Style not inherited by TD in Edit mode
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Style not inherited by TD in Edit mode
|
|
| Clif Peterson 2004-04-29, 2:36 pm |
| Problem:
Font size specified in stylesheet for body tag.
When viewing pages in Published or Unpublished, table/td elements inherit the font size.
When editing a page, when the table/td elements are inside the HtmlPlaceholder objects, they do not inherit the font size, thus the content in tables looks different while editing which confuses authors.
The pages have the doctype directive set to:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" >
It makes no difference if I add the loose.dtd or use the scrict structure.
Any ideas on how I can get the normal style inheritance from body to td to be able to cross the HtmlPlaceholder <object /> boundry?
| |
| Stefan [MSFT] 2004-04-29, 8:35 pm |
| Hi Clif,
did you test this placeholder control:
http://www.gotdotnet.com/Community/...df-b73855291904
Cheers,
Stefan.
--
This posting is provided "AS IS" with no warranties, and confers no rights.
"Clif Peterson" <clifton.r.peterson@intel.com> wrote in message
news:25F277F4-8902-4722-BC00-0CD7297170D9@microsoft.com...
> Problem:
>
> Font size specified in stylesheet for body tag.
> When viewing pages in Published or Unpublished, table/td elements inherit
the font size.
> When editing a page, when the table/td elements are inside the
HtmlPlaceholder objects, they do not inherit the font size, thus the content
in tables looks different while editing which confuses authors.
>
> The pages have the doctype directive set to:
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" >
>
> It makes no difference if I add the loose.dtd or use the scrict structure.
>
> Any ideas on how I can get the normal style inheritance from body to td to
be able to cross the HtmlPlaceholder <object /> boundry?
| |
| Clif Peterson 2004-04-30, 1:37 pm |
| Excellent.
Once again, Stefan saves the day.
This answer gives me the solution to this question and my other question on getting the scrollHeight of the placeholder object. NRDynHtml.dom.body.scrollHeight - Duh!
Thank you.
----- Stefan [MSFT] wrote: -----
Hi Clif,
did you test this placeholder control:
http://www.gotdotnet.com/Community/...df-b73855291904
Cheers,
Stefan.
--
This posting is provided "AS IS" with no warranties, and confers no rights.
"Clif Peterson" <clifton.r.peterson@intel.com> wrote in message
news:25F277F4-8902-4722-BC00-0CD7297170D9@microsoft.com...
> Problem:
> When viewing pages in Published or Unpublished, table/td elements inherit
the font size.
> When editing a page, when the table/td elements are inside the
HtmlPlaceholder objects, they do not inherit the font size, thus the content
in tables looks different while editing which confuses authors.[vbcol=seagreen]
><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" >>> It makes no difference if I add the loose.dtd or use the scrict structure.
be able to cross the HtmlPlaceholder <object /> boundry?
|
|
|
|
|