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
Problem with link's left padding on IE6
Old 03-28-2009, 08:45 AM Problem with link's left padding on IE6
Junior Talker

Posts: 2
Trades: 0
Hello,

I'm having a problem with link's display on IE6.
Opera, IE7, Firefox, Safari display this:


and this is my desired result and everything looks fine. Now IE6 is somehow ignoring left padding property and displays menu in this way (ignore the PNG icon background problem, it is not my major headache... for now



I've tried to play with CSS, look for the answer in various forums, but came with nothing. So I decided to ask for the help here, I hope that more experienced webmasters than me will give a solution

Thanks in advance and here is an excerpt from my CSS code:
Code:
div.module_turinys ul {
	list-style: none;
	margin: 0; 
	padding: 0;
	font-family: Arial, Helvetica, sans-serif;	
}
div.module_turinys ul li{
font-size: 12px;
margin: 0;
padding: 0px;
width: 181px;	
}
div.module_turinys ul li img{
float: left;
padding: 4px 0px 0px 5px;
width: 13px;
height: 15px;	
}
div.module_turinys ul li a.mainlevel {
color: #000000;
padding: 3px 0px 3px 26px;
display: block;
background: #bef0be;
border: solid 1px #FFFFFF;
}
div.module_turinys ul li a.mainlevel:hover {
background: #96dca9;
text-decoration: none;
}
div.module_turinys ul li a.sublevel {
color: #FFFFFF;
padding: 5px 0px 3px 26px;
display: block;
background: #96c0c0;
}
camouflage is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-28-2009, 12:59 PM Re: Problem with link's left padding on IE6
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Have you got the page on line ? We really need to see ALL the code, html and css both to see what's going on.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

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


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

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 03-28-2009, 01:04 PM Re: Problem with link's left padding on IE6
Junior Talker

Posts: 2
Trades: 0
Quote:
Originally Posted by LadynRed View Post
Have you got the page on line ? We really need to see ALL the code, html and css both to see what's going on.
Yup, it's still on construction stage though, but almost everything is complete.
http://www.lentvaris.info/index.php
camouflage is offline
Reply With Quote
View Public Profile
 
Old 03-28-2009, 05:31 PM Re: Problem with link's left padding on IE6
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
I would suggest that you put the image in as a background on the <a>, then adjust the padding/margins on the text as needed.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

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


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

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Problem with link's left padding on IE6
 

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