Reply
Can't get my title centered!
Old 10-30-2007, 12:02 AM Can't get my title centered!
Average Talker

Posts: 18
Name: Paul Burani
My software manufacturer provided me with a ready-to-go design with a very questionable element: a title tag which is left-justified starting in the center. Sound ridiculous? It is:

http://www.clicksharpmarketing.com/beta/cds

Does anyone know how I can get this title and subtitle to center? My client's site is supposed to go live in 48 hours...and I completely agree with her that right now it looks ridiculous.

Thanks in advance!
PB
cavemanlawyer15 is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 10-30-2007, 12:16 AM Re: Can't get my title centered!
vangogh's Avatar
Post Impressionist

Posts: 8,923
Name: Steven Bradley
Location: Boulder, Colorado
I'm assuming you're referring to the name at the top. If so it's set as an <h1> and in your css file you'll see:

h1{
/* font-weight: normal; */
font-size:160%;
line-height:140%;
color: #FEA013;
letter-spacing: 1px;
margin-top:18px;
margin-bottom:6px;
width: 500px;
height: 48px;
float:right;
}

If you change it to

h1{
/* font-weight: normal; */
font-size:160%;
line-height:140%;
color: #FEA013;
letter-spacing: 1px;
margin-top:18px;
margin-bottom:6px;
height: 48px;
text-align:center;
}

it should center the text. What I did was remove the width: 500px and also the float: right and added text-align: center.

Hope that helps.
__________________
l Search Engine Friendly Web Design | Van SEO Design
l Tips On Marketing, SEO, Design, and Development | TheVanBlog
l Custom WordPress Themes
| Small Business Forum
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 10-30-2007, 12:21 AM Re: Can't get my title centered!
Average Talker

Posts: 18
Name: Paul Burani
That's phenomenal. I've never seen such quick and accurate support. You should get a Purple Heart or something...

Thanks very much.
cavemanlawyer15 is offline
Reply With Quote
View Public Profile
 
Old 10-30-2007, 12:49 AM Re: Can't get my title centered!
vangogh's Avatar
Post Impressionist

Posts: 8,923
Name: Steven Bradley
Location: Boulder, Colorado
I'm guessing it worked Paul. Just good timing for the quick response.
__________________
l Search Engine Friendly Web Design | Van SEO Design
l Tips On Marketing, SEO, Design, and Development | TheVanBlog
l Custom WordPress Themes
| Small Business Forum
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 11-07-2007, 04:19 PM Re: Can't get my title centered!
Novice Talker

Posts: 6
Name: Michael Smith
I appreciate the way people help other people in Webmaster forums like this. Keep it up guys!
michael221 is offline
Reply With Quote
View Public Profile
 
Old 11-07-2007, 04:55 PM Re: Can't get my title centered!
Experienced Talker

Posts: 39
Name: Martin
Aw thx man i didnt know that Thx alot!
Martin101 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Can't get my title centered!
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.14082 seconds with 12 queries