473,468 Members | 1,334 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

div ground image not working in firefox

115 New Member
hi all


my div background image not working in firefox it is working in IE

Expand|Select|Wrap|Line Numbers
  1. <style type="text/css">
  2.  
  3. #leftlayer1 {
  4. background: url(foot left.JPG); 
  5. height:90px;
  6. width:90px;
  7. visibility: hidden;
  8. background-repeat: no-repeat;
  9. display:inline;
  10. }
  11. </style>
  12.  
  13.  
  14. <p id="leftlayer1"></p>
this is my code

pls help me
Aug 11 '08 #1
3 1626
drhowarddrfine
7,435 Recognized Expert Expert
Because IE does not follow standards properly, it thinks spaces are allowed in urls. You can't have the space between foot and left.
Aug 11 '08 #2
yogarajan
115 New Member
hi

my background image display in IE browser

this code is not working in firefox
Aug 12 '08 #3
drhowarddrfine
7,435 Recognized Expert Expert
IE is the most backwards, non-standard, buggiest, worst browser on the planet. It is doing what you want but not what browsers are supposed to do. Firefox is performing correctly. I showed you what needs to be done.
Aug 12 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Mudcat | last post by:
I have an image that displays on a canvas that works unless I put the same code in a class. I can't figure that out. Here's what works: def uts5100(self): self.screen = Toplevel( self.master )...
3
by: TJS | last post by:
I am finding that the serverside requiredvalidator doesn't fire in the firefox browser, and user request proceeds through to my updateProfile method. Validation is working correctly in the IE...
9
by: hrschp | last post by:
Hi, as far as I know this always worked for a simple webpage up till a few days ago BODY { background-color: white; background-image: url(img/footer.gif); background-repeat: no-repeat;...
3
by: mcnewsxp | last post by:
how can i set a back ground image property on an MDI main form to stretch?
0
by: angeldazie | last post by:
I have not really seen a precise answer as to how to fix this problem. Does anyone have any suggestions. Here is the site I am working on the the footer is a background table image-it is repeating in...
3
by: skyleestar | last post by:
We've tried looking for a discussion on this but haven't found any fixes yet that seem to work. When you go to our website, www.MillbrookTack.com, in FireFox there is unwanted white space above...
3
by: vps | last post by:
Please tell me how I center a background image in Firefox (2.0.0.7)? The following code places any image in the top part of the browser: body { margin-left: 0px; margin-top: 0px;...
2
by: =?Utf-8?B?UnVpIE9saXZlaXJh?= | last post by:
I have the following code to show an image in html: "&nbsp&nbsp&nbsp:.. <img src=\"\\Resources\\Icons\\TarefaAEspera.gif\" />&nbspTask" In IE image are showed correctly, but in Firefox...
4
by: MarwaAlSagheer | last post by:
private void ChangeButtonsBackgroundimage(string NamesOfImageList,string FolderName) { try { ArrayList Arr_Button = new ArrayList(); Arr_Button.Add(this.button1);...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.