473,473 Members | 1,584 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Print+CSS

21 New Member
hi to all

how to use media="Print" in style sheets.pl give me some information on this egards.

thank u
Nov 1 '07 #1
1 1244
TAL651
20 New Member
hi to all

how to use media="Print" in style sheets.pl give me some information on this egards.

thank u
When you are creating your stylesheets, be sure to include a value for media. For instance, say that you had two stylesheets, one for the web and one for print. Your link to these stylesheets would look like this:

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

<link rel="stylesheet" type="text/css" href="print.css" media="print" />
Nov 2 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

24
by: Rhino | last post by:
I am dabbling with print CSS for the first time and I need some guidance. The web pages on my site look fine - to my untrained eye - when displayed on the monitor in any of the standard browsers....
9
by: Rhino | last post by:
How hard (and desireable) would it be to give the user certain choices when it comes to printing web pages? The pages on my site use colours and pictures and contain an imbedded menu, among...
0
by: saileshr | last post by:
Hi, I have a table section on a flat HTML page with a print button below it. When i hit that button, I wanna use print.css to print only that table contents, but if someone uses the File > Print...
3
by: jnm | last post by:
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"...
2
by: Jeremy Clulow | last post by:
Hi, I've designed a site at http://www.welsh-kitchens.com When all styles are disabled it looks like this http://www.welsh-kitchens.com/index-nocss.shtml I've tried creating a printing...
2
by: Smokey Grindle | last post by:
Is there a way to add a print media css style to a theme? so i can have it like this <link rel="stylesheet" type="text/css" media="print" href="print.css" /> instead of just a normal css style...
11
by: VivD | last post by:
Hi All When I print preview using Firefox it skips a large chunk of data and starts displaying halfway down the page. The print preview is fine in IE6. My site uses tables - I am wondering if...
4
by: william.oram | last post by:
alt.html pointed me here, so... I have two CSS files for print and screen. In screen.css: ..screen { font-weight:bold; font-size:12px; }
1
by: bobob | last post by:
Hi, I am new to CSS, but I am having difficulty trying to get everything to print inside a scrolling .div The site I am working on is: www.aquameridian.com/dan/copper And the .print css has...
3
by: rajkumarpb | last post by:
Hi friends, I am new to this forum...But not for programming...I want a Print CSS File to be added in my page..OK.... Here is the page and i want you friends to help me create the CSS File...
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
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,...
0
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...
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,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
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...
0
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 ...
0
muto222
php
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.