Welcome to TalkGraphics.com
Results 1 to 4 of 4
  1. #1

    Default

    Hello, I'm new to html. Is there any way to load a background image without it tiling.
    Thanks.
    Cheryl
    IP

  2. #2

    Default

    Hello, I'm new to html. Is there any way to load a background image without it tiling.
    Thanks.
    Cheryl
    IP

  3. #3
    Join Date
    Aug 2000
    Location
    Austria
    Posts
    1,081

    Default

    Hi Cheryl,

    yes it is. But it will only work in newer browsers:

    IE 4 and up: works great
    NS 4.x: with limitations (can only be left/top, not fixed)
    NS 6.x: did not try it yet fully, but seems to work.

    Just put this in your BODY-tag:

    background-image should be self-explaining

    background-repeat can be: "repeat-x", "repeat-y", "no-repeat" or "repeat"

    background-attachment can be: "scroll" or "fixed"

    background-position can be: "top", "center", "bottom", "left" or "right" or a combination of those.

    Note, that this can also be applied to tables and table-cells.

    For an example go to: www.kefir.at
    Never mind that it's in german, but if you look at the source-code and search for "style" you should find it twice, once in the BODY-tag and once in a TD.
    This will show you how to implement it and what it does ...

    Wolfgang
    IP

  4. #4

    Default

    Thank you for your reply and the link to the site.It was great. I have much to learn.

    Cheryl
    IP

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •