Announcement

Collapse
No announcement yet.

seaction layout - alignment of last row

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    seaction layout - alignment of last row

    Hi,
    I am having a problem with section layouts, I have a table in actsectionline and it works fine when I have images only displayed but when I have images and text the alignment goes off. Especially if there are only 2 sections.
    I have the files on a templ site:

    http://www.picnic.ie/acatalog/Safety.html this is images only and it is fine
    http://www.picnic.ie/acatalog/Eye_Protection1.html - only 2 products and I have set the alignment in the table to bottom but it is not working for me.

    http://www.picnic.ie/acatalog/Workwear.html in this one the final row gets narrower?

    They are all using the same file.
    http://www.picnic.ie/acatalog/Marine...Freshners.html see how the alignment is up and down here? I have tried splitting the table in 2 rows but the widths giv me trouble then.

    Has anyone come accross this problem?
    Thanks,
    Breda

    #2
    Hi there

    Would it be possible for you to send over the act_sectionline template so I can have a look into it?

    Send it to the Contact Us link at the bottom of this page, and put it to my attention (James).

    Comment


      #3
      actsectionline

      Hi James,
      I have got around this by using the default act_sectionline.html and over-riding this in the section properties of each section. I set the first row colum count to 3 and subsequent to 3 etc.
      I was trying to do this by editing act_sectionline.html so I'll email this file too. What was happening was it was fine for all rows except for the final row in the table where the last cell would go off alignment. It seemed to be that if it dosen't get to the next it goes wrong. I have put the fixed version online but I'll email the file that was going wrong for me.

      Thanks,
      Breda

      Comment


        #4
        I set the first row colum count to 3 and subsequent to 3 etc.
        That would be the easiest way to set the sections into columns, rather than doing it within the templates.

        Has doing it this way arranged all the sections correctly now?

        Comment


          #5
          act_sectionline

          Hi James,
          Yes it has thanks, just took a long time to figure it out.
          Regards,
          Breda

          Comment


            #6
            Similar Layout Problem

            I am having a similar layout problem.

            Using the Standard-with image on left of text layout, First Row Column Count set to 2 and Subequent Column Count set to 2.

            When there is an odd number of sections the last section spans both columns. I would like it to stay in line with the first column.

            Thanks,
            Craig

            Comment


              #7
              Hi there

              You would need to edit your "Act_Sectionline.html" template, this can be found in "Advance | Template Manager | Section". Where you have the table defination, simply put in a fix width; an example would be:

              HTML Code:
              <TABLE BORDER="0" WIDTH="33%" CELLSPACING="0" CELLPADDING="10">
              Kind Regards
              Nadeem Rasool
              SellerDeck Development

              Comment


                #8
                Alignment of colums

                Hi Nadeem,
                Yes I tried using fixed size in % and in pixels but when you have an odd number in the last row of your table the alignment of that row goes wrong. Try it with a table of 7 products and set them 3 per row and you'll see what happens.

                Breda

                Comment


                  #9
                  Last Column Alignment

                  I have figured out that SectionLine.html is a nested table. This is not the table that needs to be modified. It is the table that is built into the script. Some of the tags can be accessed in Design/Options/Text Menu. I have not figured out a way to add the <td>&nbsp;</td (empty cells) to the table that contains SectionLine.html.

                  I think this must be done in the same place that the number of columns are calculated. When the the sections are divided into columns there should be a function to determine if the sections will be divided evenly. If not then the <td>&nbsp;</td (empty cells) tags should be added to the table to keep the table structure even.

                  Where can I access the function that divides the table into columns using the settings in the Design/Options/Sections Menu?

                  Craig

                  Comment


                    #10
                    Hi Craig,

                    The table code that comes from "Design | Option | Section" is from "Design | Text" and the following:
                    Click on "Go To"

                    Phase is always -1

                    ID 1187.......<TABLE><TR>
                    ID 1188.......</TR></TABLE>
                    ID 1189.......<TD WIDTH="%d%%">
                    ID 1190.......</TD>

                    Kind Regards
                    Nadeem Rasool
                    SellerDeck Development

                    Comment

                    Working...
                    X