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.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Old 03-05-2007, 11:56 AM CSS and IE problems
Average Talker

Posts: 15
Name: Bradley
Trades: 0
I have a Header with a background with images ontop of it. They come up perfect in FF but only the images on top will come up in IE. I have the following CSS entry:
#headerDiv {
width:100%;
height:141px;
background-image:url(images/page_top_bg.jpg);
background-repeat:no-repeat;
background-position:left top;

The CSS validator has errors it says that bg and color should be together . It was a little vague and I did not understand it. Is there something else i need so that IE can read it?

Does anyone know and reading on the differnces in FF/Mozila and IE because i have a lot of problems betwen the two.

http://pacopybrad.auctioncms.com

Last edited by bean1620; 03-07-2007 at 02:38 PM.. Reason: fixed broken link
bean1620 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-05-2007, 12:34 PM Re: CSS and IE problems
portkey's Avatar
Skilled Talker

Posts: 55
Name: Erica Dion
Trades: 0
I think I am having a similar problem and I've noticed what the problem is exactly, I'm just looking to see if anyone has found a way around it.

My website uses a ton of background images, all included in my CSS file. They work great in FF, but won't appear in IE. The problem is that they are either in a class or an ID.

For example, the following code works fine in any browser:

Code:
body {
   background: url('../images/bg.jpg');
}
However as soon as you make your own class

Code:
.myClass {
   background: url('../images/myClassBg.jpg');
}
and include it in your HTML file as such
Code:
<table width="100%" class="myClass">
the image will not appear. Is there any way of doing this in IE?
portkey is offline
Reply With Quote
View Public Profile Visit portkey's homepage!
 
Old 03-05-2007, 01:44 PM Re: CSS and IE problems
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
It would help a lot more to see ALL of your code and CSS, Bean. The url you gave isn't working.

Portkey, it sounds more like a conflict in your CSS since IE can and does display backgrounds using ID's and classes.
__________________
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
 
Old 03-05-2007, 03:06 PM Re: CSS and IE problems
portkey's Avatar
Skilled Talker

Posts: 55
Name: Erica Dion
Trades: 0
I understand this, but I too have sent my file through the validator and it claims that there are no errors, and all warnings do not pertain to this issue. Why is it then that I can not declare a class within a table in IE, but I can in FF?

http://www.the-portkey.com/skins/default/style.css
portkey is offline
Reply With Quote
View Public Profile Visit portkey's homepage!
 
Old 03-05-2007, 05:11 PM Re: CSS and IE problems
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,935
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
Where's the page so we can see what's going on, portkey? It's not immediately obvious to me, other than that you've got some background URLs in quotes and some sans quotes (I'd remove those quotes if I were you.)
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 03-05-2007, 05:39 PM Re: CSS and IE problems
portkey's Avatar
Skilled Talker

Posts: 55
Name: Erica Dion
Trades: 0
Sure, here's a link that i think will work best

http://www.the-portkey.com/profile/?id=97825990
portkey is offline
Reply With Quote
View Public Profile Visit portkey's homepage!
 
Old 03-05-2007, 06:19 PM Re: CSS and IE problems
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Portkey - for one thing IE is choking on an error in your javascript, it's complaining about line 152.
__________________
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
 
Old 03-05-2007, 07:26 PM Re: CSS and IE problems
portkey's Avatar
Skilled Talker

Posts: 55
Name: Erica Dion
Trades: 0
yeah, it's just an error about my script that asks "Are you sure you want to delete this?"

i just put this on every page cause it doesn't show up in FF. Since I didn't use this script on this particular page, IE displays an error on it. [Something that has always bugged me about IE]
portkey is offline
Reply With Quote
View Public Profile Visit portkey's homepage!
 
Reply     « Reply to CSS and IE problems
 

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