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
Cross Browser -- Line-Height CSS Problem
Old 10-11-2006, 02:11 PM Cross Browser -- Line-Height CSS Problem
Novice Talker

Posts: 7
Name: Justin Reynolds
Trades: 0
I have screenshots to show what my problem is. The problem has to do with multiple line spanning text links inside a <TD> element of a table. The TD is set to a specified width for usage on a menu. The problem I have is that different browsers use different spacing -- to fix this, I used the CSS element line-height to control the spacing between two lines of text. This introduced a new problem which seems to be browser dependent -- text clipping. In Opera and Firefox, there is no clipping -- However in IE, there is clipping. I am trying to work towards a single uniform CSS file, but I am having troubles.
Here are screenshots of the browsers that details my problem. I also have a screenshot of the code:

Note: The problem is in the second picture!!





justinr is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-11-2006, 04:32 PM Re: Cross Browser -- Line-Height CSS Problem
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Trying to get ONE CSS file that works perfectly for ALL browsers is, quite frankly, impossible BECAUSE of IE's extreme bugginess. Those of us who beat IE into submission every day know that you have to have a separate IE CSS file that is called from conditional comments in your page and that holds all of the HACKS we must use to make IE toe the line.

Here is a laundry list of IE's problems:
http://www.positioniseverything.net/explorer.html
Specifically for your problem, the IE/Win line-height bug:
http://www.positioniseverything.net/...heightbug.html
__________________
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 Cross Browser -- Line-Height CSS Problem
 

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