# CSS & links

**URL:** <https://forum.kirupa.com/t/css-links/201712>\
**Category:** flash\
**Created:** [September 24, 2006, 11:08am UTC](https://forum.kirupa.com/t/css-links/201712 "2006-09-24T11:08:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![norrb](https://avatars.discourse-cdn.com/v4/letter/n/c77e96/32.png) [@norrb](https://forum.kirupa.com/u/norrb)\
**Post date:** [September 24, 2006, 11:08am UTC](https://forum.kirupa.com/t/css-links/201712/1 "2006-09-24T11:08:33Z")

</div>

Hi there!

I’ve read several tutorials & articles about css in flash, but i haven’t found anything that’d resolve my problems with css.

I have 4 textfields, where the content is read from xml files & i formatted it in css & embedded fonts. The problem is that i want to set a few different styles for links (\<a\>), but there’s only one working. If in css file i put e.g.:

a:link{  
…  
}

.something a:link{  
…  
}

some error occurs & textFields are not formatted properly.  
It works well only if i set one , general style for \<a\>:

a:link{  
…  
}

Anyone knows how to set different styles for links, that’d work correctly?
