Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 11-24-2009, 04:52 PM   PM User | #1
govoi
New to the CF scene

 
Join Date: Nov 2009
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
govoi is an unknown quantity at this point
Exclamation IE6, Extra padding, help needed

Hello,

I'm facing a problem regarding some extra padding which is showing in IE 6 and IE7.
In firefox and IE8, everything is working fine.

You can find it here:
http://www.kmthc.be/testkevin/sabam/underline.html

As you can see, "Informatie en tarieven" is underlined in red, using a border bottom style.

But in IE6 and IE7, the border keeps going until the blue separator, but this is not what is supposed to be happening. The red line should just underline the text "Informatie en tarieven".

If anybody has some ideas, they are more than welcome.

Page is fully validated using W3C validator.

Thanks!
govoi is offline   Reply With Quote
Old 11-24-2009, 05:46 PM   PM User | #2
j05hr
Regular Coder

 
Join Date: Nov 2008
Posts: 175
Thanks: 4
Thanked 6 Times in 6 Posts
j05hr is an unknown quantity at this point
If it's to do with too much padding, you might want to add this into the head of your html.
Code:
<!--[if IE]>
<style type="text/css" media="screen">
 #whatever-the-css-is-called {padding: 10px;}
</style>
<![endif]-->
Obviously call the css the name of your file and change the padding to suit the size of the problem.

This may be completely wrong as I'm no expert but it's worth a try as none of the experts have replied yet.
j05hr is offline   Reply With Quote
Users who have thanked j05hr for this post:
govoi (11-24-2009)
Old 11-24-2009, 07:21 PM   PM User | #3
govoi
New to the CF scene

 
Join Date: Nov 2009
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
govoi is an unknown quantity at this point
Hi j05hr,

thanks for your reply but it didn't work indeed...

Anybody any other suggestions?

Thanks
govoi is offline   Reply With Quote
Old 11-25-2009, 10:58 AM   PM User | #4
govoi
New to the CF scene

 
Join Date: Nov 2009
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
govoi is an unknown quantity at this point
Anybody?
govoi is offline   Reply With Quote
Reply

Bookmarks

Tags
a href, link, list, margin, padding

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

Forum Jump


All times are GMT +1. The time now is 09:10 AM.


Advertisement
Log in to turn off these ads.