Home | Products | Consulting | Forums | Support | Order | 1-800-752-0455
  Main
Index
Search
Posts
Who's
Online
Log
In

Home: Products: CMS Builder:
1st record spacing different than the rest.

 

 


videotoys
Novice

Jul 8, 2008, 3:51 PM

Post #1 of 4 (301 views)
Shortcut
1st record spacing different than the rest. Can't Post

Question about a small formatting issue.
On all my listings for some reason the first record always shows up different than the rest.

Heres an exaple:

http://www.chrismancommercial.com/office.php

Notice the 1st seperator bar is flush with the images under it and then all the rest are slightly indented.

Is it something with the CMS or something caused by the HTML placeement code I am using?

Here is the code I use for placement:


Code
  

<table>
<tr>

<td valign="top">
<?php foreach ($officeRecords as $record): ?>
<?php echo $record['address_bar'] ?>
</td>

</tr>
</table>
<table>
<tr>
<td valign="top">
<?php echo $record['image'] ?>
</td>

<td>
<?php echo $record['content'] ?><br/>
</td>
</tr>
<?php endforeach; ?>
<?php if (!$officeRecords): ?>
None available at this time.<br/><br/>
<?php endif ?>
</table>



Donna
Staff / Moderator


Jul 8, 2008, 4:56 PM

Post #2 of 4 (298 views)
Shortcut
Re: [videotoys] 1st record spacing different than the rest. [In reply to] Can't Post

Hi there!

It looks like you've gotten this fixed up? I checked in both Firefox & IE, and I'm seeing space between the separator & the images for all of your listings. Are you still having this problem? If so, can you let me know what browser & operating system you're using?

Donna


Hire me!
Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.


videotoys
Novice

Jul 8, 2008, 11:21 PM

Post #3 of 4 (292 views)
Shortcut
Re: [Donna] 1st record spacing different than the rest. [In reply to] Can't Post

Actually its not the space between them its the space on the second listings and all there after that the separator bar seems to go to the left a space or two. Even if I change the order of the items there's still the same spacing issue with the first one being different than the rest. If you look again you'll see that on 1'st listing, the images are flush with the separator bar, then the second one and down the bar seems to extend out further.

Seems like the images all stay aligned but the separator bar moves to the left a little.If I change the width of the table that holds the separator bar in the wysiwyg editor it only gets shorter on the right, even if I have that field left aligned or center aligned.Im thinking now that maybe my problem is that I'm using 3 wysiwyg fields, one for the separator bar, one for the images, and one for the text. Just thought it might be a common problem, but it must be on my end.

Thanks for any help if possible.


Jake
Staff / Moderator


Jul 9, 2008, 11:58 AM

Post #4 of 4 (273 views)
Shortcut
Re: [videotoys] 1st record spacing different than the rest. [In reply to] Can't Post

Hi videotoys,

I took a look at your page and did see the problem - that's definitely perplexing since the code is identical for each one of those listings. I did notice that some of your table tags aren't closing, which seems like the most likely cause to me:

http://validator.w3.org/check?uri=http%3A%2F%2Fwww.chrismancommercial.com%2Foffice.php&charset=%28detect+automatically%29&doctype=Inline&group=0

Try touching that up to see if it resolves the problem. Smile
-----------------------------------------------------------
Cheers,
Jake Swanson - Product Specialist
support@interactivetools.com


Hire me!
Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.


 
 
 


Search for (options)
Products
CMS Builder
Article Manager
Realty Manager
Listings Manager
Order Now
Services
Priority Consulting
Support
Online Documentation
Support Forums
Support Homepage
Company Info
12 reasons to choose us!
Meet the team
Monthly newsletter
Contact Us
Toll Free: 1-800-752-0455
Phone: (604) 689-3347
Sales | Support
Conditions of Use | Privacy Policy | Copyright © interactivetools.com 2008
#201 - 2730 Commercial Drive, Vancouver BC Canada V5N 5P4