By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,744 Members | 1,696 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,744 IT Pros & Developers. It's quick & easy.

Picture Frame

P: 3
How would I put a frame around the picture that results from this:

<p><center>
<img src='<?=$uploaded;?>'></center></p>
<p align="center"> </p>
<div align="center">

Or can it even be done?

Thanks
Jan 29 '07 #1
Share this Question
Share on Google+
2 Replies


b1randon
Expert 100+
P: 171
How would I put a frame around the picture that results from this:

<p><center>
<img src='<?=$uploaded;?>'></center></p>
<p align="center"> </p>
<div align="center">

Or can it even be done?

Thanks
Just put that whole thing inside a table with cells that contain the images that make up your picture frame.

[HTML]
<table>
<tr>
<td><img src="frame1.gif" colspan="3"></td>
</tr>
<tr>
<td><img src="frame2.gif"></td>
<td><img src='<?=$uploaded;?>'></td>
<td><img src="frame2.gif"></td>
</tr>
<tr>
<td><img src="frame1.gif" colspan="3"></td>
</tr>
</table>
[/HTML]
Jan 29 '07 #2

Motoma
Expert 2.5K+
P: 3,235
Use the border element for the img tag:
[HTML]
<p><center>
<img src='<?=$uploaded;?>' border=20></center></p>
<p align="center"> </p>
<div align="center">
[/HTML]
Jan 29 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.