Last post Jan 23, 2019 06:33 PM by Billson3000
Jan 23, 2019 04:19 PM|Billson3000|LINK
I have created a html class to help with some common formatting. Can I save this somewhere in my webforms solution so that I can reference this in multiple separate webforms without declaring/creating it on each page??
<p>London is the capital of England.</p>
<p>Paris is the capital of France.</p>
<p>Tokyo is the capital of Japan.</p>
Jan 23, 2019 05:43 PM|KathyW|LINK
If you are talking about a style class, CSS, then put your CSS in an external style sheet, and reference that style sheet in each page. The only CSS declarations that makes sense to put in the page itself is CSS that is only used on one page. Put common
styles in the external style sheet.
Jan 23, 2019 05:56 PM|Billson3000|LINK
Thank you Kathy. Can you reference the external style sheet in the site master so you don't need a reference on each page?
Jan 23, 2019 06:14 PM|KathyW|LINK
Jan 23, 2019 06:33 PM|Billson3000|LINK
Thank you Kathy!