WEB DESIGN GARAGE [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

WEB DESIGN GARAGE [Electronic resources] - نسخه متنی

Marc Campbell

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید






Changing the Default Color for All Link States


If you want to change a link's default color, and if you want to have the same color apply to the link regardless of state, simply add a style rule to the style attribute of the link's anchor tag:


<a href=" style="color: #FF0000;">See Our Specials</a>

In this example, the hyperlink always appears in red, no matter the state of the link or the default link colors.

Alternately, if the same formatting applies to more than one link on the page, you can create a class style to control the special hyperlink color:


<style type="text/css">
a.special {
color: #FF0000;
}
</style>
<body>
<a class="special" href=">See Our Specials</a>
<a class="special" href=">See More Specials</a>
</body>

Now, any anchor tag that belongs to the special class has the same color properties, no matter the state of the link or the default link colors.


/ 175