Changing Page Backround Color table

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Mr. X
    Senior Member
    • May 2001
    • 1112
    • 2.3.0

    Changing Page Backround Color table

    I've always wanted to do this. By default, vB does it by surrounding the forum tables, but the table doesnt go all the way to the top or bottom. yaxay.com is an example of what I'd like to achieve, i.e. instead of where vB cuts off the table, they go all the up and down, with a thin 1px border surrounding it. See attatchment for an idea of where Im getting at.

    Also, Valkyre I believe has a thread on yaxay on how to put a border around the Page Backround Color. While it works, I've broken each post so that they dont touch each other (see my forums to see). If I add a border around Page Backround Color, it adds these black bars on the sides of each post. If someone could show me how to do the above part, plus avoid the black bars when I put a border around it, that would be cool. Thanks!
    website: joe.pcfx.cc
    forums: pcfx.cc
    gallery: here
  • Mr. X
    Senior Member
    • May 2001
    • 1112
    • 2.3.0

    #2
    anyone?
    website: joe.pcfx.cc
    forums: pcfx.cc
    gallery: here

    Comment

    • c-prompt
      Senior Member
      • Apr 2001
      • 1309

      #3
      I would help but Im a little confused about what you're talking about.

      Comment

      • DirectPixel
        Senior Member
        • Jan 2002
        • 4703
        • 3.5.x

        #4
        He's talking about how your board doesn't fill the entire screen, and is inside a vertical "table"...I think...
        :)

        Comment

        • Mr. X
          Senior Member
          • May 2001
          • 1112
          • 2.3.0

          #5
          Sorry, Its hard trying to explain it. http://forums.clangrounds.com/ is what Im trying to achieve, where the middle white table thingy reaches all the way top and bottom. By default, vB will only surround the forum tables, and thats it.

          What I would like to do, is have the same, just 3 cells, 1 on top for a header graphic, the middle where all the forum stuff goes into, and one on the very bottom where I can put a footer.

          I would also like to put a 1px border around it. Am I any making more sense or am I babbling?
          website: joe.pcfx.cc
          forums: pcfx.cc
          gallery: here

          Comment

          • werehere
            Senior Member
            • Apr 2000
            • 1827

            #6
            I think I understand what you want, so I will give it a shot.

            How it is setup by default, it creates that table in the end of the header, and ends the table in the top of the footer. What you are talking about I believe could be achieved by placing that table at the top of the header, and ending it at the end of the footer, that will make it go from the top of the page to the bottom like you are seeking. You could then either give that td some CSS to give it a border, or you could encompus that table inside of another one that has a cellspacing of 1, and a background color that would end up being your border color.

            IS that what you are asking?
            Last edited by werehere; Thu 11 Apr '02, 6:09pm.
            We're Here Forums!
            [email protected]

            Comment

            • Mr. X
              Senior Member
              • May 2001
              • 1112
              • 2.3.0

              #7
              That sounds right. Heres a screenshot of what Im talking about:

              Default way:
              website: joe.pcfx.cc
              forums: pcfx.cc
              gallery: here

              Comment

              • Mr. X
                Senior Member
                • May 2001
                • 1112
                • 2.3.0

                #8
                And what I would like to do:
                website: joe.pcfx.cc
                forums: pcfx.cc
                gallery: here

                Comment

                • werehere
                  Senior Member
                  • Apr 2000
                  • 1827

                  #9
                  Yes, I believe my instructions will give you what you want!
                  We're Here Forums!
                  [email protected]

                  Comment

                  • DirectPixel
                    Senior Member
                    • Jan 2002
                    • 4703
                    • 3.5.x

                    #10
                    Any chance of telling the rest of us how to do it?
                    :)

                    Comment

                    • c-prompt
                      Senior Member
                      • Apr 2001
                      • 1309

                      #11
                      For that Here is a dummy code for it. Empty and bare. What I use.

                      HEADER Template

                      Code:
                      <div align="center">
                        <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="758">
                          <tr>
                            <td width="100%">
                            <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
                              <tr>
                                <td width="100%">HEADER STUFF HERE</td>
                              </tr>
                            </table>
                            <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
                              <tr>
                                <td width="100%"
                      Footer Template

                      Code:
                      </td>
                              </tr>
                            </table>
                            <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
                              <tr>
                                <td width="100%">FOOTER STUFF GOES HERE</td>
                              </tr>
                            </table>
                            </td>
                          </tr>
                        </table>
                      </div>

                      Change bordercolor to whatever you want and insert your content where it says to.

                      Comment

                      • Mr. X
                        Senior Member
                        • May 2001
                        • 1112
                        • 2.3.0

                        #12
                        See the attached pic for the result.

                        What I did was copy the default header code and pasted it in HEADER STUFF HERE, while taking the default footer code in FOOTER STUFF GOES HERE. Was that correct, or is that the prob?

                        The tables still dont reach top and bottom, so maybe I have some template mod thats messing it up perhaps? I understand the concept, now I just gotta figure out how to implement it
                        website: joe.pcfx.cc
                        forums: pcfx.cc
                        gallery: here

                        Comment

                        • c-prompt
                          Senior Member
                          • Apr 2001
                          • 1309

                          #13
                          No No. Dont put the current header and footer code in there. Just the content. As in the navbuttons, etc. That is just to show the table outline.

                          Comment

                          • Mr. X
                            Senior Member
                            • May 2001
                            • 1112
                            • 2.3.0

                            #14
                            thought so. I did that, but the tables still stay like that for some reason (i.e. not touching top and bottom)
                            website: joe.pcfx.cc
                            forums: pcfx.cc
                            gallery: here

                            Comment

                            • c-prompt
                              Senior Member
                              • Apr 2001
                              • 1309

                              #15
                              It wont touch the bottom because your content doesnt fill the page like yours does.

                              Comment

                              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                              Working...