This is a discussion on "images as borders" within the Web Page Design section. This forum, and the thread "images as borders are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
images as borders
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
images as borders
Is there a way to put 2 images as the right and left borders of a website?
I am working on my website, and I was wondering if it was possible to use images as borders, or do I need to put two separate divs with images n them along the sides? |
|
|
|
|||
|
Re: images as borders
You could try float: left; and float: right;
|
|
||||
|
Re: images as borders
You can do a lot with images as borders -- in fact, pretty much whatever you want to do -- but I have always found it useful to have the image in a separate div for control and standardization. Like, if you want to have a repeating background, you can put a tiny .gif or .png file as the background of a div.
Here's the only place I've done an extensive image border: The top of the box is an image with a transparent corner at the top left to let the background show through, and the drop shadow at the right and bottom are divs with images. Like, the right drop shadow is done by using a background image for the div one pixel high that goes across the white box and then has the drop shadow. The box itself is actually a container div that includes all the drop shadows and some of the blue grid background: http://www.dhreport.com/interactive_health/index.php
|
|
||||
|
Re: images as borders
Perhaps the simplest way would be to have two containing divs one with the background positioned left other right.
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
|
![]() |
| Tags |
| border, css, image |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Div borders & different browsers | djeyewater | Web Page Design | 0 | Jan 6th, 2008 23:17 |
| Anchor tags (and their borders) do not fit snugly around images in mozilla | Borf | Starting Out | 13 | Dec 7th, 2007 23:41 |
| Help with div borders in FF, please? | Donny Bahama | Web Page Design | 12 | Apr 10th, 2007 20:09 |
| borders | benbacardi | Web Page Design | 2 | Jun 4th, 2004 15:39 |