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

Product dialog box not filling up entire space in IE

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 12-01-2009, 01:52 PM
 
ScrapArtist ScrapArtist is offline
 

Member
  
Join Date: Sep 2007
Posts: 25
 

Default Product dialog box not filling up entire space in IE

I did a search on dialogbox.tpl and IE issues here, but haven't found anything that addresses my issue. I could just be loopy at this point!

We recently changed our categories menu which made the menu box longer. Now the product dialog box is not filling up the entire space in IE. This only happens when there are only a few products on display. (Fine in FF, Safari and Opera). I replaced the tables in dialog.tpl with divs, but no dice. The dialog box looks like it's lining up with the bottom of the categories menu. I feel like I'm wandering in circles!

Here's an example.
http://www.scrapartist.com/shoppe/home.php?cat=43

Thanks for your help!
__________________
Jennifer
ScrapArtist.com
X-Cart Pro v4.1.8 [unix]
alteredCart Download Expander
alteredCart Buy Together
alteredCart On Sale
Reply With Quote
  #2  
Old 12-01-2009, 02:31 PM
  gb2world's Avatar 
gb2world gb2world is offline
 

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

Default Re: Product dialog box not filling up entire space in IE

If you use the IE developer toolbar - it shows that the table cell that contains the central space has a property: vertical-align:baseline. IE may be inheriting it from one of the containing classes.

One possible way to fix it is to modify that td from:
<td valign="top" width="100%">

change to:
<td width="100%" style="vertical-align:top;">

Or, if you don't like inline css, you can make a class for that table or td and align to the top instead of the baseline
__________________
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:
ScrapArtist (12-04-2009)
  #3  
Old 12-02-2009, 06:56 AM
 
ScrapArtist ScrapArtist is offline
 

Member
  
Join Date: Sep 2007
Posts: 25
 

Default Re: Product dialog box not filling up entire space in IE

Um...

I THINK I LOVE YOU!

Yes, that did the trick.

And, like, DUH. I've been fixated on Firebug, so it would be about time for me to load up IE Developer Toolbar. I feel so stupid. :P

I indeed have that vertical-align property set in a "reset" css file...rethinking the wisdom of that at the moment...

GREATLY GREATLY GREATLY appreciate your help! Thanks a billion for pointing me in the right direction. You made my day!
__________________
Jennifer
ScrapArtist.com
X-Cart Pro v4.1.8 [unix]
alteredCart Download Expander
alteredCart Buy Together
alteredCart On Sale
Reply With Quote
  #4  
Old 12-02-2009, 09:32 AM
  gb2world's Avatar 
gb2world gb2world is offline
 

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

Default Re: Product dialog box not filling up entire space in IE

You are welcome. I think firebug is a good tool to be fixates on - it is much easier to use than the IE developer toolbar. Probably a good process is to do development using Firefox/Firebug, then use IE Developer Toolbar to figure out any anomalies seen in IE.

Also - I am a proponent of standardizing the css with some sort of reset - it puts everything in a know state. It can get close to equalizing everything across browsers. Then, you can define your css to cascade from that. For me - it minimizes issues across browsers, so I do think it is wise. But, I suppose, that is a matter of opinion. In this case - I would prefer knowing that all table td are set to be baseline (or top or middle) in every browser, and if I want it different for certain tables, I would set css classes to accomplish that.
__________________
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
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 10:26 AM.

   

 
X-Cart forums © 2001-2020