954,561 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Website Help

01_thumb.jpg 02_thumb.jpg 03_thumb.jpg 04_thumb.jpg 05_thumb.jpg 06_thumb.jpg 07_thumb.jpg 08_thumb.jpg 09_thumb.jpg 10_thumb.jpg 11_thumb.jpg 12_thumb.jpg 13_thumb.jpg 14_thumb.jpg 15_thumb.jpg

background_2.jpg

jonathan.jbkt
Light Poster
29 posts since Dec 2006
Reputation Points: 10
Solved Threads: 0
 

The entirely grey background works how you want in opera (although the images appear too high on the page to be seen properly). The background is short in Firefox 2, but the image appears in the center of the page and is visible.

I've noticed this happen often (always) in Firefox when you use XHTML and 100% height (and/or background properties). This is not the correct behaviour. In these contexts, 100% should be the height of the navigator window or the contents of the body, whichever is largest.

There's not much you can do about it, except set an absolute height for the body; which is a pain because how big is a window?, or remove the XHTML doctype and let browsers assume their quirks modes

MattEvans
Veteran Poster
Moderator
1,386 posts since Jul 2006
Reputation Points: 522
Solved Threads: 64
 
remove the XHTML doctype and let browsers assume their quirks modes

How would you change the document type this late in the game.

jonathan.jbkt
Light Poster
29 posts since Dec 2006
Reputation Points: 10
Solved Threads: 0
 
How would you change the document type this late in the game.

Probably; delete it from the top of the page and see what happens :mrgreen:

Personally, I'd try and work around it rather than remove it. If you set the body height to something like 1400 pixels using CSS; then 100%/backgrounds will work; but you'll have a long scrollbar on your pages.

MattEvans
Veteran Poster
Moderator
1,386 posts since Jul 2006
Reputation Points: 522
Solved Threads: 64
 

I changed the document type and it is working correctly. Thanks so much for the tip.

jonathan.jbkt
Light Poster
29 posts since Dec 2006
Reputation Points: 10
Solved Threads: 0
 

Eek. Be careful that you check that the page still looks ok on all of your target browsers.

Try and look for a document type that doesn't cause ill effects but is still standardised, perhaps one of the latest HTML (4.0) ones.

MattEvans
Veteran Poster
Moderator
1,386 posts since Jul 2006
Reputation Points: 522
Solved Threads: 64
 

Eek. Be careful that you check that the page still looks ok on all of your target browsers.

Try and look for a document type that doesn't cause ill effects but is still standardised, perhaps one of the latest HTML (4.0) ones.


I changed it to:

Check it out now. I think it looks pretty good. http://linux1.jbknowledge.com/AJW/AJW%20Photo/

- Jonathan

jonathan.jbkt
Light Poster
29 posts since Dec 2006
Reputation Points: 10
Solved Threads: 0
 

I am trying to add links on the bottom of the large image to go to the next image in the large format. Any ideas?

jonathan.jbkt
Light Poster
29 posts since Dec 2006
Reputation Points: 10
Solved Threads: 0
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You