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
Old 07-10-2010, 09:01 PM Lining up title text
Novice Talker

Posts: 6
Name: Andrey
Trades: 0
I want to line up the title in the header to the navigation bar like this site has, http://blogofthenet.com/. Can anyone help me?

EDIT: I managed to line up the title. But I can't figure out a way to line up the navigation buttons.

Heres current look. http://blogofthenet.com/test/

Code:
* { padding: 0; margin: 0; }

body {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	}
	
#wrapper { 
	margin: 0 auto;
	width: 922px;
	}
	
#header {
	color: #333;
	width: 100%;
	float: left;
	padding: 10px;
	height: 100px;
	margin: 0px 0px 0px 0px;
	background-color:#F3F2ED;
	background:#282923;
	font-style:italic;
	}
	
#header h1 {
	font-size: 2.0em;
	}
	
#header h1, #header h2 {
	display: block;
	width: 922px;
	margin: 0em auto;
	padding: 20px 0em 20px 0px;
	}
	
#header h1 a {
	color: #fff;
	text-decoration: none;
}
	
#navigation {
	float: left;
	width: 100%;
	color: #333;
	padding: 10px;
	margin: 0px 0px 0px 0px;
	background-color:#000;
	display: block;
	}
	
#leftcolumn { 
	color: #333;
	margin: 0px 0px 0px 0px;
	padding: 10px;
	height: 350px;
	width: 678px;
	float: left;
	background:#232323;
	}
	
#rightcolumn { 
	float: right;
	color: #333;
	margin: 0px 0px 0px 0px;
	padding: 10px;
	height: 350px;
	width: 200px;
	display: inline;
	background:#232323;
	}
	
#footer { 
 	width: 100%;
 	clear: both;
	color: #333;
	border: 1px solid #ccc;
	background-color:#F3F2ED;
 	margin: 0px 0px 10px 0px;
 	padding: 10px;
	}

#navigation {
	float:left;
	width:100%;
	background:#000;
	font-size:93%;
	line-height:normal;
	}

#navigation ul {
	margin: 0;
	padding: 0px 5px 0 124px;
	list-style: none;
	display: block;
	}
#navigation span {
	display: block;
	margin: 0em auto;
	padding: 20px 0em 20px 0px;
	}
#navigation li {
	display:inline;
	margin:0;
	}

#navigation a {
	float:left;
	background:url("http://www.webmaster-talk.com/images/tableft.gif") no-repeat left top;
	margin:0;
	padding:0 0 0 4px;
	text-decoration:none;
	}

#navigation a span {
	float:left;
	display:block;
	background:url("http://www.webmaster-talk.com/images/tabright.gif") no-repeat right top;
	padding:5px 15px 4px 6px;
	color:#FFF;
	}

/* Commented Backslash Hack hides rule from IE5-Mac \*/
#navigation a span {float:none;}

/* End IE5-Mac hack */
#navigation a:hover span {
	color:#FFF;
	}

#navigation a:hover {
	background-position:0% -42px;
	}

#navigation a:hover span {
	background-position:100% -42px;
	}

Last edited by Cheeters; 07-11-2010 at 03:52 AM..
Cheeters is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-11-2010, 05:33 AM Re: Lining up title text
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,376
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Sooooo!

Explain why you can't simply use the same layout for a page on the same site??
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 07-11-2010, 02:14 PM Re: Lining up title text
Novice Talker

Posts: 6
Name: Andrey
Trades: 0
Current layout is a wordpress theme...
Cheeters is offline
Reply With Quote
View Public Profile
 
Old 07-11-2010, 02:20 PM Re: Lining up title text
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,376
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
And ???
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 07-11-2010, 11:56 PM Re: Lining up title text
Novice Talker

Posts: 6
Name: Andrey
Trades: 0
Eh, someone from another forum helped me. Thanks for the help.
Cheeters is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Lining up title text
 

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