I’m trying to get a print only style sheet to work. The problem I’m having is with my border I can’t get it to “turn off”. Sorry about posting all my code here. I’m at work and external FTP is not allowed. Any help is appreciated.
Tom
[B]HTML Page:
[CODE]<html>
<head>
<title>BPM – WBI Modeler Learnign Hub – HomePage</title>
<meta name=”keywords” content=”WBI Modeler, WBI, WBI Home, BPM, Modeler”>
<meta name=”title” content=”WBI Modeler Learnign Hub”>
<meta name=”comments” content=”WBI Modeler Learnign Hub HomePage.”>
<link rel=stylesheet href=”/styles/sitestyles_all.css” type=”text/css”>
<link rel=”stylesheet” type=”text/css” media=”print” href=”include/print.css”>
<script language=”JavaScript” type=”text/JavaScript”>
<!–
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName==”Netscape”)&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//–>
</script>
<meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-1″>
<link href=”/iss-edu/include/footer.css” rel=”stylesheet” type=”text/css”>
<link href=”/iss/bpm/include/bpm.css” rel=”stylesheet” type=”text/css”>
</head>
<body bgcolor=”#FFFFFF” link=”#000099″ vlink=”#000099″>
<div id=”header”>
<!–#include virtual=”/include/rd_subheader.htm”–>
</div>
<div id=”content”>
<div id=”logo”>
<object classid=”clsid:D27CDB6E-AE6D-11cf-96B8-444553540000″ codebase=”http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0″ width=”748″ height=”100″>
<param name=”movie” value=”/iss/bpm/logo/llogo3.swf”>
<param name=”quality” value=”high”>
<embed src=”/iss/bpm/logo/llogo3.swf” width=”748″ height=”100″ quality=”high” pluginspage=”http://www.macromedia.com/go/getflashplayer” type=”application/x-shockwave-flash”></embed>
</object>
</div>
<div id=”body”>testing to see what’s going on here.</div>
<div id=”footer”>
<!–#include virtual=”/include/hf_footer.htm”–>
</div>
<div id=”contact”>
<!–#include virtual=”include/bpm_content_footer.htm” –>
<div align=”center” class=”contentowner”>Content last reviewed: 3/3/2004</div>
</div>
</div>
</body>
</html>
[B]bmp.css
[CODE]#footer {
margin-top: -20px;
margin-bottom: -15px;
}
#content {
width: 760px;
}
#logo {
border: 6px solid #B8E25E;
}
#body {
border-top: 0px;
border-right: 6px solid #B8E25E;
border-bottom: 6px solid #B8E25E;
border-left: 6px solid #B8E25E;
}
[B]print.css
[CODE]#header, #footer {
display: none;
}
#content {
width: 100%;
}
#logo {
border: 0px;
}
#body {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 24pt;
font-weight: bold;
border: 0px;
}