/    Sign up×
Community /Pin to ProfileBookmark

Style issue with list items (Internet Explorer)

I am having a wordpress blog and using a theme but there is a issue with it. My blog is at: [url]www.adityaraj.com[/url]

In Internet explorer in the side bar the categories list and blog roll items are not coming formatted properly. The first item is having a problem but it is working fine in almost all the other browsers I have used.

Please try to help me with this..

Thanks in advance

to post a comment
CSS

2 Comments(s)

Copy linkTweet thisAlerts:
@CentauriJul 30.2007 — Floating the <li>s fixes the alignment, and IE needs the inline display to avoid its doubled float-margin bug. A line height on the <a> tags evens the spacing cross-browser.
[CODE]#sidebar ul ul li {
list-style:none;
margin:3px 15px;
width: 150px;
[COLOR="Red"]float: left;
display: inline;[/COLOR]
}

#sidebar ul ul li a {
display: block;
padding: 3px 10px 3px 20px;
font: bold 11px Arial, Helvetica, sans-serif;
color: #3B4852;
background: url('images/bg_sidelink.gif') no-repeat center left;
[COLOR="Red"]line-height: 11px;[/COLOR]
}[/CODE]
Copy linkTweet thisAlerts:
@aditya_internetauthorJul 30.2007 — I am really glad that it worked..

thanks a lot buddy for ur help... i highly appreciate that ?
×

Success!

Help @aditya_internet spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...