Real Estate Forums

Coding HTML, ASP, PHP, JAVA MYSQL and more. All coding questions should be asked here.

Reply
 
Thread Tools Display Modes
Old 06-03-2007, 11:45 AM
RESynergy RESynergy is offline
Real Estate WebMaster
 
Join Date: Nov 2006
Posts: 109
RESynergy is on a distinguished road
Default simple form question

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
Reply With Quote
Old 06-03-2007, 12:48 PM
mkrotchie's Avatar
mkrotchie mkrotchie is offline
Real Estate WebMaster
 
Join Date: Mar 2007
Location: Tucson, AZ
Posts: 173
mkrotchie is on a distinguished road
Send a message via AIM to mkrotchie Send a message via Yahoo to mkrotchie
Default Re: simple form question

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
Reply With Quote
Old 06-03-2007, 12:56 PM
ChiliPepperWeb ChiliPepperWeb is offline
Advancing Webmaster
 
Join Date: May 2007
Location: Houston, TX
Posts: 70
ChiliPepperWeb is on a distinguished road
Default Re: simple form question

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/
__________________
Stacy Clifford
ChiliPepperWeb.net
Open-Realty Hosting
Reply With Quote
Old 06-03-2007, 02:03 PM
RESynergy RESynergy is offline
Real Estate WebMaster
 
Join Date: Nov 2006
Posts: 109
RESynergy is on a distinguished road
Default Re: simple form question

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.
Reply With Quote
Old 06-04-2007, 08:32 AM
mkrotchie's Avatar
mkrotchie mkrotchie is offline
Real Estate WebMaster
 
Join Date: Mar 2007
Location: Tucson, AZ
Posts: 173
mkrotchie is on a distinguished road
Send a message via AIM to mkrotchie Send a message via Yahoo to mkrotchie
Default Re: simple form question

Quote:
Originally Posted by RESynergy View Post
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.
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
Reply With Quote
Old 06-04-2007, 12:11 PM
RESynergy RESynergy is offline
Real Estate WebMaster
 
Join Date: Nov 2006
Posts: 109
RESynergy is on a distinguished road
Default Re: simple form question

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.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



For our members

Main Sections

IDX Coverage Areas

Spiders Welcome

All times are GMT -7. The time now is 05:32 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.