CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignCSS Help
The ASP Free website provides in-depth information on the latest developer tools available from Microsoft. Our cadre of writers, highly experienced industry experts, reveals the best ways to use established technologies as well as new and emerging technologies. Our coverage of Microsoft's development and administration technologies is among the most respected in the IT industry today.

ASP Free and Iron Speed Designer are giving away $5,500+ in FREE licenses. Iron Speed's RAD CASE toolset can save up to 80% of your coding time. One free license per week, one perpetual license per month!
Download and Activate to enter!

Intel® Graphics Performance Analyzers is a powerful tool suite for analyzing and optimizing your games, media, and graphics-intensive applications. Used by some of the best developers on the planet, Intel GPA lets you maximize your app’s performance.


Tutorials
| Forums

Download to Enter
| Contest Rules

DOWNLOAD INTEL® GPA FOR FREE

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
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2005
Location: Gauteng, South Africa
Posts: 405 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 19 h 29 m 56 sec
Reputation Power: 158
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 Loyal (3000 - 3499 posts)
 
Join Date: Mar 2002
Location: norway
Posts: 3,009 Akh User rank is General 4th Grade (Above 100000 Reputation Level)Akh User rank is General 4th Grade (Above 100000 Reputation Level)Akh User rank is General 4th Grade (Above 100000 Reputation Level)Akh User rank is General 4th Grade (Above 100000 Reputation Level)Akh User rank is General 4th Grade (Above 100000 Reputation Level)Akh User rank is General 4th Grade (Above 100000 Reputation Level)Akh User rank is General 4th Grade (Above 100000 Reputation Level)Akh User rank is General 4th Grade (Above 100000 Reputation Level)Akh User rank is General 4th Grade (Above 100000 Reputation Level)Akh User rank is General 4th Grade (Above 100000 Reputation Level)Akh User rank is General 4th Grade (Above 100000 Reputation Level)Akh User rank is General 4th Grade (Above 100000 Reputation Level)Akh User rank is General 4th Grade (Above 100000 Reputation Level)Akh User rank is General 4th Grade (Above 100000 Reputation Level)Akh User rank is General 4th Grade (Above 100000 Reputation Level)Akh User rank is General 4th Grade (Above 100000 Reputation Level) 
Time spent in forums: 1 Month 4 Days 17 h 35 m 11 sec
Reputation Power: 1221
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
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2005
Location: Gauteng, South Africa
Posts: 405 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 19 h 29 m 56 sec
Reputation Power: 158
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

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


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.

© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 7 - Follow our Sitemap