CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old February 3rd, 2009, 04:51 AM
rigidninja's Avatar
rigidninja rigidninja is offline
The king of ******* ninjas
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2005
Posts: 383 rigidninja User rank is First Lieutenant (10000 - 20000 Reputation Level)rigidninja User rank is First Lieutenant (10000 - 20000 Reputation Level)rigidninja User rank is First Lieutenant (10000 - 20000 Reputation Level)rigidninja User rank is First Lieutenant (10000 - 20000 Reputation Level)rigidninja User rank is First Lieutenant (10000 - 20000 Reputation Level)rigidninja User rank is First Lieutenant (10000 - 20000 Reputation Level)rigidninja User rank is First Lieutenant (10000 - 20000 Reputation Level)rigidninja User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 5 Days 13 h 49 m 15 sec
Reputation Power: 111
Css in joomla cuts text in IE in half

Hi All

I used Joomla to design a really simple website for someone. I currently have the problem where my text, with <h2> tag, in IE, the bottom bit of the text is cut off. For instance, a 'g' will not have its bottom 'loop'. So the text is cut off horizontally, not vertically. Works fine in Firefox.

Using IE 's web development toolbar, I narrowed it down to the H2 tag, which is on a CSS file in Joomla, there are more tags nested within the <h2> tag, but they seem ok, as they are only font tags. Here is the css code of the Joomla template.

Code:
h2, .contentheading { 	
padding: 0; 	
font-family: Verdana, Geneva; 	
font-size: 1.3em; 		
font-weight: bold; 	
vertical-align: text-top; 	
color: #333; 	
text-align: left; 	
width: 100%; } 



Any idea how to fix such a problem?

Last edited by rigidninja : February 3rd, 2009 at 05:02 AM.

Reply With Quote
  #2  
Old February 3rd, 2009, 06:11 AM
Akh's Avatar
Akh Akh is offline
|<.+#f@#+.&.|
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Mar 2002
Location: norway
Posts: 2,908 Akh User rank is General 2nd Grade (Above 100000 Reputation Level)Akh User rank is General 2nd Grade (Above 100000 Reputation Level)Akh User rank is General 2nd Grade (Above 100000 Reputation Level)Akh User rank is General 2nd Grade (Above 100000 Reputation Level)Akh User rank is General 2nd Grade (Above 100000 Reputation Level)Akh User rank is General 2nd Grade (Above 100000 Reputation Level)Akh User rank is General 2nd Grade (Above 100000 Reputation Level)Akh User rank is General 2nd Grade (Above 100000 Reputation Level)Akh User rank is General 2nd Grade (Above 100000 Reputation Level)Akh User rank is General 2nd Grade (Above 100000 Reputation Level)Akh User rank is General 2nd Grade (Above 100000 Reputation Level)Akh User rank is General 2nd Grade (Above 100000 Reputation Level)Akh User rank is General 2nd Grade (Above 100000 Reputation Level)Akh User rank is General 2nd Grade (Above 100000 Reputation Level)Akh User rank is General 2nd Grade (Above 100000 Reputation Level)Akh User rank is General 2nd Grade (Above 100000 Reputation Level) 
Time spent in forums: 1 Month 2 Days 13 h 42 m 11 sec
Reputation Power: 1106
You have to post some more code, not much we can tell from that snippet. You could try to remove width:100%, that shouldn't be necessary on an ordinary block-level element.
You could also add some padding to see if that helps.

By the way font-tags are never ok
As those elements are deprecated use of them should be avoided if possible.
http://www.w3.org/TR/html401/presen....html#edef-FONT
Comments on this post
rigidninja agrees: solved my problem
__________________

Reply With Quote
  #3  
Old February 3rd, 2009, 04:05 PM
rigidninja's Avatar
rigidninja rigidninja is offline
The king of ******* ninjas
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2005
Posts: 383 rigidninja User rank is First Lieutenant (10000 - 20000 Reputation Level)rigidninja User rank is First Lieutenant (10000 - 20000 Reputation Level)rigidninja User rank is First Lieutenant (10000 - 20000 Reputation Level)rigidninja User rank is First Lieutenant (10000 - 20000 Reputation Level)rigidninja User rank is First Lieutenant (10000 - 20000 Reputation Level)rigidninja User rank is First Lieutenant (10000 - 20000 Reputation Level)rigidninja User rank is First Lieutenant (10000 - 20000 Reputation Level)rigidninja User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 5 Days 13 h 49 m 15 sec
Reputation Power: 111
I removed this,
Code:
width:100%
and it worked!

Also took out all font tags and build them into my css.

Thanks

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > Css in joomla cuts text in IE in half


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump




 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 




© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 1 Hosted by Hostway
Stay green...Green IT