troubleshooting Question

CSS conditional if IE

Avatar of pda4me
pda4me asked on
7 Comments1 Solution297 ViewsLast Modified:
How do I alter the existing css code here to do a top margin of 20px if browser is IE 7?  I want it to be this for more current versions of IE and FF, but IE 7 is killing me and I need to adjust the top-margin in that case.

#slideshow {
border: 1px solid #e2e2e2;
background: #ffffff;
padding: 10px;
-moz-border-radius: 10px;
-khtml-border-radius: 10px;
-webkit-border-radius: 10px;
border-radius: 10px;
margin: 0px 0px 20px 0px;

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 7 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 7 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros