Log in

View Full Version : Resolved Can't figure out what should be as easy as pie?



robin9000
02-07-2009, 01:50 PM
:confused: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/services/computer/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.

Snookerman
02-07-2009, 02:20 PM
Add this to your css:

#table1 {
background-repeat:no-repeat;
border:15px ridge #006600;
height:100%;
width:95%;
margin: 0 auto;
}

Good luck!

robin9000
02-07-2009, 02:31 PM
Add this to your css:

#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.

Snookerman
02-07-2009, 03:19 PM
You're welcome, glad to help!
For the SSI, try this:

<!--#include file="/menuscripts/h_menu.html" -->

Good luck!

Snookerman
02-07-2009, 05:01 PM
This should work:

<!--#include virtual="/menuscripts/h_menu.html" -->

Good luck!