non-tilling bg (Full Version)

All Forums >> [Web Development] >> Microsoft FrontPage Help



Message


evilhomer -> non-tilling bg (4/1/2001 17:28:00)

how do i have a non-tiling bkgnd? can someone supply me with some html code
that i can add to the background attribute of the main body.




Gil -> RE: non-tilling bg (4/1/2001 17:41:00)

You don't - backgrounds tile.

IE will allow you to "watermark" the background (it doesn't scroll), but all that really does is make the text close to impossible to read.

You can place the background image in a table the same size and maybe get the effect you want?

------------------
Gil Harvey
The Host Factory
Resellers are our speciality
"How Can I Miss You If You Won't Go Away? "

[This message has been edited by Gil (edited 04-01-2001).]





evilhomer -> RE: non-tilling bg (4/1/2001 17:43:00)

hey, i know you can do it, i've seen it before! its something like "no-repeat"
but i am not sure!

[This message has been edited by evilhomer (edited 04-01-2001).]





Guest -> RE: non-tilling bg (4/1/2001 18:09:00)

Try <BODY BACKGROUND="image.gif" BGPROPERTIES=FIXED>




abbeyvet -> RE: non-tilling bg (4/1/2001 18:19:00)

You are thinking of CSS. You can try putting this between the <head></head> tags of your page.

<style type="text/css">
body{background-repeat: no-repeat}
</style>

But before you start celebrating the downside is that it is poorly supported. In all versions of NN prior to NN6 your page will be a mess. It will eithr ignore it and just tile it anyway, but it can be worse than that.

And the news is not so wonderful in IE either - it will not repeat, it will just sit in the top left corner. You can get into using x and y coordinates to position it in IE but it will then look just right in one resolution and screen size and totally wrong in all others.

Putting bgproperties="fixed" in the body tag just does what FP calls a watermark.

So Gil was right - you can't.
Investigate his suggestion that you use a table bg somewher to acheive your effect.

------------------
Katherine

InKK Design
LinKKs - Kilkenny's Online Magazine


-*-*-*-*-*-*-*-*-*-*
"Dogs have owners, cats have staff!"

[This message has been edited by abbeyvet (edited 04-01-2001).]

[This message has been edited by abbeyvet (edited 04-01-2001).]





Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
6.054688E-02