I have a sales page with a lot of different styles. The problem is that every time I want to increase font size or make something bold I've been adding on-page code to accomplish this. I know there's a simpler way to add some code in the css and then reference it like <h6>... The problem is this page is completely different styles than the main pages so I can't use h1-h6. Can I just name it something like bigredtxt in the css file and then reference it like <bigredtxt>? Here's an example of how messy it is:
Advice on cleaning up css code
8
I have a sales page with a lot of different styles. The problem is that every time I want to increase font size or make something bold I've been adding on-page code to accomplish this. I know there's a simpler way to add some code in the css and then reference it like <h6>... The problem is this page is completely different styles than the main pages so I can't use h1-h6. Can I just name it something like bigredtxt in the css file and then reference it like <bigredtxt>?
Here's an example of how messy it is:
Here's an example of how messy it is:
Code:
<p style="text-align: center;"><span style="font-size: 22px;"><span style="font-family: verdana, geneva;"><strong>When I had my first 10 … </strong></span><span style="font-family: verdana, geneva;"><strong>I knew <span style="text-decoration: underline; background-color: #ffff00;">I had discovered the secrets</span><span style="background-color: #ffff00;"> to being <span style="text-decoration: underline;">successful at blah blah.</span></span></strong></span></span></p> <p>Something else I discovered along the way is…</p> <p style="text-align: center;"><span style="font-size: 20px;"><strong>The key to success at blah blah and pretty much anything relies on three major factors:</strong></span></p> <p>1. <span style="background-color: #ffff00;"><strong>Knowledge-</strong></span> You must gain an in depth understanding of the subject</p> <p>2. <span style="background-color: #ffff00;"><strong>Action-</strong></span> You have to take action with what you’ve learned</p> <p>3. <span style="background-color: #ffff00;"><strong>Persistence-</strong></span> You have to work hard at it and constantly strive to get better</p> <p>Anyone who enjoys blah blah for more than a few weeks can definitely take action and be persistent. If you’re willing to go out and work over and over again just to find stuff then you have potential to be great.</p>
- Brandon Tanner
- [ 1 ] Thanks
- [1] reply
- Letsurf
- [1] reply
- Andrew H
- [1] reply
- Letsurf
- Andrew H
Next Topics on Trending Feed
-
8