![]() |
CSS question
I've been trying to find out how I did this before, but my mind is blank.
In a CSS file I would like the different links (ie recips, enter and sponsor) to behave differently, size, color, weight etc. But I can't make it work. I thought I knew this, obviously not. What style property is correct for overriding those A:link and all that? (Getting older I guess |banghead|) Jolly |
There are few ways to accomplish this, but all is related and works the same way.
If your recips are just simple links then you can add a.class to a link like this and in the css file you just specify this class Code:
a.class{ Code:
#conatiner a{ Usually if I don't know something regarding coding then Google is my friend , like this Hope that helps. |
Thank you so much for a thoroughly reminder!
Very much appreciated. If greenguy build in a feature where I could give you a lottery-ticket in return (the so far unknown lottery-ticket button) I would press twice :) Have a great day Jolly |
I think the thing you are asking about is technically called a "css selector". A css selector seems to tie a css rule and its style declarations to the HTML elements you are trying to style. You can learn more by googling for "css selector" and at some of the links below:
http://www.w3schools.com/css/css_syntax.asp https://developer.mozilla.org/en-US/...ed%2FSelectors http://www.w3schools.com/cssref/css_selectors.asp |
Thanks for the tip!
The reason why what I tried to achieve didn't work was use of numbers in class-names. I even knew it, just forgot over the years J:)lly |
All times are GMT -4. The time now is 07:20 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc