![]() |
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 |
I think you will need to make the modifications to the rectangle_top.tpl and rectangle_bottom.tpl files
|
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; |
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 |
are you still having problems with this??
|
Yes. Help??????????????
thanks |
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> skin1/rectangle_bottom.tpl Code:
</TABLE> This SHOULD put a 1 pixel black border around EVERYTHING. |
Thankyou. That works. How would I add a background color to the outer section of the table?
Thanks PeterB |
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.
|
Quote:
should this not be skin1/rectangle_bottom.tpl Code:
</TD> |
:oops: uhh ... yea ... now that's funny. Messing up basic html tags!!
My Bad .. and THANKS!! |
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.