Real Estate Forums
| Coding HTML, ASP, PHP, JAVA MYSQL and more. All coding questions should be asked here. |
![]() |
|
|
Thread Tools | Display Modes |
|
|||
|
I want to make a "fancy" form border. One method I am familiar with is to insert a form within a table, and then in the four corners place a pictures of each of the proper corner pic.
then across the top, the bottom, left and right sides you insert a 1 x perhaps 20 pixel wide pic with a few different colors perhaps, and the 1 pixel wide pics repeat themselves as long as it is needed to fill in the width or height of the table section. How to I make that 1 pixel wide pic keep inserting itself to fill that table section? Thanks |
|
||||
|
You might think about inserting a transparent spacer .gif and using the actual image you want to 'fill' the section as the background image of that cell.
__________________
Michael Krotchie - REALTOR® - Coldwell Banker Residential Brokerage, NRT LLC 6970 N. Oracle Road, Suite 100 Tucson, AZ 85704 520.404.4996 -- Mobile 520.544.4545 -- Office Tucson Real Estate | Tucson Real Estate Blog |
|
|||
|
Check out this site under the "Boxes" section for some ways to do borders in CSS. Check out the rest of the site too, this guy's got some really cool effects for all sorts of things.
http://www.cssplay.co.uk/ |
|
|||
|
Thanks all,
Yes there is usually more than "one way to skin a cat" (sorry cat lovers - it's just an expression :_) but I've seen this method used and haven't ever been able to duplicate it. The advantage is that you are only uploading one tiny 1 x 20 pixel picture and you let the browser duplicate the same pic as many times as necessary to fill the table cell. As it is multiplied it carries the effect accross the entire table border. The duplicate the effect in CSS, for me at least, would be a challenge. With this method, I make a 1 x 20 pixel gif or jpg and in an exploded view of it in a photo program just change the colors of the various pixels in it. Makes anything from stripes to shading. |
|
||||
|
I think what I recommended before is what you are thinking about; you can insert the graphic once and then just set it as the background of the cell also and it will repeat itself all the way across, or down. I suggested the transparent spacer image because you can also use it wherever else you might want to to on your page and it can be resized to whatever dimensions you wish.
__________________
Michael Krotchie - REALTOR® - Coldwell Banker Residential Brokerage, NRT LLC 6970 N. Oracle Road, Suite 100 Tucson, AZ 85704 520.404.4996 -- Mobile 520.544.4545 -- Office Tucson Real Estate | Tucson Real Estate Blog |
|
|||
|
ahh, ok, I misunderstood. But, and this may be ridiculously simple,but I didn't pick up that it was done by making the background of the cell a pic. I just got it. Thanks, thanks thanks
Last edited by RESynergy; 06-04-2007 at 12:15 PM. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|