Announcement

Collapse
No announcement yet.

OK, its won, i can't do it

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

    OK, its won, i can't do it

    Had an item on my to do list for about 6 weeks now. I spend a varying amount of time trying to solve it ranging from hours to a couple of minutes each week and i have failed - i give up!!

    As anyone who has helped me already will know (BIB BIG thank you to all who have helped), this is my first Actinic and first ever website designed. I have managed to overcome some problems i never thought i would, yet this crazy little puzzle has done me, i need help!!

    When someone clicks on a section, i display sub sections using 3 columns, example is http://www.bhammodelcentre.co.uk/acatalog/Chargers.html. As you will see it displays all 3 sections evenly and looks fine - GREAT just what i want!

    However, if the number of sub-sections is not divisible by 3, it doesnt do it as i wish. If i have 10 sections, then it does this http://www.bhammodelcentre.co.uk/aca...Batteries.html, which is fine i.e it centers the odd section, 3 columns of 3, plus the 10th centred. Thats fine as i want, although left aligned for the odd one would also be ok.

    My problem is when it only has 2 left over sections as in this page http://www.bhammodelcentre.co.uk/aca...TruckKits.html. The thunder tiger section goes left aligned and the tamiya one then centres itself in the remaining space - i think it looks pants!

    Is there anyway to get either (in the above situation) thunder tiger and tamiya section to left align (in line with sections above it) or to centre across the page as in http://www.bhammodelcentre.co.uk/aca...aneSpares.html.

    Ive been changing the Act_SectionLineBoxes, its all gobblydegook to me as im only learning html and i feel that ive tried everything possible, but to no avail.

    I will be so mad when one of you experts shows that it is very easy, however i am prepared to accept that frustration as it has beat me.

    My Act_SectionLinesBoxes html is posted below, if anyone has the time to do a basic run through of what it is doing then thank you in advance. I understand its a table with a 2 row table nested within it, but im buggered if i know anything else. Big thanks to anyone who helps!

    <!-- SectionLine HTML begin -->
    <!-- Insert HTML for the beginning of a section title -->
    <br>
    <table width="210" border="0" align="center" cellpadding="5" cellspacing="0" class="thinred2">
    <tr>
    <td width="210" height="30" align="center" class="boxheader"><div align="center"><span class="actsmallheading"><strong><a href="NETQUOTEVAR:SECTIONLINK" class="boxlink">NETQUOTEVAR:SECTIONNAME</a></strong></span></div></td>
    </tr>
    <tr>
    <TD width="210" align="center"><div align="center"><A HREF="NETQUOTEVAR:SECTIONLINK">NETQUOTEVAR:SECTIONIMAGE</A></div></TD>
    </TABLE>
    NETQUOTEVAR:SECTIONTEXT<br>
    NETQUOTEVAR:NEXT
    <!-- Insert HTML for the end of a section title -->
    <!-- SectionLine HTML end -->

    #2
    You can amend layout in Content/Section Details/Layout/Location and Arrangement of Section List
    Tick the "Override Default Settings" Box. Then enter suitable values in First Row Column Count and Subsequent Row Column Count. These settings will only affect that particular section, and all other sections will retain the default setting of 3 columns.

    So to get a balanced layout for 10 sub-sections, (or any number divisible by 3 with a remainder of 1) you could set columns at 4 & 3 which would give you a first row of 4 columns and 2 rows of 3. For 11 sections (or any number divisible by 3 with a remainder of 2) you could set 3 & 4 which would give 3 columns in row 1 with all other row having 4 each.
    Brian
    www.flowergallery.co.uk
    Same day flower delivery to UK
    Same day flower delivery to Republic of Ireland
    International Flower Delivery

    Located in Argyll, Scotland, UK

    Comment


      #3
      Hi Brian

      Thanx for responding.

      I don't think that would work for me as i have a 200 pixel wide image on some sections such as http://www.bhammodelcentre.co.uk/aca...uckSpares.html. 4 images just would not fit across.

      Its funny cos the issue only arises when there are 2 surplus sections, with one surplus it just centers it, but with 2, it left aligns the first, then centers the second!!!

      Any other thoughts?

      many thanks

      Comment


        #4
        Originally posted by leehack
        Hi Brian

        Thanx for responding.

        I don't think that would work for me as i have a 200 pixel wide image on some sections such as http://www.bhammodelcentre.co.uk/aca...uckSpares.html. 4 images just would not fit across.

        Its funny cos the issue only arises when there are 2 surplus sections, with one surplus it just centers it, but with 2, it left aligns the first, then centers the second!!!

        Any other thoughts?

        many thanks
        Try setting 1st column at 2, subsequent at 3 to see if they centre ok.
        Brian
        www.flowergallery.co.uk
        Same day flower delivery to UK
        Same day flower delivery to Republic of Ireland
        International Flower Delivery

        Located in Argyll, Scotland, UK

        Comment


          #5
          Still has the same issue as when there are 2 remaining sections, it messes it up again.

          Comment


            #6
            Just tried my own site, changed section settings to force 2 columns in last row and they centred ok.

            Checked my HTML for Act_Sectionline and we have the following line at the start:-

            <DIV ALIGN="CENTER">

            immediately after

            <!-- SectionLine HTML begin -->
            <!-- Insert HTML for the beginning of a section title -->

            Apart from this your HTML is more or less the same as mine, so inserting this line may work.
            Brian
            www.flowergallery.co.uk
            Same day flower delivery to UK
            Same day flower delivery to Republic of Ireland
            International Flower Delivery

            Located in Argyll, Scotland, UK

            Comment


              #7
              No still does the same unfortunately.

              At least its not as easy as i thought it would be, kind of reassuring i guess lol.

              Comment


                #8
                I have the same problem on a couple of sections - and given up trying to solve it.
                Just thinking though - maybe you could add a duplicate from another section - or even a duplicate from the same section further up the list.

                Duncan R

                Comment


                  #9
                  Hi Duncan

                  Could do as a work round. That works fine if you have high number of sections as it wouldnt be noticed, however if you only have 5 sections, then a duplicate would be seen quite clearly and not look so good.

                  Admin once passed over would be a bit messy too as when new sections are added, it might be sensible to delete the dupicate etc.

                  Probably did myself a disservice, i thought it would be one of those simplest solutions where you kick yrself. Happy it wasnt but frustrated i cant achieve what i want.

                  Comment


                    #10
                    I've checked my HTML again, and <DIV ALIGN="CENTER"> certainly has some relevance, as when I remove this line from the HTML I get the same problem as you in that 2 items on last line don't align properly. Re-insert the line and they all centre up perfectly.

                    Here's the full code for my Act_SectionLine.html

                    <!-- SectionLine HTML begin -->
                    <!-- Insert HTML for the beginning of a section title -->

                    <DIV ALIGN="CENTER">

                    <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="5" WIDTH="120">
                    <TR>
                    <TD ALIGN="CENTER" VALIGN="TOP">
                    <A HREF="NETQUOTEVAR:SECTIONLINK">NETQUOTEVAR:SECTIONIMAGE</A>
                    </TD>
                    </TR>
                    <TR>
                    <TD ALIGN="CENTER" VALIGN="MIDDLE">
                    <A HREF="NETQUOTEVAR:SECTIONLINK">
                    <FONT FACE=ARIAL SIZE=-2> NETQUOTEVAR:SECTIONNAME</font></A><BR>
                    NETQUOTEVAR:SECTIONTEXT
                    </TD>

                    </TABLE>

                    </DIV>
                    NETQUOTEVAR:NEXT
                    <!-- Insert HTML for the end of a section title -->
                    <!-- SectionLine HTML end -->
                    Brian
                    www.flowergallery.co.uk
                    Same day flower delivery to UK
                    Same day flower delivery to Republic of Ireland
                    International Flower Delivery

                    Located in Argyll, Scotland, UK

                    Comment


                      #11
                      still no joy, grrrrr!

                      ty for yr efforts tho

                      Comment


                        #12
                        Lee - are you sure it's not working?

                        Not seeing cached pages are you?

                        I have exactly the same code as Brian, and I have properly centred section links when I switch from 3 to 2.
                        Bill
                        www.egyptianwonders.co.uk
                        Text directoryWorldwide Actinic(TM) shops
                        BC Ness Solutions Support services, custom software
                        Registered Microsoft™ Partner (ISV)
                        VoIP UK: 0131 208 0605
                        Located: Alexandria, EGYPT

                        Comment


                          #13
                          Hi Bill

                          No it was deffo on new page, not cached.

                          The issue is with 3 columns, not 2. Site is designed and set around 3 columns and will stay like that, id just like when there are surplus section ie not divisible by 3, to display in a way that looks neat.

                          Cheers

                          Lee

                          Comment


                            #14
                            Like these? This is using the DIV="CENTER" and TD ALIGN="CENTER" in the section line template. Is it possible the template you are using and the template you are changing are not the same one? You are changing the template in Actinic v7/Sites/Site 1?

                            Can you give a URL where we can see what is wrong with your page?
                            Attached Files
                            Bill
                            www.egyptianwonders.co.uk
                            Text directoryWorldwide Actinic(TM) shops
                            BC Ness Solutions Support services, custom software
                            Registered Microsoft™ Partner (ISV)
                            VoIP UK: 0131 208 0605
                            Located: Alexandria, EGYPT

                            Comment


                              #15
                              Hi Bill

                              The problem pages are linked in the very first post. I want 3 items on each row including the top one, with the remainder (if not divisible by 3) nicely displayed underneath.

                              Many thanks

                              Lee

                              Comment

                              Working...
                              X