Announcement

Collapse
No announcement yet.

Stupid HTML mistake

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

    Stupid HTML mistake

    Hi,

    I was using a fragment to add an image to the top of a section. In an effort to reduce the space around the image I edited the html of the template.

    Now that section [ and all the others on the site with a fragement header image] have all gone to the left hand side. I've tried to repair my mistake but I'm no script kiddy.

    Here's what I have :

    <!-- ImageOnly HTML begin -->
    <td>
    <tr>
    NETQUOTEVAR:FRAGMENTANCHOR
    <table border="0" width="100%" cellspacing="5" cellpadding="0">
    <tr>
    <td width="100%" align="center">NETQUOTEVAR:BROCHURE_IMAGE</td>
    </tr>
    </table>

    </tr>
    <td>
    <!-- ImageOnly HTML end -->

    What I'm I missing ? I just want it the way it was in default mode.

    Any help would be gratefully received, Thanks David

    #2
    could it be you have the <td> and <tr> the wrong way around?

    So, it should be:

    <!-- ImageOnly HTML begin -->
    <tr>
    <td>
    NETQUOTEVAR:FRAGMENTANCHOR
    <table border="0" width="100%" cellspacing="5" cellpadding="0">
    <tr>
    <td width="100%" align="center">NETQUOTEVAR:BROCHURE_IMAGE</td>
    </tr>
    </table>

    </td>
    </tr>
    <!-- ImageOnly HTML end -->

    Comment


      #3
      That's a bit better but...

      Thanks for your suggestion. It's made all the sections go back to where they were great, but the image itself is still on the left even though the script says..

      align="center"

      Any more ideas ?

      As it was fine before I messed with it.

      Thanks for looking , David

      Comment


        #4
        I'm afraid I don't. I'm new to Actinic, but I know HTML. I can't see why it shouldn't work.

        Can you tell me the name of the template you are editing?

        And I assume you mean that this image (NETQUOTEVAR:BROCHURE_IMAGE) is the one thats on the left and not centered?

        Sam

        Comment


          #5
          Html help

          Thanks for helping Samantha, I'm new to both this prog and html. I thought it was going to be a bit more ' Press this button to create your perfect website' sadly it asking slightly more of me .

          Right the thing I'm editing is called ACT_Imageonly. Which comes up when you're in fragment mode , hit' image only' in the selection box then 'edit'.

          I assumed this line refers to the image...

          <td width="100%" align="center">NETQUOTEVAR:BROCHURE_IMAGE</td>

          and yes it's on the left hand side.

          any clearer ?

          Comment


            #6
            I'm afraid not

            There's nothing wrong with the HTML. I have looked at my Act ImageOnly and it looks like this:

            Code:
            <!-- ImageOnly HTML begin -->
            
            <tr>
            <td colspan="3" valign="top">
            
            NETQUOTEVAR:FRAGMENTANCHOR
            <table border="0" width="100%" cellspacing="5" cellpadding="1">
              <tr>
                <td width="100%" align="center">NETQUOTEVAR:BROCHURE_IMAGE</td>
              </tr>
            </table>
            
            </td>
            </tr>
            
            <!-- ImageOnly HTML end -->
            Is this the only template you have edited?

            Sam

            Comment


              #7
              Actually...just noticed. Could it be the colspan="3" that you're missing? In fact I'm sure it could well be.

              Sam

              Comment


                #8
                We have a winner

                Thank you so much . That <td colspan="3" valign="top"> was exactly what I was missing.

                All back to normal now. I promise I won't mess with anything else.

                Cheers, David

                Comment

                Working...
                X