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
Padding on block-display links in IE and IE-specific stylesheets
Old 11-07-2008, 05:13 AM Padding on block-display links in IE and IE-specific stylesheets
Junior Talker

Posts: 3
Trades: 0
Hi all,

My problems are actually two different but related ones:

My original problem is that I'm trying to make a simple menu for a site out of an unordered list and some links. It looks right in compliant browsers, but in IE, the vertical padding on my links doesn't take at all.

You can see an example of what I mean here, check the difference between a compliant browser and IE: http://www.nassau.se/inspectit

And of course, the requisite code:
Code:
#wrapper #head #menuBar {
	background:white;
	width:678px;
	position:absolute;
	bottom:47px;
	z-index:1;
	min-height:26px;
}
#wrapper #head #menuBar ul {
	margin-left:105px;
	margin-top:6px;
}
#wrapper #head #menuBar ul li {
	display:inline;
	float:left;
}
#wrapper #head #menuBar ul li a:link {
	display:block;
	padding:6px 7px;
	color:black;
	text-decoration:none;	
}
#wrapper #head #menuBar ul li a:visited {
	color:black;
	text-decoration:none;
	padding:6px 7px;
}
#wrapper #head #menuBar ul li a:hover {
	color:white;
	background:#666666;	
	padding:6px 7px;
}
#wrapper #head #menuBar ul li a:active {
	color:white;
	text-decoration:none;
	padding:6px 7px;
}
A related issue I'm having is that I've made a copy of the above code and placed it in a stylesheet inside a conditional comment, but I've found that only some of the changes I make to that stylesheet take, such as changing the background color of #menuBar, while trying to change the padding of the same has no effect.

Thanks in advance!

Last edited by gabexvx; 11-07-2008 at 08:02 AM..
gabexvx is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-07-2008, 08:24 AM Re: Padding on block-display links in IE and IE-specific stylesheets
Defies a Status

Posts: 2,071
Name: carl
Location: UK
Trades: 0
Hi

I cant comment on the conditional statement other than it may not be set up right or something but the link you posted looks identical in IE and FF.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
bakerc is offline
Reply With Quote
View Public Profile Visit bakerc's homepage!
 
Old 11-07-2008, 08:28 AM Re: Padding on block-display links in IE and IE-specific stylesheets
Junior Talker

Posts: 3
Trades: 0
Quote:
Originally Posted by bakerc View Post
Hi

I cant comment on the conditional statement other than it may not be set up right or something but the link you posted looks identical in IE and FF.
Does it?
The problem I'm having on my end is that when you mouse over the menu (the white bar in the upper part of the page) the background on the links doesn't cover the whole height of the menu bar in IE (I can only check this with IE7, unfortunately), whereas it does in FF/Chrome. What version of IE do you happen to be using, and is the background not working properly in both IE and FF, then?
gabexvx is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Padding on block-display links in IE and IE-specific stylesheets
 

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