2 replies [Last post]
lkeeney
lkeeney's picture
Offline
newbie
Boulder City, Nevada USA
Last seen: 8 years 16 weeks ago
Boulder City, Nevada USA
Timezone: GMT-7
Joined: 2014-06-03
Posts: 8
Points: 11

I would like to know how to change the style of the font used within a H1 tag.

I have this H1 tag; <h1> Lawrence Creative Photography LLC </h1>

I want to make the letters LLC slightly smaller than the rest of the title.

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 1 year 29 weeks ago
Dallas
Timezone: GMT-6
Joined: 2004-06-25
Posts: 9776
Points: 3858

<h1>Lawrence Creative

<h1>Lawrence Creative Photography <span>LLC</span></h1>

h1 span {
  font-size: smaller;
  }

cheers,

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.

lkeeney
lkeeney's picture
Offline
newbie
Boulder City, Nevada USA
Last seen: 8 years 16 weeks ago
Boulder City, Nevada USA
Timezone: GMT-7
Joined: 2014-06-03
Posts: 8
Points: 11

Thank you Gary, I just drew a

Thank you Gary,

I just drew a blank on this one.