Reply
ie not working with my css
Old 02-17-2007, 05:57 PM ie not working with my css
aye
Junior Talker

Posts: 4
Hey guys,
ive been building on a website for the last couple of days, but ive run into some problems! i hope you good guys can help me ..
ive been a little bit lazy on the css part, so i made a body tag, that would apply to the whole website, or at least so i thought. anyhow here's the css file:
Code:
body {
 margin:0px;
 font-family: Arial, Helvetica, sans-serif;
 font-size:11px;
}
a {
 text-decoration:none;
 color:#000000;
}
img {
 border-style:none;
}
.tag_cloud { 
  padding: 3px; text-decoration:none; 
}
it works all fine with mozilla, but with ie, the body tag dosent seem to work. has anyone had this problem before and knows a way to get around it? (without adding h1,h2,p (...) tags instead (i have some unformatted text, which i would have to use the <font> tag on then, and that would be terribly strenuous )).
One more thing, dosent ie support transparency on png files?? i hate ie

ps. i could post the link to my website so you can see what i mean, but i dont know if torrent files are considered legal on this board?
aye is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 02-18-2007, 10:22 AM Re: ie not working with my css
RanaD's Avatar
Super Talker

Posts: 139
Name: David
Which part of the body tag doesn't work in which version of IE?

No, IE doesn't support transparent png files. They may have fixed it in IE7 - not sure right now.
RanaD is offline
Reply With Quote
View Public Profile
 
Old 02-18-2007, 10:32 AM Re: ie not working with my css
aye
Junior Talker

Posts: 4
hi, thanks for your reply
the font seems to work and probably the margin too, it's the size that is far bigger than the one on mozilla. if i would use the smallest text size with the ie browser, i would have the same as the standard with mozilla..
im using ie 6, dont know how it would look like with another version.

EDIT: no, actually the smallest text size isn't even enough, i would have to make it one px smaller for that or something ..

Last edited by aye : 02-18-2007 at 10:34 AM.
aye is offline
Reply With Quote
View Public Profile
 
Old 02-18-2007, 10:44 AM Re: ie not working with my css
LadynRed's Avatar
Super Moderator

Posts: 6,539
Location: Tennessee
First of all, don't use px for font sizing, IE users cannot scale the text to suit their own preferences. Better to use em or %. I usually set my font size as 100.1% on the body, then resize as I need to in my rules. Generally, 100% = 16px.

Second, what is your text sizing set to in IE ? Under the View, Text Size ?? "medium" is the default.

Along with margin: 0 on the body, you should also add padding: 0.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club
LadynRed is offline
Reply With Quote
View Public Profile
 
Old 02-18-2007, 11:11 AM Re: ie not working with my css
aye
Junior Talker

Posts: 4
hi and thanks for your reply too just a quick reply before i go running. my size in ie is set to normal or medium (dont have the english version ), if i would change it to smallest, the text would still be too large. ill test using em or % instead when i come back
aye is offline
Reply With Quote
View Public Profile
 
Old 02-18-2007, 12:44 PM Re: ie not working with my css
aye
Junior Talker

Posts: 4
ok, i tested both em and %, but still the same results!!; works fine on ff but not on ie . any more ideas?
aye is offline
Reply With Quote
View Public Profile
 
Old 02-19-2007, 03:14 PM Re: ie not working with my css
LadynRed's Avatar
Super Moderator

Posts: 6,539
Location: Tennessee
Have you got a URL or can we see the rest of the code ??
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club
LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to ie not working with my css
 

Thread Tools

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