incmeister
Programmer
I am having a tough time getting my multiple styles to work in Netscape. I finally was able to get the first couple working. I have to make sure I have different CSS in IE and Netscape (not to mention check for mac). This is my code to check:
<LINK href="../sermons-net.css" rel=stylesheet type=text/css>
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
<!--
// DEFINE CONSTANTS
var BASE = "var PLATFORM = navigator.appVersion.toLowerCase();
var CLIENT = navigator.appName.toLowerCase();
var VERSION = parseInt (navigator.appVersion);
// ALTERNATE STYLESHEETS
if (CLIENT != "netscape" document.write('<LINK REL="stylesheet" HREF="' + BASE + '/sermons.css" TYPE="text/css">');
if ((PLATFORM.indexOf("mac" != -1) && ! (CLIENT != "netscape" && VERSION > 4)) document.write('<LINK REL="stylesheet" HREF="' + BASE + '/sermons-mac.css" TYPE="text/css">');
-->
</script>
...
This is where the problem comes in:
My "a href" is the same in both Netscape & IE,
<TR>
<TD rowSpan=13 valign="top" width="154" bgcolor="#000066">
<p align="center"><a href="../2002/02sermons.htm"><img border="0" src="../images/back-white.gif" align="center" width="68" height="25" alt="back to sermons page"></a>
</p>
<p>
<div class="10whitebold" align="left">
<a class="10whitebold" href=" border="0" src="../images/videobtn.gif" align="left" width="30" height="30" alt="Play Video">Play Video</a></div>
//the above works fine.
Problem: comes out with dark blue font instead of white 8pt.
<div class="8white">Real Video SureStream</div><br><br>
...
Do I need to convert these to:
<a href="" class="8white">Real Video...
to get these to work?
Here is the .8white in my sermons-net.css:
.8white { color:#ffffff; font-size:08pt; font-family:sans-serif, arial, helvetica; text-decoration:none; }
Will it show okay on a mac?
Any input is appreciated!
Thanks -
Cindy
<LINK href="../sermons-net.css" rel=stylesheet type=text/css>
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
<!--
// DEFINE CONSTANTS
var BASE = "var PLATFORM = navigator.appVersion.toLowerCase();
var CLIENT = navigator.appName.toLowerCase();
var VERSION = parseInt (navigator.appVersion);
// ALTERNATE STYLESHEETS
if (CLIENT != "netscape" document.write('<LINK REL="stylesheet" HREF="' + BASE + '/sermons.css" TYPE="text/css">');
if ((PLATFORM.indexOf("mac" != -1) && ! (CLIENT != "netscape" && VERSION > 4)) document.write('<LINK REL="stylesheet" HREF="' + BASE + '/sermons-mac.css" TYPE="text/css">');
-->
</script>
...
This is where the problem comes in:
My "a href" is the same in both Netscape & IE,
<TR>
<TD rowSpan=13 valign="top" width="154" bgcolor="#000066">
<p align="center"><a href="../2002/02sermons.htm"><img border="0" src="../images/back-white.gif" align="center" width="68" height="25" alt="back to sermons page"></a>
</p>
<p>
<div class="10whitebold" align="left">
<a class="10whitebold" href=" border="0" src="../images/videobtn.gif" align="left" width="30" height="30" alt="Play Video">Play Video</a></div>
//the above works fine.
Problem: comes out with dark blue font instead of white 8pt.
<div class="8white">Real Video SureStream</div><br><br>
...
Do I need to convert these to:
<a href="" class="8white">Real Video...
to get these to work?
Here is the .8white in my sermons-net.css:
.8white { color:#ffffff; font-size:08pt; font-family:sans-serif, arial, helvetica; text-decoration:none; }
Will it show okay on a mac?
Any input is appreciated!
Thanks -
Cindy