Zen Cart Logo
Forums / General Questions / Sidebox style changing on sub pages

Sidebox style changing on sub pages

Locked

Views: 751

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
14 Aug 2010, 5:40 PM
#1
congerman avatar

congerman

Zen Follower

Join Date:
Oct 2008
Posts:
392
Plugin Contributions:
0

Sidebox style changing on sub pages

Hi, I have installed editable sidebox mod and blank sidebox mod. They both ave the same content and preview correctly on the shop home page. When you click to go to the product page the styling is missing. Have I missed something in the html?
Site is here

14 Aug 2010, 5:50 PM
#2
congerman avatar

congerman

Zen Follower

Join Date:
Oct 2008
Posts:
392
Plugin Contributions:
0

Re: Sidebox style changing on sub pages

also in ie7 the menu tabs are nice and tight and in firefox, chrome and ie8 there seems to be some serious spacing issues

15 Aug 2010, 10:59 AM
#3
congerman avatar

congerman

Zen Follower

Join Date:
Oct 2008
Posts:
392
Plugin Contributions:
0

Re: Sidebox style changing on sub pages

Anyone?

15 Aug 2010, 11:59 AM
#4
congerman avatar

congerman

Zen Follower

Join Date:
Oct 2008
Posts:
392
Plugin Contributions:
0

Re: Sidebox style changing on sub pages

Ok, latest is that the styles are now working cross browser but there are still huge gaps between the menu items in firefox and ie8. Not sure where to pad or margin to sort it. If I take the <p> out of the html the style will not work at all but the space dissapears.

15 Aug 2010, 6:17 PM
#5
congerman avatar

congerman

Zen Follower

Join Date:
Oct 2008
Posts:
392
Plugin Contributions:
0

Re: Sidebox style changing on sub pages

Gap fixed in ie8 by placing <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"> in html_header.php now how to get it right in firefox?

20 Aug 2010, 9:31 AM
#6
congerman avatar

congerman

Zen Follower

Join Date:
Oct 2008
Posts:
392
Plugin Contributions:
0

Re: Sidebox style changing on sub pages

Sucess, It seems that even firefox has a built in way of trying to interperate what you want. I found reset css that appears to make all browsers work within the confines of your css. My basic problem was that I had css buttons that would only work within a <p tag and then firefox was seeing this as a paragraph and adding a space between my buttons which was not actually there. I placed the following at the top of my style sheet and now every browser seems to read / interperate the code correctly

/* v1.0 | 20080212 */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-size: 100%;
/vertical-align: baseline;
background: transparent;
/
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}

/* remember to define focus styles! */
:focus {
outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
text-decoration: none;
}
del {
text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
border-collapse: collapse;
border-spacing: 0;
}