Announcement

Collapse
No announcement yet.

This is driving me FREAKIN' INSANE!!!!

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

  • This is driving me FREAKIN' INSANE!!!!

    A simple bit of code:

    <tr><td width="20%" align="center" valign="middle" bgcolor="$backcolor">
    <a href="store.php?action=$aw[action]"><normalfont>$showgraphic</a>
    <br>
    <br><normalfont><b>Price: </b> $aw[costs]
    <br><normalfont><b>Number sold: </b> $aw[sold]
    <br><normalfont><b>You Need: </b> $need
    </td>

    However.... the image ($showgraphic) is ALWAYS left aligned - when it should be in the centre? Right?

    HELP!!!

  • #2
    See?!

    Comment


    • #3
      maybe change the valign="middle" to valign="top"

      also, I know this is bad html, but I still use <center></center> tags occasionally

      Comment


      • #4
        No, tried both of those thing - it still won't budge.

        Comment


        • #5
          im not sure but this could work, change it to:

          <tr><td width="20%" align="center" valign="middle" bgcolor="$backcolor">
          <a href="store.php?action=$aw[action]"><normalfont><div align="center">$showgraphic</div></a>
          <br>
          <br><normalfont><b>Price: </b> $aw[costs]
          <br><normalfont><b>Number sold: </b> $aw[sold]
          <br><normalfont><b>You Need: </b> $need
          </td>

          Comment


          • #6
            No, that didn't work either. This is weird...

            I think I'll give up - I've just made everything go to the left and I've made the table smaller... oh well

            Comment


            • #7
              gimme you site url and ill solve it for ya, cuz i can't see whats wrong without looking at the html that the site outputs.

              Comment


              • #8
                I would go into the $showgraphic template and center it there

                Comment


                • #9
                  i don't like your Authorization Required message
                  You're my Prince of Peace
                  And I will live my life for You

                  Comment


                  • #10
                    Originally posted by nuno
                    i don't like your Authorization Required message
                    Who?

                    Comment


                    • #11
                      hacker that i am i still managed to find break into the guys forum

                      this is your problem

                      <img src="/forum/images/change_title.gif" align="left" border=0>
                      See the align=left, you got to find the source code of the image, prolly in some template or php file and change it to align=center.

                      Comment


                      • #12
                        Should you be able to do that?!

                        Comment


                        • #13
                          Lol, you only viewed source - at least you didn't get into the php (and don't try!)

                          Now to find where that code is :S

                          Comment


                          • #14
                            Sorted! In the php code the $showgraphic variable was left aligned - changed it, all works well. See it going at eovie.com/forum/store.php

                            (Of course you have to sign up !)

                            Comment


                            • #15
                              glad to hear it's worked out for you

                              Comment

                              Related Topics

                              Collapse

                              Working...
                              X