Hi everyone, I am pretty new to CSS, but I am learning! I'm trying to increase the text size of a online link. Is there a way I can write a line in my stylesheet, and then I can surrond that one line of text on my page with a certain tag and the size will change (as set in the stylesheet). Please help me if you can. Please note: 1) The text I am trying to change is a link. 2) I only want to change one link, not all of them! 3) I am a newb so your gonna have to write the line for me to put into my stylesheet! 4) I am using Wordpress Many thanks everyone! Sam
Yes, that's a very basic thing to do but I'm not going to do it for you you might be a newb but if you really want to learn then you got to do it yourself. Here's were to start: http://www.w3schools.com/CSS/css_font.asp and http://www.w3schools.com/CSS/css_link.asp
Hi sam132, I was once in your shoes. So here is what you should do (assuming your link text, which is called anchor text reads "tutorial"), your html markup should look like this: <a class="bigger">tutorial</a>. Then your CSS declaration should look like this: a.bigger { font-size: 120%; } That's it.
you can increase the size using style="font-size:18px" or style="font-size:2em" or style="font-size:150%". Try px, em, %.
if you using wordpress try this one : 1. go to wp-admin 2. go to editor under themes menu on left panel. 3. click / select stylesheet (style.css) on right. 4. at bottom at this code : a.mylinkbigger{font-size:18px !important;} Code (markup): then click update.