Web Design Forum  
 
Go Back   Web Design Forum > Web and Graphic Design > Website Reviews

Reply
 
LinkBack Thread Tools Display Modes
Old 06-16-2009, 10:09 AM   #1
New Member
 
Join Date: Jan 2009
Posts: 14
Default Slight Problem, Probably something real stupid. Please have a look.

Hey guys, I'm wondering if someone could have a look at the top navigation bar on the http://www.strokessuck.com and tell me what is creating that visible bit of background that does not change to the hover color when mousing over the "Contact" link. I've been hammering at it for a couple hours and I can't quite figure out what's causing that. Thanks! Also, any other input would be chill.
walkclothed is offline   Reply With Quote


Old 06-17-2009, 04:21 AM   #2
New Member
 
Join Date: Jan 2009
Posts: 14
Default

Does anyone have any constructive criticism to give? It would be greatly appreciated.
walkclothed is offline   Reply With Quote
Old 06-17-2009, 08:18 AM   #3
Silver Member
 
Join Date: May 2009
Posts: 107
Default

It took a minute for me to figure out what you were talking about. The problem is simple to solve.

In screenstyle.css
Code:
a.nav:link, a.nav:visited {
display:block; float:left; width:19.9%; padding:1.2em 0 1.2em 0; margin:0; 
text-decoration:none; background-color:#6A6A6A; color:#FFFFFF;}

a.nav:hover {
	display:block;
	float:left;
	width:19.9%;
	padding:1.2em 0 1.2em 0;
	margin:0;
	text-decoration:none;
	background-color:#FF0000;
	color:#FFFFFF;
Change 'width: 19.9%' to 'width: 20%'
That should do it but I did not spend enough time to look over the entire source code.
wachtn is offline   Reply With Quote
Old 06-17-2009, 10:50 PM   #4
New Member
 
Join Date: Jan 2009
Posts: 14
Default

Thank you for your reply. That makes perfect sense, but now I remember why I made it 19.9% in the first place. It looks perfect at 20% in firefox, but when I look at it in IE 6 and 7, it drops the Contact button down to the next line. Any idea why it might be doing that? Something with the padding that I'm not seeing?

Thanks!
walkclothed is offline   Reply With Quote
Old 06-18-2009, 01:15 AM   #5
Silver Member
 
Join Date: May 2009
Posts: 107
Default

Im not really too sure. I dont actually have any first hand experiance with liquid layouts.

Try this, be sure to save a copy of the original CSS file so nothing bad can happen.

Change all relative instances of the code to the commented code.
Code:
	float:left; // float:left;
	width:19.9%; // width:20%;
	padding:1.2em 0 1.2em 0; // (remove this line)
                                // text-align: center;
Let me know what that does.
wachtn is offline   Reply With Quote


Reply

Tags
alignment, hover, navbar, navigation, stroke

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 05:25 AM.


Camera Forum - Computer Forum - Web Design Forum

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO 3.6.0 ©2011, Crawlability, Inc.