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

H1 in IE7 doesn't follow CSS margin formatting?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-17-2009, 01:06 PM
 
ReadytoCover ReadytoCover is offline
 

Senior Member
  
Join Date: Apr 2008
Posts: 124
 

Default H1 in IE7 doesn't follow CSS margin formatting?

For some reason my product titles in IE7 are not following the 'padding-left: 200px' format I have in the CSS skin file.

In FireFox it works fine


Here is the exact part of the CSS:

Code:
h1.product { font-family:"Trebuchet MS", Verdana, Arial; font-size:22px; font-weight:regular; color:#910000; word-spacing:0px; display: inline; margin-left: 200px; }

Product Page Example
http://www.readytocover.com/36-x-20-wood-vanity-dressing-makeup-table.html

CSS File:
http://www.readytocover.com/skin1/skin1.css


Any help is greatly appreciated, thanks
__________________
x-cart 4.1.9
Reply With Quote
  #2  
Old 02-17-2009, 02:52 PM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default Re: H1 in IE7 doesn't follow CSS margin formatting?

It looks like your h1 tag is not inside a table cell, so IE may be having trouble interpreting the css margin correctly:

Your code:
Code:
<table width="100%"> <h1 class="product">36 x 20 Vanity Dressing Table Made For You</h1> <tr> <br /><br /> <td class="PImgBox" align="center" valign="top">


If you correct this does it make a difference:
Code:
<table width="100%"> <tr> <td class="PImgBox" align="center" valign="top"> <h1 class="product">36 x 20 Vanity Dressing Table Made For You</h1> <br /><br />
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
Reply With Quote

The following user thanks gb2world for this useful post:
ReadytoCover (02-17-2009)
  #3  
Old 02-17-2009, 03:08 PM
 
ReadytoCover ReadytoCover is offline
 

Senior Member
  
Join Date: Apr 2008
Posts: 124
 

Default Re: H1 in IE7 doesn't follow CSS margin formatting?

That didn't exactly work but it pointed me to what I needed to do, thank you!
__________________
x-cart 4.1.9
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:37 AM.

   

 
X-Cart forums © 2001-2020