Results 1 to 2 of 2

Thread: image positioning question!

  1. #1
    Join Date
    Nov 2009
    Posts
    43
    Thanks
    14
    Thanked 0 Times in 0 Posts

    Default image positioning question!

    Hi.

    I have a little question here.

    I have created an image (jpeg file) that I want to use as a border in a javascript box with inline html (Shadowbox). I want to have the image at the top and at the bottom of the box.

    This is how I want it to be:

    Remember that the border is a graphic!

    How do I do this? Two divs with a background image?


    Any help is appreciated!

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    There are a lot of ways to line this up. You could position two divs over one another, you could just use a table (or better yet a series of divs that works like a table), OR, the best option, you can just use a normal background image and text over it. I suppose you may want it to scale with the page, in which case the border would scale oddly. For that, I'd suggest then the table-like divs approach.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  3. The Following User Says Thank You to djr33 For This Useful Post:

    pookeyblow (12-20-2009)

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
  •