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 07-25-2012, 04:36 PM   PM User | #1
thetorch
New to the CF scene

 
Join Date: Jul 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
thetorch is an unknown quantity at this point
Internet Explorer Simple CSS bug in IE7, IE9

Hello friends,

I am new to the site, and semi-new to crossbrowser testing. I recently designed a site in Wordpress using a basic theme and then adding my own JS and CSS to make it unique. For some reason, my superiors still use IE and are seeing an error where text is stacking on top of itself. The following screenshot shows the error:



I went back and checked on my coworkers computer with IE9 and it loaded fine on his machine. My boss wants it 'fixed' but I'm not sure how to do that. Any pointers?

The URL for the site is as follows:
http://torchinteractivesolutions.com/

Thanks for your help!
thetorch is offline   Reply With Quote
Old 07-25-2012, 04:59 PM   PM User | #2
Keleth
Senior Coder

 
Join Date: Jun 2008
Location: New Jersey
Posts: 2,354
Thanks: 45
Thanked 247 Times in 244 Posts
Keleth is on a distinguished road
In your css you have

Code:
b, strong { 
	font-weight: bold; 
	line-height:20%;
}
So its shrinking the line height to 20% and using it. Change that to 120% or whatever, or remove it entirely. Given b and strong are inline and not block elements, not sure why you gave them a line-height?
Keleth is offline   Reply With Quote
Old 07-25-2012, 05:16 PM   PM User | #3
thetorch
New to the CF scene

 
Join Date: Jul 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
thetorch is an unknown quantity at this point
Thank you Keleth, that did it! Not sure how that code slipped in there.
thetorch is offline   Reply With Quote
Reply

Bookmarks

Tags
css, error, ie bug, ie7, ie9

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 11:32 AM.


Advertisement
Log in to turn off these ads.