Hi,
I am woking on a school project in C#. I have a section where i have a HTML code containg text and CSS tags, the text properties(as font color...) is changed occurding to the CSS tag values.
I want to give the user an option to enter new values in to the css file.
How do i do that???
Thanks,
Plony
解决方案There are many ways to do this, ranging from the simple to the complex. Possibly the simplest way for you right now would be to have a template CSS file with placeholders for the values that can change, and then replace those values based on the user selection - this CSS file would then be written over the top of the current one.
I understand that, but my question is how??
How do i rewrite a CSS file in specific places? according to USER inputs???