Zen Cart Logo

Google Chrome Drama

Locked

Views: 3,427

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
3 Sep 2008, 11:42 AM
#1
zilla avatar

zilla

New Zenner

Join Date:
Feb 2006
Location:
Bexhill, UK
Posts:
45
Plugin Contributions:
0

Google Chrome Drama

Hi
I've just downloaded the beta of Google Chrome and it seems to do odd things with my layout...
see here https://www.ukbikegear.com
i've tried to work out what's causing it, but no luck... hopefully someone here will come to my aid!
cheers
john

3 Sep 2008, 11:45 AM
#2
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Google Chrome Drama

Suggest you query problem with template designer.

3 Sep 2008, 11:57 AM
#3
zilla avatar

zilla

New Zenner

Join Date:
Feb 2006
Location:
Bexhill, UK
Posts:
45
Plugin Contributions:
0

Re: Google Chrome Drama

yeah, just waiting for a call back from them - i was hoping it might be something i could fix without them

4 Sep 2008, 3:07 PM
#4
drkramer avatar

drkramer

New Zenner

Join Date:
Apr 2006
Location:
Northern VA, USA
Posts:
15
Plugin Contributions:
0

Re: Google Chrome Drama

I sent a copy to the google people. There is a link under the page icon in chrome to report an issue.

4 Sep 2008, 4:11 PM
#5
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Google Chrome Drama

One thing I did notice was that the class declaration

clearboth (this is as it appears when you view the source of your page) and only for sections of the header portion of the page.

does not match the declaration in the stylesheet.css which is

.clearBoth

<div class="header01">
<a href="http://www.ukbikegear.com/"><img class="logopoz01" src="includes/templates/jsweb/images/design/logo.jpg" border="0" alt="" /></a>
</div>

<br class="clearboth" />
<div>
<div id="login_header" class="back"><form name="account_box" action="https://www.ukbikegear.com/index.php?main_page=login&action=process" method="post">
<table border="0" cellspacing="0" cellpadding="0">
<tr> 
<td align="center" valign="middle" class="text_top">Login </td>
<td align="center" valign="middle"> <input type="text" name="email_address" size="15" value="e-mail" onfocus="if (this.value == 'e-mail') this.value = '';" onblur="if(this.value=='')this.value='e-mail';" /> </td>
<td align="center" valign="middle" class="text_top"> </td>
<td align="center" valign="middle"> <input type="password" name="password" size="15" value="password" onfocus="if (this.value == 'password') this.value = '';" onblur="if(this.value=='')this.value='password';" /> </td>
<td align="center" valign="middle"> <input type="image" src="includes/templates/jsweb/images/design/login.jpg" alt="Login" title=" Login " /></td>
</tr>
</table></form>
	</div>
<div id="cart_header" class="back scpoz"><div><a href="http://www.ukbikegear.com/index.php?main_page=shopping_cart ">Shopping Cart</a>:  Item(s) <font class="font_red"><B>0</B></font> | Total: <font class="font_red"><B>£0.00</B></font></div></div>

<br class="clearboth" />
</div>
<br class="clearboth" />
<br class="clearboth" />

I'd suggest going through tpl_header.php and correct the those clearboth calls and that should clear up the problem.

4 Sep 2008, 4:12 PM
#6
rstevenson avatar

rstevenson

Totally Zenned

Join Date:
Nov 2006
Location:
Dartmouth, NS Canada
Posts:
2,400
Plugin Contributions:
0

Re: Google Chrome Drama

The rendering engine in Google Chrome is WebKit, the same rendering engine used in Safari. So if you're surprised at what your site looks like in Chrome, you didn't check it out in Safari. You'd be surprised at what it looks like in that browser too!

Rob

5 Sep 2008, 6:05 AM
#7
zilla avatar

zilla

New Zenner

Join Date:
Feb 2006
Location:
Bexhill, UK
Posts:
45
Plugin Contributions:
0

Re: Google Chrome Drama

thanks for your replies... and thanks drkramer for sending the report for me... my knowledge of chrome is currently zero!
thanks for your suggestion clydejones... i'll have a look at that when i get into work and report back :)
and finally... rstevenson, thanks, just thanks for making my morning! lol ... I foolishly thought when i purchased the basic template that it would have been tested on the major browsers so didn't bother checking it myself (still, you live and learn!), hopefully the fix clydejones has suggested will solve my problems with both at the same time. :)

5 Sep 2008, 10:32 AM
#8
zilla avatar

zilla

New Zenner

Join Date:
Feb 2006
Location:
Bexhill, UK
Posts:
45
Plugin Contributions:
0

Re: Google Chrome Drama

I've just changed the clearboth calls and no change unfortunately (i found 4 in tpl_header).
What i have noticed is that I can "highlight" the extra white space after the login section as if it's an image on each line, if that makes sense?

5 Sep 2008, 10:51 AM
#9
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Google Chrome Drama

Not sure how important HTML Validation is to you nor how Google Chrome treats validation, but you might want to fix up some the coding errors in your Template.

5 Sep 2008, 11:18 AM
#10
zilla avatar

zilla

New Zenner

Join Date:
Feb 2006
Location:
Bexhill, UK
Posts:
45
Plugin Contributions:
0

Re: Google Chrome Drama

thanks for that Rob, definitely something i know i should do. i'm not sure it should break the template though?
i've made a start though... anything is worth a try :)

5 Sep 2008, 12:55 PM
#11
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Google Chrome Drama

zilla:

I've just changed the clearboth calls and no change unfortunately (i found 4 in tpl_header).
What i have noticed is that I can "highlight" the extra white space after the login section as if it's an image on each line, if that makes sense?

Try the changes without the period

What you have now

.clearBoth

What it should be

clearBoth

5 Sep 2008, 4:11 PM
#12
zilla avatar

zilla

New Zenner

Join Date:
Feb 2006
Location:
Bexhill, UK
Posts:
45
Plugin Contributions:
0

Re: Google Chrome Drama

Clyde, you are a genius :)
worked a treat, thank you so much