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

CSS question - Different look in IE than FF

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-09-2007, 07:23 AM
  SystemSkins's Avatar 
SystemSkins SystemSkins is offline
 

eXpert
  
Join Date: Oct 2007
Posts: 350
 

Default CSS question - Different look in IE than FF

Can someone help me out here...

When viewing my site http://www.systemskins.com/sscart/home.php It looks great in FF. But when you view it in IE the hover links in the controller are shifted.

My code for head.tpl
Code:
{* $Id: head.tpl,v 1.58.2.1 2007/09/03 06:15:21 max Exp $ *} <table class="HeaderBG" cellpadding="0" cellspacing="0" width="970px" height="261"> <tr><td class="HeadRightHome" height="15px" width="100%" colspan="3"><a href="{$http_location}/">Home</a></td> </tr> <tr> <td class="HeadLeftBox" width="50%"><a href="{$http_location}/"><img src="{$ImagesDir}/header_logo.gif" width="300" height="120" alt="System Skins" /></a></td> <td width="35%" class="HeadRightAccount"><a href="../register.php">My<br />Account</td> <td width="15%" class="HeadRightCart"><a href="../cart.php">My<br />Cart</a></td> </tr> </table> <table class="HeaderBGbottom" cellpadding="0" cellspacing="0" width="100%" height="196"> <form action="{$xcart_web_dir}/include/login.php" method="post" name="toploginform"> <input type="hidden" name="mode" value="logout" /> <input type="hidden" name="redirect" value="{$redirect|escape}" /> <tr><td height="100%" width="33%"><img src="{$ImagesDir}/spacer.gif" width="1" height="1"/></td> <td height="100%" width="34%"><img src="{$ImagesDir}/spacer.gif" width="1" height="1"/></td> <td height="100%" align="right" width="33%" valign="bottom" nowrap="nowrap" class="FLCAuthBox"> <img src="{$ImagesDir}/spacer.gif" width="1" height="1"/> {if $login ne ""}<b>{$login} </b>{$lng.txt_logged_in} {if $js_enabled} {include file="buttons/button.tpl" button_title=$lng.lbl_logoff href="javascript: document.toploginform.submit();" js_to_href="Y"} {else} {include file="buttons/logout_menu.tpl"} {/if} </td> {/if} </tr> </table> </form>

I'm trying to make the hover links in the controller white with a red highlight on mouseover but if I change that then the titles of my products change to white too. I've tried to separate this but cant seam to do so. I thought that by having this CSS code would work for the hover buttons but it does't, it takes on the A:link and A:visited style. I thought that by indicating <td class="HeadRightHome" >it would effect the <a href=""> tag but its not changing the link properties. It changed the center and padding but not the link properties.
Code:
A:link { COLOR: #000000; TEXT-DECORATION: none; } A:visited { COLOR: #000000; TEXT-DECORATION: none; } A:hover { COLOR: #FF0000; TEXT-DECORATION: underline; } .HeadRightHome { TEXT-ALIGN: right; TEXT-DECORATION: none; COLOR: #FFFFFF; PADDING-RIGHT: 249px; PADDING-TOP: 25px; }


Also, When a customer logs in it says "username" is logged in! There is also a "Log out" with a button next to it but it places this underneath the "username" is logged in! I want this all on one line. I can't find where/why it's doing this. How do I make this all on one line?

Thanks,

Doug
__________________
Doug Rock
X-cart Gold 4.1.9
_____________________________________
Altered Cart: 1-Page checkout
Firetank: Feed Manager
Website CM: CDSEO PRO
Website CM: Product A-Z Map
Website CM: Review Approval
Website CM: Site Map Pro
Qualiteam: Sales & Stats (free version)
Reply With Quote
  #2  
Old 11-10-2007, 01:39 AM
 
Jonjolt1 Jonjolt1 is offline
 

Advanced Member
  
Join Date: Nov 2006
Posts: 49
 

Default Re: CSS question - Different look in IE than FF

You need to create a sperate class like

Code:
.ControllerLink { text size color etc } .ControllerLink:hover { what changes } And insert a class in the anchor tag like <a class="ControllerLink" href="......>
__________________
4.1.9
Reply With Quote
  #3  
Old 11-10-2007, 04:18 AM
  SystemSkins's Avatar 
SystemSkins SystemSkins is offline
 

eXpert
  
Join Date: Oct 2007
Posts: 350
 

Default Re: CSS question - Different look in IE than FF

ok thanks, i'll do that.

What about the position of the text links in IE vs FF? They look fine in FF but in IE they are are moved out of position.
__________________
Doug Rock
X-cart Gold 4.1.9
_____________________________________
Altered Cart: 1-Page checkout
Firetank: Feed Manager
Website CM: CDSEO PRO
Website CM: Product A-Z Map
Website CM: Review Approval
Website CM: Site Map Pro
Qualiteam: Sales & Stats (free version)
Reply With Quote
  #4  
Old 11-11-2007, 08:41 PM
  SystemSkins's Avatar 
SystemSkins SystemSkins is offline
 

eXpert
  
Join Date: Oct 2007
Posts: 350
 

Default Re: CSS question - Different look in IE than FF

I've fixed the color and hover color for the links but I'm still having the alignment problem. It looks great in FF but IE they are all out of position. Does anyone know how to fix this? I been trying all sorts of things and can't seam to get it to work. Can't find anything on the web either.
__________________
Doug Rock
X-cart Gold 4.1.9
_____________________________________
Altered Cart: 1-Page checkout
Firetank: Feed Manager
Website CM: CDSEO PRO
Website CM: Product A-Z Map
Website CM: Review Approval
Website CM: Site Map Pro
Qualiteam: Sales & Stats (free version)
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 06:58 AM.

   

 
X-Cart forums © 2001-2020