473,583 Members | 4,428 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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="Micros oft FrontPage 4.0" />
<meta name="ProgId" content="FrontP age.Editor.Docu ment" />
<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.s crollLeft + document.body.c lientWidth -
LR.width;
LR.style.top = document.body.s crollTop + document.body.c lientHeight -
LR.height;
}
</script>
<meta http-equiv="imagetoo lbar" content="false" />

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

</head>
<body onLoad="SetCorn ers()" onResize="SetCo rners()" onScroll="SetCo rners()">
<a href="javascrip t: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 1897
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.or g/>
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.infos ystems.www.authoring.stylesheets
(click to subscribe)

Questions about HTML/XHTML should be asked in

news:comp.infos ystems.www.authoring.html
HTH & HAND

PointedEars
Mar 18 '06 #2
jnm

"Thomas 'PointedEars' Lahn" <Po*********@we b.de> skrev i en meddelelse
news:29******** ********@Pointe dEars.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.microso ft.com or
microsoft.publi c.frontpage.pro gramming

Mar 18 '06 #4

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

Similar topics

0
1055
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 when the DataGrid extends past the width of the web browser the top boarder ends at the edge of the browser window. How can I get to boarder to...
3
8388
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. Also, when the parent form's FormBoarderStyle is set to nothing, then the child form is maximized, I get the minimize and maximize buttons at the top...
3
1987
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 I doing incorrectly?
11
19195
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
8820
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 "Generating Previews" dialog box while the preview is being generated. I want to suppress this. I've been able to find this from another forum: "The...
47
65298
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 ________________________________________________________ <?PHP @session_start(); //Start our session. if(@!session_is_registered('PrintTheJavaScript')){ //If the...
10
2484
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
3612
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 { border: thin solid black;
6
11476
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
0
7825
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8179
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8323
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7933
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8191
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6578
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
3816
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
2331
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1431
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.