close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

displaying of repeat region

Thread began 12/29/2017 10:46 am by markdoyle87077 | Last modified 12/31/2017 3:29 pm by Ray Borduin | 169 views | 4 replies |

markdoyle87077

displaying of repeat region

Hi Ray,

Just working on a bootstrap design for my website but I am having trouble getting the output to display correctly (see index.pdf) The products should display top to bottom, left to right but each rows div displays right under the div above. I am sure the answer lies in the CSS but I have been fiddling and been unable to solve this. I have attached the products.php file which will give you the output in the PDF file and the CSS I have applied to this is:

.products {
align-content: left;
width: 140px;
float: left;
text-align: center;
margin-left: auto;
margin-right: auto;
vertical-align: bottom;

}

Can you point me in the right direction please.

Attached Files
index.pdf
products.php
Sign in to reply to this post

Ray BorduinWebAssist

Is there a url where I can view the page in a browser? That would allow me to debug the CSS in action.

Sign in to reply to this post

markdoyle87077

Hi Ray,

Please see http://dmballooncompany.com/bootstrap/products.php

Many thanks and if I do not hear back today all the very best for the New Year and 2018.

Sign in to reply to this post

Ray BorduinWebAssist

So is the issue just that sometimes the next row is spaced over? If so, then the problem lies in the inconsistent height of the text elements below the images. The easiest solution is to define a height for the container that displays the text equal to the largest possible height so that the overall size becomes consistent.

There are other more complex solutions like using javascript or classes identifying the position.

Now if you are trying to display the products in columns rather than rows, that becomes more complex and would almost definitely require javascript in a responsive layout.

Try adding this css to the page and see if that is all you need:

h6 {
height: 60px;
}
Sign in to reply to this post

markdoyle87077

I will need to go for a more complex solution as there is a lot more information that needs to go in the div and I do want each row lined up. I will open a premier support ticket once I have everything in place.

Sign in to reply to this post

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...