开发者

set textstyle asp.net javascript

开发者 https://www.devze.com 2022-12-23 02:01 出处:网络
Hilfe 开发者_C百科how can i set the text-styleInline solution: <a href=\"...\" style=\"font-family: Arial\">Hilfe</a>

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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号