[Novalug] difference between browsers

Mackenzie Morgan macoafi@gmail.com
Wed Dec 31 10:06:04 EST 2008


On Wed, 2008-12-31 at 09:36 -0500, Nino Pereira wrote:
> a question for your html experts out there....
*snip*

>   <LINK REL=StyleSheet HREF="pqe.css" TITLE="PQE">

Don't you mean CSS experts?  Having *just* the HTML without the CSS is
probably why your offline experiments don't work.  Here's their CSS
file:

<STYLE TYPE="text/css">
<!--

body {
	background-color: #FFFFFF;
}

a:link {color: #0000ee;}
a:visited {color: #663366;}

a:hover.left {
	color: #0000FF;
	background: #ccccff;
}
a:active.left {color: #FF0000;}
a.left {
	text-decoration: none
}
td.left {
	background-color: #8ce3e6;
	padding-left: 0.5em
}
-->
</STYLE>

Now, there are two problems with this.  First, it looks like they tried
to use HTML comments in a CSS file.  CSS uses C-style comments (they
go /* comment */).  I don't *think* that should break anything.  Second,
the <style> tags are *only* to be used for inline CSS.  Since they are
using an external CSS file, it should break.  Usually the way I've seen
this happen is that the first stanza  is ignored.  That'd be the body{}
stanza.

There are no color codes in here that would represent magenta.  There's
bright red for active links, purple for visited ones, and the light-blue
background for the navbar.

With the body{} stanza (where the background is set to white) being
ignored, that'd leave the background unset.  So, do you have a
userstyle.css by any chance set to a magenta background in Opera? 

-- 
Mackenzie Morgan
http://ubuntulinuxtipstricks.blogspot.com
apt-get moo

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <https://lists.firemountain.net/pipermail/novalug/attachments/20081231/9a628230/attachment.asc>


More information about the Novalug mailing list