- This topic has 22 replies, 3 voices, and was last updated 16 years, 1 month ago by imported_Ryan.
-
AuthorPosts
-
October 17, 2008 at 3:56 am #3928imported_RyanMember
It seems that the resetting of that background isn’t correctible later. So to get around it, you can’t specify background:transparent on a LI via a general reset.
Below is a new reset.css file which keeps everything identical to how it was before, but removes [b:1kboafzf]only[/b:1kboafzf] the background:transparent from the LI tags.
[code:1kboafzf]/* http://meyerweb.com/eric/tools/css/reset/ */
/* 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,
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;
}
li {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-size: 100%;
vertical-align: baseline;
}
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;
}[/code:1kboafzf]I’ve tested this in IE6, IE7, IE8, FF3, Opera, Chrome and it seems to be working fine.
Sorry for not picking up on the problem earlier. I have a bad feeling I was looking at the wrong site when I left my earlier comment ” title=”Sad” />
October 17, 2008 at 8:04 am #3929grd_eggsMemberThanks Ryan for keeping this posted. Will check back again in the AM.
October 17, 2008 at 8:10 am #3930imported_RyanMemberEr, did I make it clear that I have already solved the problem already?
You just need to replace the reset.css file with the one above.
October 17, 2008 at 11:05 am #3931imported_RyanMemberI received your email and have replied to it. Hopefully it actually gets through this time!
October 17, 2008 at 4:03 pm #3932grd_eggsMemberRyan, I tried to add: "#suckerfishnav li {background:none}"
but it didn’t work yet…October 17, 2008 at 8:02 pm #3933imported_RyanMemberHi,
I guess I haven’t explained this very well. The answer was in my post at the top of this page.[b:27wndeda]New explanation:[/b:27wndeda]
There is a file in your theme called reset.css, it is that file which is causing the problem. Open it in a text editor, then replace the contents with the following code (which is almost identical, but doesn’t apply background:transparent to the LI tags).[code:27wndeda]
/* http://meyerweb.com/eric/tools/css/reset/ */
/* 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,
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;
}
li {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-size: 100%;
vertical-align: baseline;
}
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;
}
[/code:27wndeda]October 19, 2008 at 6:23 am #3934grd_eggsMemberI apologize, but I failed to see the "2nd" page on this thread since the number was a small font, I missed it…
That is why I couldn’t see your replies after a few comments.I have removed the background: transparent from reset.css and it works now.
You have exceeded my expectations again.
Thank you again for your help!October 19, 2008 at 6:36 am #3935imported_RyanMemberAh, that explains it! I couldn’t understand why you kept emailing and posting here asking for help when I’d already answered it.
Hopefully you got it done in time. I recall you saying you needed it done by Saturday (or I’m confused with someone else – which is possible).
-
AuthorPosts
- You must be logged in to reply to this topic.