This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Stylesheets > October 2005 > Which is the standard for bottom positioned background?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Which is the standard for bottom positioned background?
typingcat@gmail.com

2005-10-15, 10:19 pm

Hello. I set a background image like the following;
body
{
background: url('back.png') repeat-x bottom;
}
See this page for example:
http://cat3.dotnet29.hostbasket.com/korean/

When the content of a page is too short to fill the entire window,
Opera(8.5) sets the background at the end of content. IE and FireFox
sets at the end of the window though. Opera says they stick to the
standards. Which is the right way? Opera or IE/FF? I love Opera but
this problem makes me to feel a little bit confused.

Arne

2005-10-16, 3:18 am

Once upon a time *typingcat@XXXXXXXXXX* wrote:
> Hello. I set a background image like the following;
> body
> {
> background: url('back.png') repeat-x bottom;
> }
> See this page for example:
> http://cat3.dotnet29.hostbasket.com/korean/
>
> When the content of a page is too short to fill the entire window,
> Opera(8.5) sets the background at the end of content. IE and FireFox
> sets at the end of the window though. Opera says they stick to the
> standards. Which is the right way? Opera or IE/FF? I love Opera but
> this problem makes me to feel a little bit confused.
>


Try with "background-position:bottom;" abd see if it helps

--
/Arne
Now killing all top posters and posters who don't quote
* How to post: http://www.cs.tut.fi/~jkorpela/usenet/brox.html
* From Google: http://www.safalra.com/special/googlegroupsreply/
-------------------------------------------------------------
typingcat@gmail.com

2005-10-16, 6:22 am

Thank you for your reply. I added "background-position:bottom;" but I'm
afaid that it didn't change anything.

kchayka

2005-10-16, 6:23 pm

typingcat@XXXXXXXXXX wrote:
>
> http://cat3.dotnet29.hostbasket.com/korean/
>
> When the content of a page is too short to fill the entire window,
> Opera(8.5) sets the background at the end of content.


Opera seems to be "shrink wrapping" the html element, which subsequently
shrink wraps the body. Try adding

html { margin:0; padding:0; min-height:100%; }

That should expand it to cover the viewport height. Drop the superfluous
background-position property.

BTW, the body background-color:white is being superceded by the
background shorthand property, which resets bg color back to the browser
default. My default bg color (not white) shows through. It is not
attractive.

--
Reply email address is a bottomless spam bucket.
Please reply to the group so everyone can share.
typingcat@gmail.com

2005-10-17, 3:19 am

Thank you, kchayka

I tried what you have told me, but it didn't work.
I tried both
html { margin:0; padding:0; min-height:100%; } and
body { margin:0; padding:0; min-height:100%; } .
Opera is a great browser but how can I solve this problem...

kchayka

2005-10-17, 6:28 pm

typingcat@XXXXXXXXXX wrote:
>

Hey, do yourself and everyone else a favor - dump google groups for
posting to usenet and get yourself a real newsreader. If your ISP
doesn't have a decent newsserver, check out news.individual.net.

If you insist on using that abomination called gg, then please learn how
to use it. Read:
<URL:http://www.safalra.com/special/googlegroupsreply/>

This is for your own good. Failure to conform to accepted posting
practices will only get you added to killfiles everywhere, if you aren't
there already. Many people already ban all posts coming from gg.

> I tried both
> html { margin:0; padding:0; min-height:100%; } and
> body { margin:0; padding:0; min-height:100%; } .
> Opera is a great browser but how can I solve this problem...


Hmmm, it worked for me. Perhaps your Opera is reading the file from
cache instead of getting a fresh copy from the server.

--
Reply email address is a bottomless spam bucket.
Please reply to the group so everyone can share.
typingcat@gmail.com

2005-10-30, 6:27 pm

I've just installed DearPark Alpha 2 (successor of FireFox), and found
that its background implementation works just like Opera. Now maybe
Opera's way is the standard?

typingcat@XXXXXXXXXX wrote:
> Hello. I set a background image like the following;
> body
> {
> background: url('back.png') repeat-x bottom;
> }
> See this page for example:
> http://cat3.dotnet29.hostbasket.com/korean/
>
> When the content of a page is too short to fill the entire window,
> Opera(8.5) sets the background at the end of content. IE and FireFox
> sets at the end of the window though. Opera says they stick to the
> standards. Which is the right way? Opera or IE/FF? I love Opera but
> this problem makes me to feel a little bit confused.


Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews