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

CSS Question

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 12-22-2006, 11:24 AM
 
graybeard2k graybeard2k is offline
 

Member
  
Join Date: Dec 2005
Location: Wisconsin
Posts: 22
 

Default CSS Question

I am new to CSS. Can you use a <center> instruction above a table on pages that use CSS? I am asking because I've tried it and it is being misinterpreted in InternetExplorer 6.0. It is displaying properly in Firefox but in IE, the text in the table is being center, not the table itself. I don't know if it has anything to do with CSS but I thought I would ask. I don't recall having similar problems in IE on other sites I have that don't use CSS.

Another oddity, again in IE, is the text size is wrong in one table that is right below another table with the same <td class=..>. Why did I put them in separate tables? Because in the second table I wanted the text to align right. These problems are occuring on my index page on http://apstyles.com, if anyone cares to check to look how it is displaying for them.
__________________
Graybeard, Xcart Gold 4.0.17
Linux
Reply With Quote
  #2  
Old 12-22-2006, 11:33 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: CSS Question

<div style="text-align: center;"> is the corret way to center something, or you can use an external class:

<div style="center"> and then put this in your skin1.css:

.center {text-align: center;}
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 12-22-2006, 11:58 AM
 
graybeard2k graybeard2k is offline
 

Member
  
Join Date: Dec 2005
Location: Wisconsin
Posts: 22
 

Smile Re: CSS Question

Thanks balinor. I'll give that a try.

Happy Holidays to everyone.
__________________
Graybeard, Xcart Gold 4.0.17
Linux
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 07:21 AM.

   

 
X-Cart forums © 2001-2020