Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Can't get my title centered!
Old 10-29-2007, 11:02 PM Can't get my title centered!
Average Talker

Posts: 18
Name: Paul Burani
Trades: 0
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
 
 
Register now for full access!
Old 10-29-2007, 11:16 PM Re: Can't get my title centered!
vangogh's Avatar
Post Impressionist

Latest Blog Post:
Why Responsive Design?
Posts: 10,815
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
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 |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 10-29-2007, 11:21 PM Re: Can't get my title centered!
Average Talker

Posts: 18
Name: Paul Burani
Trades: 0
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-29-2007, 11:49 PM Re: Can't get my title centered!
vangogh's Avatar
Post Impressionist

Latest Blog Post:
Why Responsive Design?
Posts: 10,815
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
I'm guessing it worked Paul. Just good timing for the quick response.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 11-07-2007, 03:19 PM Re: Can't get my title centered!
Novice Talker

Posts: 6
Name: Michael Smith
Trades: 0
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, 03:55 PM Re: Can't get my title centered!
Experienced Talker

Posts: 39
Name: Martin
Trades: 0
Aw thx man i didnt know that Thx alot!
__________________

Please login or register to view this content. Registration is FREE
Martin101 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Can't get my title centered!
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB 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.47808 seconds with 12 queries