To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here
PHPBuilder.com  
 

 

Go Back   PHPBuilder.com > Misc Help > ClientSide Technologies

ClientSide Technologies Discuss HTML/CSS/Javascript, and any other client-side technologies, here.

Reply
 
Thread Tools Rate Thread Display Modes
Old 05-21-2006, 11:33 AM   #1
ashley98860615
Member
 
Join Date: Oct 2005
Posts: 75
css in ie not working

hey

does any body know of a good reason why css works in firefox but not in ie:

site: www.treble.lfhost.com/1024/

the css is loading but the text size is all wrong.

and one other thing, why don't png files have transparent bg's in ie? it's so annoying!!

Last edited by ashley98860615; 05-21-2006 at 11:34 AM. Reason: changed title
ashley98860615 is offline   Reply With Quote
Old 05-21-2006, 02:26 PM   #2
Jason Batten
Senior Member
 
Jason Batten's Avatar
 
Join Date: Mar 2005
Location: Australia
Posts: 847
The font issue is the lists, define ul and li - that should do it.

PNG's don't work in IE. They just don't use .gif
__________________
a new day, a new beginning

Last edited by Jason Batten; 05-21-2006 at 02:39 PM.
Jason Batten is offline   Reply With Quote
Old 05-21-2006, 03:32 PM   #3
JPnyc
Administrator
 
Join Date: Jan 2005
Posts: 963
IE can display png, it just can't handle transparency of them.
__________________
PHP builder Online Community Manager

JPnyc is offline   Reply With Quote
Old 05-21-2006, 03:43 PM   #4
Jason Batten
Senior Member
 
Jason Batten's Avatar
 
Join Date: Mar 2005
Location: Australia
Posts: 847
IE7 does, doesn't it? What about Opera... hrmmm I should do some testing...
__________________
a new day, a new beginning
Jason Batten is offline   Reply With Quote
Old 05-21-2006, 03:56 PM   #5
ashley98860615
Member
 
Join Date: Oct 2005
Posts: 75
i tried ie7 and it didn't work for me, nor does some javascript that im using (but works with firefox). ie needs to step its game up...

im trying to use :

body {
font-size:12px;
}

but it doesn't work. ffs
ashley98860615 is offline   Reply With Quote
Old 05-26-2006, 10:12 AM   #6
Skull
Senior Member
 
Skull's Avatar
 
Join Date: Jul 2003
Location: Scotland
Posts: 149
http://dean.edwards.name/IE7/

look into using that, its written in javascript so can easily be attached to your site and basically "fixes" alot of IE problems (in your case, if you add "-trans.png" to the end of png files then it'll have a transparent BG in IE)
__________________
Blaine Young
http://www.linksuk.com
Skull is offline   Reply With Quote
Old 05-26-2006, 10:26 AM   #7
JPnyc
Administrator
 
Join Date: Jan 2005
Posts: 963
I dunno about IE7 yet. I haven't tried it.
__________________
PHP builder Online Community Manager

JPnyc is offline   Reply With Quote
Old 05-26-2006, 11:32 AM   #8
ashley98860615
Member
 
Join Date: Oct 2005
Posts: 75
just checked back into the png transparency issues and it seems to have been fixed... by itself!! strange. Just my text size i need to sort out now, any ideas?

to see what i'm encountering point firefox and then IE to http://www.treble.lfhost.com/1024/
ashley98860615 is offline   Reply With Quote
Old 05-28-2006, 12:43 AM   #9
bpat1434
NMaOtBG
 
bpat1434's Avatar
 
Join Date: Oct 2004
Location: Around 255.255.255.0
Posts: 8,093
Your font-sizes are fine.... it's just IE seems to interpret a pixel differently than FF.... it's not that noticable. The main noticible thing is the fact that the spacing is different in lists. Most likely a padding/margin issue, and not a font-size. You might try setting the font-size to just an "em" size (1 being normal point, 0.9 being 90% of normal, 1.2 being 120%). That would work better cross-browser
bpat1434 is offline   Reply With Quote
Old 05-28-2006, 08:15 AM   #10
Jason Batten
Senior Member
 
Jason Batten's Avatar
 
Join Date: Mar 2005
Location: Australia
Posts: 847
Quote:
Originally Posted by Jason Batten
The font issue is the lists, define ul and li - that should do it.
You need to set the font size for lists.
__________________
a new day, a new beginning
Jason Batten is offline   Reply With Quote
Old 05-28-2006, 08:25 AM   #11
bogu
I code 4 beer ...
 
bogu's Avatar
 
Join Date: Nov 2002
Location: Romania
Posts: 1,743
For png's use png 8 (dont use png 24) it works in IE and firefox ...
__________________
/**
* The answer is so obvious, duh!
* It's like, whatever ...
*
* If your problem has been solved, PLEASE click the RESOLVED LINK under "Thread Tools"
*/
bogu is offline   Reply With Quote
Old 05-28-2006, 06:44 PM   #12
ashley98860615
Member
 
Join Date: Oct 2005
Posts: 75
thanks for the help, can't fix the text size but i guess it doesn't matter much. the li and ul helped the menus though, thanks
ashley98860615 is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 12:34 AM.






Acceptable Use Policy

internet.comMediabistrojusttechjobs.comGraphics.com

WebMediaBrands Corporate Info


Advertise | Newsletters | Feedback | Submit News

Legal Notices | Licensing | Permissions | Privacy Policy


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.