Just Ask Matt - Answers

Changing the Font & Style of Your H1 Tags

QUESTION: (Rhonda) I am having problems changing the font size of my H1text. Is this very important? If so, how do I go about changing it?

Changing the text and/or style of an H1 tag is simple in CSS.  It does not affect anything other than how the visitor sees it though (i.e., if you use a large font, it means nothing more than a smaller font, in SEO terms or how Google sees it).

You can change the H1 tag locally or in the CSS definition file.

If you want to change all of the H1 tag settings in your entire website, you would do this in the CSS file:

h1 {
font-size: 24px;
}

You would use the h1 tag as you normally would:
<h1>This is my H1 tag</h1>

You can define a class in the CSS file which allows you to define your new style whenever you wish anywhere on the site:

.h1style {
font-size: 24px;
}

You would add this class to your h1 tag, when you wish it:

<h1 class=”h1style”>This is my H1 Tag</h1>

* Remember to add the “.” when defining it in the CSS to classify it as a class.

Finally, you can do it locally using a style attribute (without the CSS file):

<h1 style=”font-size:24px;”>This is my H1 Tag</h1>

All of the above do the exact same thing.  Their use is based on how often you use the style and how you want it defined (whether globally or locally).

Also, remember you can add other styles to the same definition (like color):

<h1 style=”font-size:24px; color:red;”>This is my H1 Tag that is Red and 24px high</h1>

I find that being able to change the styles of my text for header and other standard tags to be quite invaluable!  Knowing a little bit of CSS can go a long way.  Give this a try!

The easiest thing to try first is the local definition using the style attribute. If this is working for you, consider creating or editing your own CSS file!

Good luck!  cheers…matt


Read Full Post >>
More Questions & Answers...
GOT A QUESTION?

Who is Behind Marketing Mind?

Matthew Bredel begin_of_the_skype_highlighting     end_of_the_skype_highlightingMy name is Matthew Bredel and as of March, 2007, I am a full-time, work-at-home internet marketer. For close to 10 years, I worked for a defense company which was an OK job, but I was so uninspired in life and frankly, I needed some more money. That is when I first discovered internet marketing! Now I admit that I didn't start making thousands in my first couple of months (in fact, I lost my shirt!), but I finally saw the "internet light"...

Read More about Matthew Bredel
GURU STUFF END -->

Share This Post...

Yes, I am on another plane to Atlanta at the moment and since I knew I would be limited to only 2 hours of laptop time, I forked out the $12 for Seth Godin’s The Dip at the terminal (rip-off) bookstore. Still, I had seen “Breach” three times this month on various airplanes and [...]

Yes, I am on another plane to Atlanta at the moment and since I knew I would be limited to only 2 hours of laptop time, I forked out the $12 for Seth Godin’s The Dip at the terminal (rip-off) bookstore. Still, I had seen “Breach” three times this month on various airplanes and I have given up trying to read a newspaper because of space, so I thought I would give this highly recommended book a chance. Also, coming back from eBay Live, I had a chance to look at this funny guy Seth Godin from a respectable distance and really wanted to know what this baldy had to say (not to say that balding guys are bad…I should know!).

A couple of weeks ago, I wrote (and recommended) that everyone trying to build a new life for themselves should read “The Secret”. Here is my second recommendation! The book is quite short (about 70 pages or so) and is a good quick read while the captain has the “No Electronic Devices” light turned on. What this book is about is exactly some of the things I have been talking about lately. The “dip” refers to that point in virtually anything where the “honeymoon” is over and the reality of what you are trying to do sets in.

For example, I just bought a new video game (Soul Calibur 2) for my playstation a few days ago. I was excited about getting it! I started the game and I was kicking some serious butt on levels 1-5. I was prancing around the house like a champion and boasting how cool this game is (and how good I am!). Then came level 6. It was tough. I got killed. So I hit continue and tried again and the third time, I barely squeaked away a victory. Now, at level 7, I was getting a whipping. Welcome to “The Dip”. I have two choices here:

1) Quit
2) Persevere and keep trying until I become a Soul Calibur King

So this is an interesting cross-road. And this cross-road came to me as an affiliate marketer. It was that point when I was losing money on a daily basis, I was three months into working late nights to create it and the vision of this future was unknown. I chose to persevere because I truly believed that it could work and that I could make it work. In this battle, I chose to persevere and it paid off. Understand, though, that I was not looking to be good at this, I was (and AM) looking to be GREAT at this! That is probably the reason why I succeeded.

But is choosing to quit bad? I thought so, but Seth Godin’s book demonstrates that quitting is not bad, but it is NECESSARY! Then I started looking back on some of my online (and life decisions) and I have realized that QUITTING some things are responsible for where I am today. I quit my day job to focus my time and energy into online marketing. At the beginning, I quit on 4 affiliate marketing campaigns before I found some ventures that worked.

The DipReturning to my new playstation game. I still have two choices: Quitting or persevering? The question to ask yourself at this point is: Do I WANT to be the best at Soul Calibur? Honestly, not really. Levels 1-5 are enough for me right now. The challenge is not that intriguing. This is a dead-end task, in my opinion and because of that, I am bound to fail at this goal. Therefore, I choose to Quit. My time is better spent focusing on things that I WANT to be the king of…and right now that is online marketing.- Matthew Bredel

Don't Buy Another Money Making Product Until You Watch These FREE Videos!

First Name:
Email:

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>