Add Styles to the Header?
-
How do I programmatically add an internal style tag to the header in an ASP.NET page? Eg. like...
<head> <title>Title</title> **<style type="text/css"> p { font-size: 70%; margin-bottom: 4px; font-family: Verdana, Sans-Serif; } </style>** </head>
I want to programmatically add/manipulate the <style type="text/css"> tag from the code behind. Any ideas?Dominic Pettifer Blog: www.dominicpettifer.co.uk
-
How do I programmatically add an internal style tag to the header in an ASP.NET page? Eg. like...
<head> <title>Title</title> **<style type="text/css"> p { font-size: 70%; margin-bottom: 4px; font-family: Verdana, Sans-Serif; } </style>** </head>
I want to programmatically add/manipulate the <style type="text/css"> tag from the code behind. Any ideas?Dominic Pettifer Blog: www.dominicpettifer.co.uk
<head runat="server">