OK CSS Guru's

Locked

Started by tinas on 26 Nov 2006, 5:20 PM · Views: 6,978

Results 1 to 20 of 21
This thread is locked. New replies are disabled.
26 Nov 2006, 5:20 PM
#1
tinas avatar

tinas

Totally Zenned

Join Date:
Jan 2005
Location:
Lake Havasu, AZ
Posts:
1,090
Plugin Contributions:
0

OK CSS Guru's

Somebody please keep me from the continuing motion of head against wall:lamo:

I built this template http://lakecountrygiftshop.com/
Which looks great in firefox - but when you look in IE7 I have 2 (?? only these 2) the information box and the paypal box which are pulling in a solid brown background rather than my graphic. Also I notice that the Information box is very left aligned instead of padded as it is in Firefox.

Can someone who hasn't been beating their head on the wall over this for a week please take a peek and tell me what I wonked in the stylesheet for those boxes! I'd really appreciate it.:yes:

When the world gets in my face I say Have A Nice Day.

26 Nov 2006, 5:32 PM
#2
website_rob avatar

website_rob

Inactive

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

Re: OK CSS Guru's

IE 6 also shows the same problem as IE 7.

Here are good places to start at.

Selector expected. Ruleset ignored due to bad selector.
stylesheet.css (line 175)

Expected end of value for property but found 'color'. Error in parsing value for property 'width'. Declaration dropped.
stylesheet.css (line 292)

Expected identifier for pseudo-class or pseudo-element but found ' '. Ruleset ignored due to bad selector.
stylesheet.css (line 521)

The learning is in the doing.

Potent Products

26 Nov 2006, 5:41 PM
#3
tinas avatar

tinas

Totally Zenned

Join Date:
Jan 2005
Location:
Lake Havasu, AZ
Posts:
1,090
Plugin Contributions:
0

Re: OK CSS Guru's

Fixed all three - thanks for the check - but still the problem persists - any other suggestions ? Thanks again !

When the world gets in my face I say Have A Nice Day.

26 Nov 2006, 5:42 PM
#4
clydejones avatar

clydejones

Deceased

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

Re: OK CSS Guru's

Tina,

I looked at the view source and found this error on both of the sideboxes.

<div "class="sideBoxContent">

You have this extra quote mark before the class declaration.

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

26 Nov 2006, 5:47 PM
#5
clydejones avatar

clydejones

Deceased

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

Re: OK CSS Guru's

Tina,

TIDY also reports the following errors:

line 6 column 77 - Warning: unescaped & which should be written as &
line 6 column 153 - Warning: unescaped & which should be written as &
line 6 column 179 - Warning: unescaped & which should be written as &
line 6 column 197 - Warning: unescaped & which should be written as &
line 6 column 210 - Warning: unescaped & which should be written as &
line 7 column 105 - Warning: unescaped & which should be written as &
line 7 column 181 - Warning: unescaped & which should be written as &
line 7 column 207 - Warning: unescaped & which should be written as &
line 7 column 225 - Warning: unescaped & which should be written as &
line 7 column 238 - Warning: unescaped & which should be written as &
line 36 column 11 - Warning: <img> element not empty or not closed
line 43 column 23 - Warning: <img> element not empty or not closed
line 46 column 23 - Warning: <img> element not empty or not closed
line 64 column 23 - Warning: <img> element not empty or not closed
line 67 column 35 - Warning: <img> element not empty or not closed
line 70 column 60 - Warning: <img> element not empty or not closed
line 73 column 67 - Warning: <img> element not empty or not closed
line 76 column 63 - Warning: <img> element not empty or not closed
line 79 column 65 - Warning: <img> element not empty or not closed
line 82 column 63 - Warning: <img> element not empty or not closed
line 85 column 23 - Warning: <img> element not empty or not closed
line 88 column 29 - Warning: <img> element not empty or not closed
line 92 column 5 - Warning: discarding unexpected </td>
line 93 column 17 - Warning: discarding unexpected </tr>
line 129 column 149 - Warning: unescaped & which should be written as &
line 131 column 153 - Warning: unescaped & which should be written as &
line 136 column 153 - Warning: unescaped & which should be written as &
line 139 column 149 - Warning: unescaped & which should be written as &
line 140 column 151 - Warning: unescaped & which should be written as &
line 166 column 1 - Warning: <div> unexpected or duplicate quote mark
line 166 column 483 - Warning: unescaped & which should be written as &
line 178 column 1 - Warning: <div> unexpected or duplicate quote mark
line 124 column 1 - Warning: missing </div>
line 329 column 294 - Warning: <br> element not empty or not closed
line 285 column 1 - Warning: missing </div>
line 19 column 1 - Warning: missing </div>
line 49 column 19 - Warning: <td> proprietary attribute "background"
line 214 column 379 - Warning: trimming empty <span>
line 214 column 314 - Warning: trimming empty <font>
line 214 column 491 - Warning: trimming empty <span>
line 214 column 426 - Warning: trimming empty <font>

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

26 Nov 2006, 8:51 PM
#6
tinas avatar

tinas

Totally Zenned

Join Date:
Jan 2005
Location:
Lake Havasu, AZ
Posts:
1,090
Plugin Contributions:
0

Re: OK CSS Guru's

I have actually cut my errors down to 8 on validation- but one of those - the very first one is stumping me :(

When the world gets in my face I say Have A Nice Day.

26 Nov 2006, 9:06 PM
#7
website_rob avatar

website_rob

Inactive

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

Re: OK CSS Guru's

I've attached a zip file with corrected code for you. Also includes a suggested color change for your special prices.

Still means a bit of work for you to do but at least you wont' have to worry about code errors. :smile:

The learning is in the doing.

Potent Products

26 Nov 2006, 10:38 PM
#8
tinas avatar

tinas

Totally Zenned

Join Date:
Jan 2005
Location:
Lake Havasu, AZ
Posts:
1,090
Plugin Contributions:
0

Re: OK CSS Guru's

Thanks Rob :-) I am sure it's something that I am simply failing to see - considering it's not my first time around the block with a template but this one just wants to piss me off :)

Thanks again my friend!

When the world gets in my face I say Have A Nice Day.

26 Nov 2006, 10:53 PM
#9
clydejones avatar

clydejones

Deceased

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

Re: OK CSS Guru's

Tina,
again, taken from the view source:

Warning: <div> unexpected or duplicate quote mark

<!--// bof: infopages //--> <div "class="sideBoxContent"> <!--// bof: paypallogo //--> <div "class="sideBoxContent">

Its the quote immediately in front of class.

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

26 Nov 2006, 10:56 PM
#10
tinas avatar

tinas

Totally Zenned

Join Date:
Jan 2005
Location:
Lake Havasu, AZ
Posts:
1,090
Plugin Contributions:
0

Re: OK CSS Guru's

Yes I know - I see that too - but the problem is that I don't see where it's getting that at... on ONLY those two sideboxes. I mean I realize that they are the template and all - but I have edited them over and over and I cannot find why they get that code :(

When the world gets in my face I say Have A Nice Day.

26 Nov 2006, 10:59 PM
#11
tinas avatar

tinas

Totally Zenned

Join Date:
Jan 2005
Location:
Lake Havasu, AZ
Posts:
1,090
Plugin Contributions:
0

Re: OK CSS Guru's

Here is the code for the div in the paypal box :

$content =

'<div "class="sideBoxContent">

And in info pages it's :

$content = '<div class="sideBoxContent">';

And the information sidebox isn't even being over written at the moment, so it's using the default :lamo: :lamo: :lamo:

When the world gets in my face I say Have A Nice Day.

26 Nov 2006, 11:04 PM
#12
tinas avatar

tinas

Totally Zenned

Join Date:
Jan 2005
Location:
Lake Havasu, AZ
Posts:
1,090
Plugin Contributions:
0

Re: OK CSS Guru's

FIXED !

Thanks Clyde and Website Rob !!!

When the world gets in my face I say Have A Nice Day.

26 Nov 2006, 11:28 PM
#13
website_rob avatar

website_rob

Inactive

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

Re: OK CSS Guru's

class="sideBoxContent" is defined in 'includes/templates/*/sideboxes/tpl_ezpages.php', if using EZpages.

  • means either template_default dir. or your custom dir. if using one.

Just noticed you fixed your problem. Good for you, Tina, and you're welcome for the help.
Will leave the post as is though, since it might help someone down the road.

The learning is in the doing.

Potent Products

26 Nov 2006, 11:45 PM
#14
clydejones avatar

clydejones

Deceased

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

Re: OK CSS Guru's

Glad to be of help.

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

26 Nov 2006, 11:57 PM
#15
website_rob avatar

website_rob

Inactive

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

Re: OK CSS Guru's

Still got one small error, Tina.

#navBreadCrumb {
width: 90%;
color: fff;
}

Should be using: color:#fff;

The learning is in the doing.

Potent Products

27 Nov 2006, 12:01 AM
#16
tinas avatar

tinas

Totally Zenned

Join Date:
Jan 2005
Location:
Lake Havasu, AZ
Posts:
1,090
Plugin Contributions:
0

Re: OK CSS Guru's

Good Eye ! Thanks Rob :)

When the world gets in my face I say Have A Nice Day.

27 Nov 2006, 9:09 PM
#17
website_rob avatar

website_rob

Inactive

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

Re: OK CSS Guru's

In following up on this thread I see the site [lakecountrygiftshop.com] is now offline?
Don't tell me all that hard work has been for nought? :shocking:

The learning is in the doing.

Potent Products

27 Nov 2006, 9:13 PM
#18
tinas avatar

tinas

Totally Zenned

Join Date:
Jan 2005
Location:
Lake Havasu, AZ
Posts:
1,090
Plugin Contributions:
0

Re: OK CSS Guru's

maybe a temporary thing ? It's there now.

When the world gets in my face I say Have A Nice Day.

27 Nov 2006, 9:25 PM
#19
website_rob avatar

website_rob

Inactive

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

Re: OK CSS Guru's

You are correct.

What were the odds I would be checking when the Server was not available? Me thinks I should buy a Lottery Ticket today. :wink2:

The learning is in the doing.

Potent Products

29 Nov 2006, 11:37 PM
#20
opentrees avatar

opentrees

New Zenner

Join Date:
May 2005
Location:
Oakland, CA
Posts:
27
Plugin Contributions:
0

Re: OK CSS Guru's

TinaS,

Can you post your fix for the rest of us? I have a similar problem.