How to hide Common boarder content via print.css

J

jnm

How can I avoid the content of

<meta name="Microsoft Border" content="b, default">

is printed, when printing by means of

<link rel="stylesheet" href="../print.css" type="text/css" media="print" />

I expect it to be possible with som script in the print.css????


The following code is an example my page

Thanks in advance

Joergen


<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252" />
<meta http-equiv="Content-Language" content="en-us" />
<meta name="GENERATOR" content="Microsoft FrontPage 4.0" />
<meta name="ProgId" content="FrontPage.Editor.Document" />
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="Cache-Control" content="no-store" />
<title>Page template</title>
<link rel="stylesheet" href="../body.css" type="text/css" />

<link rel="stylesheet" href="../print.css" type="text/css" media="print" />


<script type="text/javascript">
function SetCorners() {
LR.style.left = document.body.scrollLeft + document.body.clientWidth -
LR.width;
LR.style.top = document.body.scrollTop + document.body.clientHeight -
LR.height;
}
</script>
<meta http-equiv="imagetoolbar" content="false" />

<meta name="Microsoft Border" content="b, default">

</head>
<body onLoad="SetCorners()" onResize="SetCorners()" onScroll="SetCorners()">
<a href="javascript:scroll(0,0)"><img id="LR"
src="../images/system/Piloprod-tr.gif" border="0"
style="position: absolute; left.2; top:4" width="23" height="36" alt="To
top of page" /></a>
<center>
<div id="indhold">
<h6>Page template (Name of page, H6)</h6>
<p>It is of major importance to evaluate this in depth in order to ensure
that
Rimadan understand the issue and&nbsp;
</p>
<h2>Page bottom</h2>
</div>
</center>
&nbsp;</body>
</html>
 
T

Thomas 'PointedEars' Lahn

jnm said:
How can I avoid the content of

<meta name="Microsoft Border" content="b, default">

This is HTML code.
is printed, when printing by means of

<link rel="stylesheet" href="../print.css" type="text/css"
media="print" />
^
This is XHTML code, as indicated by the XML NET delimiter "/". You MUST
decide which markup language you want to use in one document. Since
Internet Explorer does not support XHTML, and is not supposed to support
it in the foreseeable future, the choice is usually an easy one.

I expect it to be possible with som script in the print.css????

Apparently you do, due to complete lack of a minimum clue. CSS code is
not J(ava)Script code (two of the ECMAScript-conforming programming
languages discussed here), it is Cascading Style Sheets (formatting and
layout language, discussed elsewhere). Please get informed before you
post.

The content of `meta' elements should not be printed in the first place
(since they do not belong to the rendered document content), but maybe
the following CSS declaration in print.css helps:

meta {
display: none;
}

Further questions about CSS should be asked in the newsgroup

news:comp.infosystems.www.authoring.stylesheets
(click to subscribe)

Questions about HTML/XHTML should be asked in

news:comp.infosystems.www.authoring.html


HTH & HAND

PointedEars
 
J

jnm

Thomas 'PointedEars' Lahn said:
The content of `meta' elements should not be printed in the first place
(since they do not belong to the rendered document content), but maybe
the following CSS declaration in print.css helps:

meta {
display: none;
}

I tried your suggestion, but it does not influence the printing of the
navbar controlled by the meta tag.

I have asked the question different places, but not yet found a sloution.
I am using the AllWebsMenu to create my nav bar. Works fine.
The navbar is called from all pages on my site by means of the <meta
name="Microsoft Border......>.
The file calling the navbar is actaully a html file which FrontPage puts in
a hidden folder _border.

I know that the question might be out of the focus for this group, however I
gave it a try.

regards

Jorgen
 
V

VK

jnm said:
I have asked the question different places, but not yet found a sloution.
I am using the AllWebsMenu to create my nav bar. Works fine.
The navbar is called from all pages on my site by means of the <meta
name="Microsoft Border......>.
The file calling the navbar is actaully a html file which FrontPage puts in
a hidden folder _border.

I know that the question might be out of the focus for this group, however I
gave it a try.

"Microsoft Border" is a *very* specific template approach used in
FrontPage extensions. In you case it refers to file
//_borders/default.html (or .asp) which content has to be added to a
automatically created single-cell table under the main page content
("b" stays from "botton"). Therefore you need to find the relevant file
and see what elements/classes you have to set to display:none in your
print.css

It is really out of topic of any CSS or scripting newsgroup. You should
try your luck in support.microsoft.com or
microsoft.public.frontpage.programming
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,022
Latest member
MaybelleMa

Latest Threads

Top