We're a community of 1077K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,076,277 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

Formatting long H1 headers

Hi all, first post here.

I was wondering if anyone knows how to format H1 headlines (titles of blog posts) when they are long.

The problem is, if the headline goes onto two lines, it appears all scrunched up and squished.

I could jsut make them all h2 tags instead, but I think I need at least one h1 tag for SEO purposes, per post, and it's probably best to have this as my headline of my post, right?

So, the question is: Is there any way of having a long title (h1) display better?

3
Contributors
2
Replies
6 Days
Discussion Span
1 Year Ago
Last Updated
3
Views
blue ocean sky
Newbie Poster
1 post since Apr 2012
Reputation Points: 0
Solved Threads: 0
Skill Endorsements: 0

Change the font size and spacing in the CSS style sheet this will allow you to keep your H1 without you having to change it to a H2.

irish luck
Newbie Poster
22 posts since Sep 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

I would not recommend using H2 just for the default formatting. Apply a style to the H1 elements. The best approach is adding the style in your external style sheet.

For example,

h1 {font-size:1em;} 

Substitute 1 for the value of your choice that best suits your pages.

JorgeM
Industrious Poster
4,023 posts since Dec 2011
Reputation Points: 297
Solved Threads: 548
Skill Endorsements: 115

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
View similar articles that have also been tagged:
 
© 2013 DaniWeb® LLC
Page rendered in 0.0596 seconds using 2.66MB