+ Reply to Thread
Results 1 to 9 of 9

Thread: Need Help with HTML

  1. #1
    whitedove
    Guest

    Need Help with HTML

    I was just wondering if someone could help me with my Billboard Scroll script for the Vote Buttons for the other Topsites my topsite is listed on.

    This is the code and it works fine:

    <div id="contentwrapper">
    <div id="billboard0" class="billcontent">
    <center><font size=2><a href="http://fairy.top-site-list.com/vote74.html" target="new">Vote For Enchanted Hollow
    at Dancing Fairies</a>
    </font> <font size=1>Top List</font> </center></center>
    </div>

    I just need to know how to make my button <valign="center"> Can I even do it? I have tried just about everything! :?

    In the Header part of the script I have this that can be edited:

    <style type="text/css">

    /*Modify attributes of #contentwrapper below as desired*/
    #contentwrapper{
    width: 200px;
    height: 200px;
    border: 3px dotted gold;
    background-color: #000000;
    padding: 5px;
    }

    .billcontent{
    width: 100%;
    display:block;
    }

    </style>

    <script type="text/javascript">

    I have tried to add <valign="center"> several different ways but to no avail...


    You can see the Billboard here: http://enchantedhollow.gotop100.com/index.php (At the bottom of the list...)

    Is there also a way to code it so all the buttons do not have to load in a single line first before it starts working? I plan on adding alot more and it seems to be taking quite awhile to load.

    Thank you for any help!

  2. #2
    Scott
    Guest
    Have you tried changing this:

    <div id="billboard0" class="billcontent">

    to this:

    <div align="center" id="billboard0" class="billcontent">

  3. #3
    whitedove
    Guest
    That didn't work either... :roll:

    Thank you for trying though... :wink:

  4. #4
    Scott
    Guest
    The only other thing I can think of right now is to try changing this:

    .billcontent{
    width: 100%;
    display:block;
    }

    to this:

    .billcontent{
    width: 100%;
    text-align: center;
    display:block;
    }

  5. #5
    Scott
    Guest
    It looks centered to me now - did you rerank your list after making the change, or did you figure something else out?

  6. #6
    whitedove
    Guest
    Thank you Dave for helping me! That didn't work either... Yes, I "Apply Design" everytime - I need the content to vertically align. I did make the billboard a little smaller so it wasn't so noticable. I would like to have it in the center of the Billboard vertically as well as horizontally so I can have different size buttons in it. :wink:

  7. #7
    Scott
    Guest
    Oh, VERTICAL!

    Sorry about that, I guess I'm blind.

    Vertical alignment with css styles is a little different. One thing you could try is to set the height of the table it is in (which you have already done) and then play with the top margin until you get it centered. The problem with this is if you have more than one button inside, they won't all be aligned properly.

  8. #8
    whitedove
    Guest
    Thank You Dave...

    I will play around with that and see how it works.

    Thank You for your help!

  9. #9
    Scott
    Guest
    No problem

+ Reply to Thread

Similar Threads

  1. Basis <b>bold</b> html on Announcements Page
    By shopnz in forum Questions and Answers
    Replies: 5
    Last Post: 07-05-2007, 10:34 PM
  2. Stop Redirecting to the index.html page of Blogger please!!!
    By Dirty Butter in forum Site Suggestions
    Replies: 6
    Last Post: 12-15-2006, 04:34 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts