Real Estate Forums

REW CMS 1 Questions For users of the REW CMS 1 or classic backend - please post your 'how do I' questions here. If you have upgraded to CMS 2, please use the CMS 2 Forum

Reply
 
Thread Tools Display Modes
Old 07-08-2008, 07:42 PM
thegelvis31 thegelvis31 is offline
REW Client
 
Join Date: Mar 2008
Location: Bradenton, Florida
Posts: 65
thegelvis31 is on a distinguished road
Default Align text next to picture

I am trying to center text next to a picture (condo name and under that view details) and then add a second picture with the same information, just different condo name to the right of the first picture. Every time I try to do it the picture moves the text away from the first picture. The other question I had is when I write a code <img alt="" src="/thumbnails/100central.jpg" /> it gives me a red x in the box. How do I write the code for the picture to appear?

Here is the page I am talking about - http://dev44.rewdev.com/Test.php

Thank You http://dev44.rewdev.com/
Reply With Quote
Old 07-09-2008, 11:04 AM
rew danielle's Avatar
rew danielle rew danielle is offline
Real Estate Webmasters Staff
 
Join Date: Dec 2007
Posts: 1,422
rew danielle is on a distinguished road
Default Re: Align text next to picture

Quote:
am trying to center text next to a picture (condo name and under that view details) and then add a second picture with the same information, just different condo name to the right of the first picture. Every time I try to do it the picture moves the text away from the first picture.
You could create a table. One cell for the image, a different one for the text.
By doing this, the table must remain the same size which means the text and image can only shift within its cell. You can align the text to be centered within the cell.

Creating a simple html table

<table> = the beginning of the table
</table> = the end of the table
<tr> = row
</tr> = end row
<td> - column
</td> = end column

So, in your case, you will only need 1 row with two columns: Type this code

<table>
<tr>
<td>hello</td>
<td>goodbye</td>
</tr>
</table>

This is a very basic example. In between the <td> tags is where you can place your content. Using the example of the picture you have here on the left http://dev44.rewdev.com/Test.php, you would type this:

<td><img alt="100 central" src="http://dev44.rewdev.com/images/100Central.jpg" align="left" border="0" height="125" width="100" /></td>

and where I have written 'goodbye' between the second set of <td> tags, you will put the text.

<td>This is where you can type your paragraph</td>

So the table should read something like this. You can copy this table when you are done and use it for your other image. Or you can continue adding rows and columns as needed.

<table>
<tr>
<td><img alt="100 central" src="http://dev44.rewdev.com/images/100Central.jpg" align="left" border="0" height="125" width="100" /></td>
<td>This is where you can type your paragraph</td>
</tr>
</table>

I hope I didn't make that way more complicated than it actually is
__________________
Danielle Simard
Customer Support Representative
support@realestatewebmasters.com

Last edited by rew danielle; 07-09-2008 at 11:06 AM.
Reply With Quote
Old 07-09-2008, 11:12 AM
rew danielle's Avatar
rew danielle rew danielle is offline
Real Estate Webmasters Staff
 
Join Date: Dec 2007
Posts: 1,422
rew danielle is on a distinguished road
Default Re: Align text next to picture

You can apply alignment right in the <td> tag.

<td align="center">your text</td>
__________________
Danielle Simard
Customer Support Representative
support@realestatewebmasters.com
Reply With Quote
Old 07-09-2008, 12:01 PM
thegelvis31 thegelvis31 is offline
REW Client
 
Join Date: Mar 2008
Location: Bradenton, Florida
Posts: 65
thegelvis31 is on a distinguished road
Default Re: Align text next to picture

That work, but I am trying to put Alinari and then under that View details. How do I do that?

Thanks,
http://dev44.rewdev.com/Sarasota-Condos.php
Reply With Quote
Old 07-09-2008, 01:51 PM
rew danielle's Avatar
rew danielle rew danielle is offline
Real Estate Webmasters Staff
 
Join Date: Dec 2007
Posts: 1,422
rew danielle is on a distinguished road
Default Re: Align text next to picture

Try this:

<table>
<tr>
<td rowspan="2">your picture</td>
<td>Alinari</td>
</tr>
<tr>
<td>view detailsf</td>
</tr>
</table>
__________________
Danielle Simard
Customer Support Representative
support@realestatewebmasters.com
Reply With Quote
Old 07-09-2008, 02:32 PM
thegelvis31 thegelvis31 is offline
REW Client
 
Join Date: Mar 2008
Location: Bradenton, Florida
Posts: 65
thegelvis31 is on a distinguished road
Default Re: Align text next to picture

That worked, except the text is not right underneath each other there is space between them.

Thanks,
http://dev44.rewdev.com/Sarasota-Condos.php
Reply With Quote
Old 07-09-2008, 02:36 PM
rew danielle's Avatar
rew danielle rew danielle is offline
Real Estate Webmasters Staff
 
Join Date: Dec 2007
Posts: 1,422
rew danielle is on a distinguished road
Default Re: Align text next to picture

You can vertically align cells http://www.htmlcodetutorial.com/tables/_TR.html
__________________
Danielle Simard
Customer Support Representative
support@realestatewebmasters.com
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
text call capture?? waynelong Real Estate Chat 18 03-07-2008 08:05 PM
Do you text message? rvolk75 Real Estate Chat 35 01-14-2008 08:01 AM
How do I maintain text size using <li> Dennis Pease Coding 10 12-05-2007 09:13 PM
Anchor Text Links Morristown Linking Strategies 10 08-10-2007 07:44 AM

For our members

Main Sections

IDX Coverage Areas

Spiders Welcome

All times are GMT -7. The time now is 12:45 AM.


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