X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Border Around Entire Website (https://forum.x-cart.com/showthread.php?t=4224)

peterb 09-03-2003 06:47 AM

Border Around Entire Website
 
I want to add a border around my entire Website virtually identical to the Xcart Forum here. I want to add different color to the outside of border together with a seperate color border line.

Any ideas, anyone!!! :D


Thanks and happy xcarting!!!!!


PeterB

rodneyw 09-03-2003 07:57 AM

I think you will need to make the modifications to the rectangle_top.tpl and rectangle_bottom.tpl files

magnumkp 09-04-2003 12:31 AM

Yes, as well has head.tpl and customer/home.tpl,

You will need to create about 6 border styles in the css. Here is an example of my css file. I have split them up because you can't just stick a border around the head.tpl because it isn't in the home main table so you end up with double lines:

.tabletopleft {
border-top : 1px solid #A5A5A5;
border-left : 1px solid #A5A5A5}

.tabletopright {
border-top : 1px solid #A5A5A5;
border-right : 1px solid #A5A5A5}
}

.tableleft {
border-left : 1px solid #A5A5A5
}

.tableright {
border-right : 1px solid #A5A5A5
}

.tablebotright {
border-bottom : 1px solid #A5A5A5;
border-right : 1px solid #A5A5A5}
}

.tablebotleft {
border-bottom : 1px solid #A5A5A5;
border-left : 1px solid #A5A5A5}
}

.tabletop {
border-right : 1px solid #A5A5A5;
border-left : 1px solid #A5A5A5;
border-top : 1px solid #A5A5A5;}
}

.tablebottom {
border-bottom : 1px solid #A5A5A5;

peterb 09-04-2003 02:03 AM

I have tried both suggestions and still have not achieved what I want to do. Have either of you completed the style and if so could you please give me a step by step guide to the modification.

Thank you,


regards,


PeterB

rodneyw 09-05-2003 04:07 AM

are you still having problems with this??

peterb 09-05-2003 06:53 AM

Yes. Help??????????????


thanks

rodneyw 09-05-2003 07:27 AM

ok, since I don't know what you tried or what your files look like so I am going to start here with the basic.

skin1/rectangle_top.tpl
Code:

<TABLE align=center border=1 cellPadding=0 cellSpacing=0 width=99% height=99% bordercolor=#000000>
  <TR>
    <TD valign=top>


skin1/rectangle_bottom.tpl
Code:

</TABLE>
  </TR>
    </TD>


This SHOULD put a 1 pixel black border around EVERYTHING.

peterb 09-06-2003 05:52 AM

Thankyou. That works. How would I add a background color to the outer section of the table?


Thanks


PeterB

magnumkp 09-06-2003 07:24 AM

This would be the (e.g) <body bgcolor="#132031". I think you can put this in the style sheet, but check the head file as well.

shan 09-09-2003 03:13 AM

Quote:

Originally Posted by rodneyw
ok, since I don't know what you tried or what your files look like so I am going to start here with the basic.

skin1/rectangle_top.tpl
Code:

<TABLE align=center border=1 cellPadding=0 cellSpacing=0 width=99% height=99% bordercolor=#000000>
  <TR>
    <TD valign=top>


skin1/rectangle_bottom.tpl
Code:

</TABLE>
  </TR>
    </TD>


This SHOULD put a 1 pixel black border around EVERYTHING.


should this not be

skin1/rectangle_bottom.tpl
Code:

</TD>
</TR>
</TABLE>   


rodneyw 09-09-2003 03:25 AM

:oops: uhh ... yea ... now that's funny. Messing up basic html tags!!

My Bad .. and THANKS!!

peterb 09-09-2003 07:42 PM

Thanks for the tip. Picked up HTML issue.

Next issue is how do you change the color outside and inside the border. That is have a different color for each sides of the border. The same setup at the border and colors in this forum.


Thanks and regards,



peterb


All times are GMT -8. The time now is 07:46 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.