Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Locking a jpg to a frame?
Old 03-29-2005, 05:11 PM Locking a jpg to a frame?
Junior Talker

Posts: 2
Trades: 0
Hi All,
I'm creating a site for a school history project of mine. I've just got one problem:
The content for this site will be loaded by a frame which is linked to a php news editor so i can change content without accesing my ftp. I want this frame to grow and shrink with the size of the content. If i'm correct i need to use css and some length 100% code. But that's not all. The design for this site needs a specific border around the content. This border will be made out of 4 jpg's. top, bottom, left, right. The top one doesn't have to move but when the content grows or shriks i want the bottom to move with the length and the left and right borders to grow and shrink with the length. Can someone give me a clear tut on how to do this?

Your help would be great!

Kind Regards,
Abram
abram is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-30-2005, 11:08 AM
simptech's Avatar
Skilled Talker

Posts: 81
Location: Cape Coral, Florida, United States
Trades: 0
I really hate to say this, but it may be easier to place the frame the center of a 9-cell (3x3) table. Then insert your corners and set background images in the "stretchable" cells.
__________________

Please login or register to view this content. Registration is FREE

FREE PHP scripts for your website!
simptech is offline
Reply With Quote
View Public Profile
 
Old 03-30-2005, 11:12 AM
Junior Talker

Posts: 2
Trades: 0
Why hate to say that? sounds good Could you please explane a bit more? (i'm working with golive cs)
abram is offline
Reply With Quote
View Public Profile
 
Old 03-30-2005, 11:24 AM
simptech's Avatar
Skilled Talker

Posts: 81
Location: Cape Coral, Florida, United States
Trades: 0
HTML Code:
<table border="0" id="table1" cellspacing="0" cellpadding="0">
<tr>
<td>
<img border="0" src="tl.gif" width="15" height="15"></td>
<td background="tm.gif"></td>
<td>
<img border="0" src="bl.gif" width="15" height="15"></td>
</tr>
<tr>
<td background="lm.gif"></td>
<td>
<iframe name="I1" width="459" height="367" src="http://www.simp-tech.com">
Your browser does not support inline frames or is currently configured not to display inline frames.
</iframe></td>
<td background="rm.gif"></td>
</tr>
<tr>
<td>
<img border="0" src="tr.gif" width="15" height="15"></td>
<td background="bm.gif"></td>
<td>
<img border="0" src="br.gif" width="15" height="15"></td>
</tr>
</table>
tl.gif = Top-left corner
bl.gif = Bottom-left corner
tr.gif = Top-right corner
br.gif = Bottom-right corner

tm.gif = Top-middle background
lm.gif = Left-middle background
bm.gif = Bottom-middle background
rm.gif = Right-middle background

That should get you somewhere near what you are looking for
__________________

Please login or register to view this content. Registration is FREE

FREE PHP scripts for your website!
simptech is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Locking a jpg to a frame?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.63950 seconds with 12 queries