Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Border Around Entire Website

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 09-03-2003, 06:47 AM
 
peterb peterb is offline
 

Member
  
Join Date: Apr 2003
Location: Australia
Posts: 24
 

Default 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!!!


Thanks and happy xcarting!!!!!


PeterB
Reply With Quote
  #2  
Old 09-03-2003, 07:57 AM
 
rodneyw rodneyw is offline
 

Senior Member
  
Join Date: Mar 2003
Posts: 162
 

Default

I think you will need to make the modifications to the rectangle_top.tpl and rectangle_bottom.tpl files
Reply With Quote
  #3  
Old 09-04-2003, 12:31 AM
 
magnumkp magnumkp is offline
 

eXpert
  
Join Date: Apr 2003
Location: England
Posts: 304
 

Default

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;
Reply With Quote
  #4  
Old 09-04-2003, 02:03 AM
 
peterb peterb is offline
 

Member
  
Join Date: Apr 2003
Location: Australia
Posts: 24
 

Default

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
Reply With Quote
  #5  
Old 09-05-2003, 04:07 AM
 
rodneyw rodneyw is offline
 

Senior Member
  
Join Date: Mar 2003
Posts: 162
 

Default

are you still having problems with this??
Reply With Quote
  #6  
Old 09-05-2003, 06:53 AM
 
peterb peterb is offline
 

Member
  
Join Date: Apr 2003
Location: Australia
Posts: 24
 

Default

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


thanks
Reply With Quote
  #7  
Old 09-05-2003, 07:27 AM
 
rodneyw rodneyw is offline
 

Senior Member
  
Join Date: Mar 2003
Posts: 162
 

Default

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.
Reply With Quote
  #8  
Old 09-06-2003, 05:52 AM
 
peterb peterb is offline
 

Member
  
Join Date: Apr 2003
Location: Australia
Posts: 24
 

Default

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


Thanks


PeterB
Reply With Quote
  #9  
Old 09-06-2003, 07:24 AM
 
magnumkp magnumkp is offline
 

eXpert
  
Join Date: Apr 2003
Location: England
Posts: 304
 

Default

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.
Reply With Quote
  #10  
Old 09-09-2003, 03:13 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

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>
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:03 PM.

   

 
X-Cart forums © 2001-2020