Mind blowing SEO improving and Google rank increasing Signature Rotator SEO Tool.

How to add CSS class or style to H1 tag and align inline with div?

make money online
kickass Offline referral

Posts: 103
Joined: Apr 2014
Reputation: 1

I added <h1></h1> to my HTML page but the problem is it juts too big and it shows below the div tag. How to make them show inline horizontally and how to make h1 font smaller and get rid of bold font?
marcus_avrelius Offline referral

Posts: 2,507
Joined: May 2013
Reputation: 109

Support Team
Use CSS table property something like this:

<div class="wrapper">
<div>some content here</div>
<h1>Article title</h1>

.wrapper {
    display: table;
.wrapper h1 {
    color: #555;
    display: table-cell;
    font-size: 20px;
    font-weight: normal;

Here "wrapper h1" class takes care of H1 tag font size, color, and weight(bold)

Google this topic

User(s) browsing this thread: 1 Guest(s)