close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Repeat Region Format

Thread began 2/03/2010 11:18 pm by online.order393818 | Last modified 8/22/2014 10:31 am by sabastian130416448 | 1520 views | 12 replies |

online.order393818

Repeat Region Format

I'm trying to get a repeat region to display data horizontal (left to right) instead of vertical (top to bottom) Can anyone tell me how this is achieved?

Thanks

Sign in to reply to this post

Jimmy Wu

Within your repeat region you would put the contents in a div that has the align property set.

<div style="float:left">[your content]</div>

Sign in to reply to this post

online.order393818

Repeat Region Format

Jimmy,

Thank you

Sign in to reply to this post

Jimmy Wu

No problem. If you run into any additional issues, feel free to open a new thread.

Sign in to reply to this post

online.order393818

Repeat Region Format

Jimmy,

I applied the div tag, but I'm not getting the desired effect! Here is a snipped of my code. My repeat region is still displaying vertical... Could you take a look at it to see what is wrong?

<body>
<div style="float:left">
<?php do { ?><img name="" src="/products/gif_thumb/<?php echo $row_rsPairsFlowers['ItemThumb']; ?>" width="170" height="110" alt="" />
<br />
<?php echo $row_rsPairsFlowers['ItemLongDesc']; ?>
<br />
<?php echo $row_rsPairsFlowers['ItemPrice']; ?>
<br />
<?php } while ($row_rsPairsFlowers = mysql_fetch_assoc($rsPairsFlowers)); ?>
</div>
</body>

Thank you,
Jw

Sign in to reply to this post

Jimmy Wu

Are you copying and pasting the description from word or another text editor program? If you are, try typing in the text and submitting.

What are some of the sample descriptions that aren't working?

Are there any errors that occur on the page when you are accessing this? There is most likely a javascript error that is causing this behavior.

Sign in to reply to this post

online.order393818

Repeat Region Format

Jimmy,

Sorry for just getting back with you. Your suggestion worked.
Thanks for your help.

Jw

Sign in to reply to this post

Jimmy Wu

Great to hear it. If you run into any additional issues, feel free to open a new thread.

Sign in to reply to this post

sabastian130416448

Hi Jimmy.

I tried the method you gave above and everything is working UNTIL I enter a <br/> then it displays all the results vertically again instead of horizontal.

This is a sample of my code that is not working

<div style="float:left; width:auto">
<?php do { ?>
<a href="<?php echo $row_RcrdsetHenkor['link_tb']; ?>"><img src="<?php echo $row_RcrdsetHenkor['image_tb']; ?>" alt="" /></a><br />

Read More
<?php } while ($row_RcrdsetHenkor = mysql_fetch_assoc($RcrdsetHenkor)); ?>
</div>

If I take the br out the it works horizontally but the image and the text are next to each other and not underneath each other.

Any advice?

Sign in to reply to this post

Jason ByrnesWebAssist

please provide a link where i can see this to troubleshoot.

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...