helpmeplease2 Posted February 19, 2008 Share Posted February 19, 2008 When I use: <div style="font-size:9px;">words</div> the words are not showing up as 9px, they are showing up as 11px because of what I have set for link sizes in my stylesheet.... a:link, a:visited, a:active { font-family: Arial,Verdana,Sans-serif,serif; font-size: 11px; font-weight: bold; text-decoration: none; color: #bdbdbd; } How can I make it do what I tell it to? Link to comment https://forums.phpfreaks.com/topic/91966-font-size-being-overrided-by-main-css/ Share on other sites More sharing options...
wazzoinc Posted February 19, 2008 Share Posted February 19, 2008 Is that all the css and html you have? Also, are all the words also links? You need to post all css and html for help. Greek your text, if you want, but right now, it's hard to answer your question accurately. Link to comment https://forums.phpfreaks.com/topic/91966-font-size-being-overrided-by-main-css/#findComment-471010 Share on other sites More sharing options...
helpmeplease2 Posted February 19, 2008 Author Share Posted February 19, 2008 Yes, all the words are links. I won't be able to fit all my CSS here. Link to comment https://forums.phpfreaks.com/topic/91966-font-size-being-overrided-by-main-css/#findComment-471036 Share on other sites More sharing options...
duclet Posted February 20, 2008 Share Posted February 20, 2008 Try changing it to font-size:9px !important; and see if that works. Link to comment https://forums.phpfreaks.com/topic/91966-font-size-being-overrided-by-main-css/#findComment-471225 Share on other sites More sharing options...
TheFilmGod Posted February 20, 2008 Share Posted February 20, 2008 <div class="style">words</div> .style a { font-size: 9px; } Link to comment https://forums.phpfreaks.com/topic/91966-font-size-being-overrided-by-main-css/#findComment-471234 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.