Results 1 to 5 of 5

Thread: Can't figure out what should be as easy as pie?

  1. #1
    Join Date
    Feb 2009
    Posts
    159
    Thanks
    60
    Thanked 3 Times in 3 Posts

    Question Can't figure out what should be as easy as pie?

    I have got a table and it will not under any cercumstances center on my page. I have tried all kinds of things but still it will not center on my page.

    You'll have to see it to belive it, it's one of those types of things.

    http://www.robinsden.110mb.com/servi...ter/rates.html

    not only that but my SSI don't seem to be working on this page?
    you'll want to view the page it's self to get a cleaner view of the code.


    here is the sorce for the page:
    <body><!--#include file="../../menuscripts/h_menu.html" --> <div id="table1" class="style5"><table width="98%"align="center"> <tr> <td valign="top" bgcolor="#946D21"> </td> </tr></table></div> <!--#include file="../../menuscripts/footer.html" --></body>



    And here is the code for my CSS:

    #table1 {border-color:#006600;
    border-width:15px;
    border-style:groove;
    border-style:ridge;
    background-repeat:no-repeat;
    height:100%;
    width:95%;}

    Thanks.
    Last edited by robin9000; 02-07-2009 at 02:31 PM.

  2. #2
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    Add this to your css:
    Code:
    #table1 {
    background-repeat:no-repeat;
    border:15px ridge #006600;
    height:100%;
    width:95%;
    margin: 0 auto;
    }
    Good luck!

  3. The Following User Says Thank You to Snookerman For This Useful Post:

    robin9000 (02-07-2009)

  4. #3
    Join Date
    Feb 2009
    Posts
    159
    Thanks
    60
    Thanked 3 Times in 3 Posts

    Default

    Quote Originally Posted by Snookerman View Post
    Add this to your css:
    Code:
    #table1 {
    background-repeat:no-repeat;
    border:15px ridge #006600;
    height:100%;
    width:95%;
    margin: 0 auto;
    }
    Good luck!
    Thanks that worked perfectly, now all I need to do is to figure out why I can't get my SSI sheets to load but I think I may just give it the full path and that should resolve my problem.

  5. #4
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    You're welcome, glad to help!
    For the SSI, try this:
    Code:
    <!--#include file="/menuscripts/h_menu.html" -->
    Good luck!

  6. #5
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    This should work:
    Code:
    <!--#include virtual="/menuscripts/h_menu.html" -->
    Good luck!

Bookmarks

Posting Permissions

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