473,394 Members | 1,769 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Invisible Background in Firefox.

Take a look at http://www.geocities.com/jamesqian2001/test.xml .
Basically, there is a bug in Firefox that does not display the
background color/picture for the body tag. Is there any possible
workaround for this?

May 25 '06 #1
6 1208
Sneamia wrote:
Take a look at http://www.geocities.com/jamesqian2001/test.xml .
Basically, there is a bug in Firefox that does not display the
background color/picture for the body tag. Is there any possible
workaround for this?


Replace output type html with xml. Then you get a purple background.

You're trying to do two conflicting things here, and FF is acting
correctly in refusing to be duped.

If you specify output type html then XSLT will create the output
file in SGML -- the original HTML without Null End Tags. You can
test this by using a standalone XSLT processor and examining the
output, which says <br></br> and <link></link>.

If you specify output type xml then it will create XML.

You are specifying html but then giving the Document Type details
as XHTML. So you have an old-style HTML document masquerading as
XML, or vice versa.

If you want to create output HTML with a DocType Declaration, use
HTML 4.xx or something, and code accordingly.

If you want to output valid XHTML, set the output type to xml.

///Peter
--
XML FAQ: http://xml.silmaril.ie/
May 25 '06 #2
I see.
The background is still a bit funny, but its getting there.
Thanks.

May 25 '06 #3
Yea, I changed that, but only the background for the text is purple.
Why is that? Is there anything else I screwed up on?

May 25 '06 #4
Sneamia wrote:
Yea, I changed that, but only the background for the text is purple.
Why is that? Is there anything else I screwed up on?


What else ought to be purple? Your CSS says any element with the
class value "site".

///Peter
May 26 '06 #5
Well, the body.
I set the body background as purple, and only the background of the
text is purple.

May 28 '06 #6
Sneamia wrote:
Well, the body.
I set the body background as purple, and only the background of the
text is purple.


I think we must be at cross-purposes here. Can you screenshot what
you're seeing and post it somewhere we can all view it. I've put
what I see at http://silmaril.ie/downloads/purple.png

What I'm unclear about in your post is that the body *is* the text.
I don't see what you mean when you say *only* the background of the
text is purple. If body is set to background-color:#CC00FF; then
*all* the window background will be purple. If you're seeing something
else, then I think you should try reinstalling the browser first.

///Peter
--
XML FAQ: http://xml.silmaril.ie/

May 28 '06 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Saqib Ali | last post by:
Please excuse me, this is a fairly involved question that will likely require you to save the file below to a file and open it in a browser. I use Mozilla 1.5, so the problem I describe below...
5
by: Gaz | last post by:
Hi, I have found an issue when comparing Firefox with IE6 (Windows) where a page links to a css file that is in it's own directory. IE6 URL property of the background css element uses the...
4
by: Andy Fish | last post by:
Hi I have hunted around for this one but been unable to find any definitive answer. I have a simple frameset with one frame above another. by clicking a checkbox or some such in the lower...
5
by: proximus | last post by:
Hi, I am trying to change the background of table TD's. The problem is that I have no access to the HTML code. SO I am trying to alter this using Javascript/DOM in an external .js file. I...
2
by: Pugi! | last post by:
I would like to obtain the the position of backgroundimage of a div because I use it for animation. The following code works for Internet Explorer (takes the else if) and returns positionx '10px'...
3
by: lovely_angel_for_you | last post by:
Hi, I have following link. By visitng first in IE, and then in Firefox, you would get to know my issue. http://lovely.angel.for.you.googlepages.com/test.htm...
11
by: Gérard Talbot | last post by:
Hello, <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <title></title> <style type="text/css"> body {background-color: white; color: black;}...
2
by: donpro | last post by:
https://testbed.odysseyshipping.com/ In the footer, I am having problem with the list-style-image statement in my CSS 1) In Firefox, my custom image shows in front og all list items EXCEPT...
26
by: Swifty | last post by:
I'm sending an HTML email to Lotus Notes and I'd like to hide some text from casual observation. There is nothing sinister in this; the text to be hidden is simply a 12-digit number that I use to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.