set textstyle asp.net javascript
Hilfe
开发者_C百科how can i set the text-style
Inline solution:
<a href="..." style="font-family: Arial">Hilfe</a>
A better solution would be to use a separarate stylesheet or <style>...</style>
block so that you can reuse styles for multiple elements:
<style>
a { font-family: Arial; } /* this is valid for all links */
a.help { font-family: Arial; } /* this is valid links with class="help" */
<style>
...
<a href="..." class="help">Hilfe</a>
For an introduction to CSS/stylesheets, have a look at this tutorial.
Specify the font style in the style tag as below-
< href ="javascript:NewWindow =window.open('anleitung.aspx', 'NewWindow' , ' top=81, left=499, width=400, height=400'); NewWindow.focus()" style="font-family:Arial">Hilfe
精彩评论