Dilip Kumar
Guest
|
Posted:
Sat Jan 08, 2005 9:25 am Post subject:
Applying Stylesheets to HtmlPlaceholder control |
|
|
For one of my HTMLPlaceholderDefinitions, I have
selected "TextMarkupAndHtmlStyles" as the Formatting
option. For the corresponding HtmlPlaceholder control in
the template file, I have specified a css
class, "StdContent", as the CssClass property. That is, I
want to standardize the font-name, font-size and font-
color for the content. While creating a new page, if I
type the content manually in that control, it respects my
css class. But, if I copy something from another html page
(from another website) and paste it in the control, it
ignores my css class. It retains the font, font-color and
font-size of the original html page. How can I fix that?
Thanks a lot!
Dilip |
|
Stefan [MSFT]
Guest
|
Posted:
Sat Jan 08, 2005 3:49 pm Post subject:
Re: Applying Stylesheets to HtmlPlaceholder control |
|
|
Hi Dilip,
you need to change the format to a different type.
"TextMarkupAndHtmlStyles" means that styles copied from a document will be
used rather than the fonts you set outside.
Use "TextMarkup" instead.
Cheers,
Stefan.
"Dilip Kumar" <anonymous@discussions.microsoft.com> wrote in message
news:09c201c4f531$a5a43020$a501280a@phx.gbl...
| Quote: | For one of my HTMLPlaceholderDefinitions, I have
selected "TextMarkupAndHtmlStyles" as the Formatting
option. For the corresponding HtmlPlaceholder control in
the template file, I have specified a css
class, "StdContent", as the CssClass property. That is, I
want to standardize the font-name, font-size and font-
color for the content. While creating a new page, if I
type the content manually in that control, it respects my
css class. But, if I copy something from another html page
(from another website) and paste it in the control, it
ignores my css class. It retains the font, font-color and
font-size of the original html page. How can I fix that?
Thanks a lot!
Dilip |
|
|