473,416 Members | 1,703 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,416 software developers and data experts.

How to hide Common boarder content via print.css

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>

Mar 16 '06 #1
3 1885
jnm wrote:
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.

<URL:http://validator.w3.org/>
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
Mar 18 '06 #2
jnm

"Thomas 'PointedEars' Lahn" <Po*********@web.de> skrev i en meddelelse
news:29****************@PointedEars.de...

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
Mar 18 '06 #3
VK

jnm wrote:
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

Mar 18 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: The Eeediot | last post by:
I've got a silly question for the group. I have an DataGrid that displays its information inside a panel... Well, actually it's a MultiPage object. I have a boader around the MultiPage object but...
3
by: Paul Welter | last post by:
I'm building a MDI application that has child forms. I'm trying to find a way to hide the inner boarder of the child frame area. Setting the FormBoarderStyle of the child form has no effect. ...
3
by: News | last post by:
img { border-color: WHITE; border: 10px; } I read that if I do the above there will be a boarder on all four sides of the IMAGE and that the boarder will be white. This does not work. What am...
11
by: C.W.Holeman II | last post by:
I what to hide an input element and the following text. I have the selector for the input working and just need to grab the text following it. CSS: form{ display:table; text-align:center; }
3
by: deciacco | last post by:
I'm trying to write a label printing SDI app with a small preview on the main form itself. Every time I run the InvalidatePreview event on the preview control to redraw the preview I get the...
47
by: SOLAV | last post by:
This is the only working way to completely hide your JavaScript code from the client just like PHP or ASP code. Here we'll need the help of PHP. Here is the code: index.php...
10
by: Paolo | last post by:
Hi at all I'ld want to hide a tag during display on screen and I want to show the tag when I print the page. I try: <td style="display:none"> or
8
by: Zhang Weiwu | last post by:
hello. Is it possible to design CSS in the way that content in <inputare not visible in print out (a.k.a. value of <inputnot visible) while the border remain visible? trial: input {...
6
Markus
by: Markus | last post by:
Things to discuss: Headers What are they? What does PHP have to do with headers? Why can they only be sent before any output? Common causes
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.