Impression d'un DIV
- the_Maven
- Graduate


- Inscription: Fév 02, 2004
- Messages: 196
- Status: Offline
C'est une autre question, je suis pour le moment. Je développe un site pour un projet de classe avec un scrollable div sur chaque page. Sur l'une des pages les choses dans le contenu div (<div id="content">) est très long. Je me demandais s'il y avait un moyen d'imprimer seulement la div. Ceci est une émanation de l'iframe le problème et était confronté à l'heure, mais les iframes ne sont pas admis dans XHTML. Im donc en utilisant les div. Si elle fait une différence, je ne suis pas en utilisant la propriété z-index dans la feuille de style pour le contenu div.
Merci pour toute aide dans ce sens.
maven
Merci pour toute aide dans ce sens.
maven
- Anonymous
- Bot


- Inscription: 25 Feb 2008
- Messages: ?
- Loc: Ozzuland
- Status: Online
Octobre 7th, 2004, 10:16 am
- neksus
- Mastermind


- Inscription: Sep 10, 2004
- Messages: 2194
- Loc: Canada
- Status: Offline
- digitalMedia
- a.k.a. dM


- Inscription: Déc 29, 2003
- Messages: 5169
- Loc: SC-USA
- Status: Offline
- the_Maven
- Graduate


- Inscription: Fév 02, 2004
- Messages: 196
- Status: Offline
- digitalMedia
- a.k.a. dM


- Inscription: Déc 29, 2003
- Messages: 5169
- Loc: SC-USA
- Status: Offline
- the_Maven
- Graduate


- Inscription: Fév 02, 2004
- Messages: 196
- Status: Offline
Hey DigitalMedia, L'autre fois je viens de lait écrémé à travers elle. Je l'ai lu ce moment et je pense que je obtenir ce que vous dites maintenant. sur la page que vous avez porté à mon attention il ya cet exemple:
Alors, si je voulais imprimer celle que je ferais ce div...?
Question cependant: même si le style de la div (sur l'écran) est déjà réglé dans une autre règle sur la feuille de style, ce que je dois déplacer la mise en forme à la règle @ media? < ! - S:) ->
Code: [ Select ]
@media print {
body { font-size: 10pt }
}
@media screen {
body { font-size: 13px }
}
@media screen, print {
body { line-height: 1.2 }
}
body { font-size: 10pt }
}
@media screen {
body { font-size: 13px }
}
@media screen, print {
body { line-height: 1.2 }
}
- @media print {
- body { font-size: 10pt }
- }
- @media screen {
- body { font-size: 13px }
- }
- @media screen, print {
- body { line-height: 1.2 }
- }
Alors, si je voulais imprimer celle que je ferais ce div...?
Code: [ Select ]
@media print {
#content { font-size: 10pt }
}
@media screen {
#content { font-size: 13px }
}
@media screen, print {
#content { line-height: 1.2 }
}
#content { font-size: 10pt }
}
@media screen {
#content { font-size: 13px }
}
@media screen, print {
#content { line-height: 1.2 }
}
- @media print {
- #content { font-size: 10pt }
- }
- @media screen {
- #content { font-size: 13px }
- }
- @media screen, print {
- #content { line-height: 1.2 }
- }
Question cependant: même si le style de la div (sur l'écran) est déjà réglé dans une autre règle sur la feuille de style, ce que je dois déplacer la mise en forme à la règle @ media? < ! - S:) ->
- digitalMedia
- a.k.a. dM


- Inscription: Déc 29, 2003
- Messages: 5169
- Loc: SC-USA
- Status: Offline
Je pense que c'est un peu difficile la première fois, vous allez traverser. Qu'est-ce Ive fait est mis en place et un exemple pour vous.
Heres Ive le code utilisé:
...et ici vous pouvez le voir en action:
http://www.chriscarney.com/cleanMe/CSSMedia/HTML401.htm
Vous ne devriez avoir à utiliser la fonction «Aperçu avant impression" la fonction dans votre navigateur pour voir travailler.
Pour être honnête, ma tête n'est pas vraiment dans le jeu ce matin, donc, s'il vous plaît, l'ours avec moi.
Avec dans chaque section, ou section combinée, le truc est d'avoir des homologues pour chaque partie de la définition. Donc, Ive a défini mon #sélecteur de gauche à display: none; int la section d'impression. Dans ma section écran, j'ai besoin d'avoir un affichage de la contrepartie: block;.
Pour le sélecteur de corps, Ive juste réutilisé la même définition, bien que j'aurais pu utiliser une section de façon combinée (@ media screen, print) pour les définitions qui s'appliquent aux deux.
En utilisant cette technique, vous devriez être en mesure d'appliquer un certain nombre de définitions à votre CSS, à la fois pour l'écran et la presse écrite.
Does this help? Si ce n'est pas, permet de garder cette conversation. C'est une fonctionnalité de CSS que je reçois très excités, ayant travaillé dans des atmosphères d'entreprise où tout est imprimé.
Heres Ive le code utilisé:
Code: [ Select ]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Only Print the "center" DIV</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style>
@media print
{
body{font-family:georgia,times,sans-serif;}
#left{display:none;}
#center{display:block;}
#right{display:none;}
}
@media screen
{
body{font-family:arial,verdana,sans-serif;}
#left{display:block;margin:20px;}
#center{display:block;margin:20px;}
#right{display:block;margin:20px;}
}
</style></head>
<body>
<div id="left">
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exercitation ulliam corper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem veleum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel willum lunombro dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio. </div>
<div id="center">
Li Europan lingues es membres del sam familie. Lor separat existentie es un myth. Por scientie, musica, sport etc., li tot Europa usa li sam vocabularium. Li lingues differe solmen in li grammatica, li pronunciation e li plu commun vocabules. Omnicos directe al desirabilitá de un nov lingua franca: on refusa continuar payar custosi traductores. It solmen va esser necessi far uniform grammatica, pronunciation e plu sommun paroles. </div>
<div id="right">
Ma quande lingues coalesce, li grammatica del resultant lingue es plu simplic e regulari quam ti del coalescent lingues. Li nov lingua franca va esser plu simplic e regulari quam li existent Europan lingues. It va esser tam simplic quam Occidental: in fact, it va esser Occidental. A un Angleso it va semblar un simplificat Angles, quam un skeptic Cambridge amico dit me que Occidental es.</div></body></html>
<html>
<head>
<title>Only Print the "center" DIV</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style>
@media print
{
body{font-family:georgia,times,sans-serif;}
#left{display:none;}
#center{display:block;}
#right{display:none;}
}
@media screen
{
body{font-family:arial,verdana,sans-serif;}
#left{display:block;margin:20px;}
#center{display:block;margin:20px;}
#right{display:block;margin:20px;}
}
</style></head>
<body>
<div id="left">
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exercitation ulliam corper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem veleum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel willum lunombro dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio. </div>
<div id="center">
Li Europan lingues es membres del sam familie. Lor separat existentie es un myth. Por scientie, musica, sport etc., li tot Europa usa li sam vocabularium. Li lingues differe solmen in li grammatica, li pronunciation e li plu commun vocabules. Omnicos directe al desirabilitá de un nov lingua franca: on refusa continuar payar custosi traductores. It solmen va esser necessi far uniform grammatica, pronunciation e plu sommun paroles. </div>
<div id="right">
Ma quande lingues coalesce, li grammatica del resultant lingue es plu simplic e regulari quam ti del coalescent lingues. Li nov lingua franca va esser plu simplic e regulari quam li existent Europan lingues. It va esser tam simplic quam Occidental: in fact, it va esser Occidental. A un Angleso it va semblar un simplificat Angles, quam un skeptic Cambridge amico dit me que Occidental es.</div></body></html>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
- <html>
- <head>
- <title>Only Print the "center" DIV</title>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <style>
- @media print
- {
- body{font-family:georgia,times,sans-serif;}
- #left{display:none;}
- #center{display:block;}
- #right{display:none;}
- }
- @media screen
- {
- body{font-family:arial,verdana,sans-serif;}
- #left{display:block;margin:20px;}
- #center{display:block;margin:20px;}
- #right{display:block;margin:20px;}
- }
- </style></head>
- <body>
- <div id="left">
- Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exercitation ulliam corper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem veleum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel willum lunombro dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio. </div>
- <div id="center">
- Li Europan lingues es membres del sam familie. Lor separat existentie es un myth. Por scientie, musica, sport etc., li tot Europa usa li sam vocabularium. Li lingues differe solmen in li grammatica, li pronunciation e li plu commun vocabules. Omnicos directe al desirabilitá de un nov lingua franca: on refusa continuar payar custosi traductores. It solmen va esser necessi far uniform grammatica, pronunciation e plu sommun paroles. </div>
- <div id="right">
- Ma quande lingues coalesce, li grammatica del resultant lingue es plu simplic e regulari quam ti del coalescent lingues. Li nov lingua franca va esser plu simplic e regulari quam li existent Europan lingues. It va esser tam simplic quam Occidental: in fact, it va esser Occidental. A un Angleso it va semblar un simplificat Angles, quam un skeptic Cambridge amico dit me que Occidental es.</div></body></html>
...et ici vous pouvez le voir en action:
http://www.chriscarney.com/cleanMe/CSSMedia/HTML401.htm
Vous ne devriez avoir à utiliser la fonction «Aperçu avant impression" la fonction dans votre navigateur pour voir travailler.
Pour être honnête, ma tête n'est pas vraiment dans le jeu ce matin, donc, s'il vous plaît, l'ours avec moi.
Avec dans chaque section, ou section combinée, le truc est d'avoir des homologues pour chaque partie de la définition. Donc, Ive a défini mon #sélecteur de gauche à display: none; int la section d'impression. Dans ma section écran, j'ai besoin d'avoir un affichage de la contrepartie: block;.
Pour le sélecteur de corps, Ive juste réutilisé la même définition, bien que j'aurais pu utiliser une section de façon combinée (@ media screen, print) pour les définitions qui s'appliquent aux deux.
En utilisant cette technique, vous devriez être en mesure d'appliquer un certain nombre de définitions à votre CSS, à la fois pour l'écran et la presse écrite.
Does this help? Si ce n'est pas, permet de garder cette conversation. C'est une fonctionnalité de CSS que je reçois très excités, ayant travaillé dans des atmosphères d'entreprise où tout est imprimé.
- dM
- the_Maven
- Graduate


- Inscription: Fév 02, 2004
- Messages: 196
- Status: Offline
Ok c'est ce que je suis la compréhension:
afin de déterminer quelle partie de la page doit être imprimé, vous devez définir quels sont les éléments de la page ne doit pas être imprimé?
la div me concerne, c'est dans un td cellule. ne serait-il utile que je l'ai montré comment le tableau a été mis en place?
afin de déterminer quelle partie de la page doit être imprimé, vous devez définir quels sont les éléments de la page ne doit pas être imprimé?
la div me concerne, c'est dans un td cellule. ne serait-il utile que je l'ai montré comment le tableau a été mis en place?
- digitalMedia
- a.k.a. dM


- Inscription: Déc 29, 2003
- Messages: 5169
- Loc: SC-USA
- Status: Offline
- the_Maven
- Graduate


- Inscription: Fév 02, 2004
- Messages: 196
- Status: Offline
vous devrez faire défiler vers le bas un peu pour arriver à l'im div parle. Il est placé sous le texte en gras
Code: [ Select ]
<body><div><br /><table><tr><td class="top" colspan="2">
<a href="http://www.ces.ncsu.edu/" onmouseover="window.status='North Carolina Community Extension Home';return true"
onmouseout="window.status='';"><img alt="North Carolina Community Extension Home" src="images/ces1.gif" width="518" height="115"
class="logo" /></a><a href="http://www.co.guilford.nc.us/" onmouseover="window.status='Guilford County Home Page';return true"
onmouseout="window.status='';"><img alt="Guilford County Home Page" class="county" src="images/guilford.gif" /></a></td></tr>
<tr><td class="headbar" colspan="2"><span class="text">
<a onmouseover="window.status='Guilford County Center Home';return true" onmouseout="window.status='';"
href="index.html">Guilford</a> ¦
<a onmouseover="window.status='Guilford County Center Home';return true" onmouseout="window.status='';" href="index.html">
Plan of Work 2004</a></span><span class="date"><script type="text/javascript" src="scripts/date.js"></script> </span></td></tr>
<tr><td class="menu" rowspan="2">
<div class="button" onmouseover="this.style.backgroundColor='#ffffff'; window.status='Guilford County Center Home';return true"
onmouseout="this.style.backgroundColor='#0099ff'; window.status='';">
<a href="index.html" style="text-decoration:none">guilford home</a></div>
<div class="button" onmouseover="this.style.backgroundColor='#ffffff'; window.status='See what events are coming soon!';return true"
onmouseout="this.style.backgroundColor='#0099ff'; window.status='';"><a style="text-decoration:none" href=
"http://www.ces.ncsu.edu/Events/search.php?range_choice=thismonth&audience=e&reach=c-41&program_area=All&lrp=All&s=&Submit=Search">
event calendar</a></div>
<div class="button" onmouseover="this.style.backgroundColor='#ffffff'; window.status='See our current weather forecast';return true"
onmouseout="this.style.backgroundColor='#0099ff'; window.status='';">
<a href="http://www.w3.weather.com/weather/local/USNC0280?from=search_city" style="text-decoration:none">local weather</a></div>
<div class="button" onmouseover="this.style.backgroundColor='#ffffff'; window.status='Meet our faculty members';return true"
onmouseout="this.style.backgroundColor='#0099ff'; window.status='';">
<a href="staff/staff.html" style="text-decoration:none">faculty & staff</a></div>
<div class="button" onmouseover="this.style.backgroundColor='#ffffff'; window.status='Read our newsletters';return true"
onmouseout="this.style.backgroundColor='#0099ff'; window.status='';">
<a href="newsletters/news.html" style="text-decoration:none">ces newsletters</a></div>
<div class="button" onmouseover="this.style.backgroundColor='#ffffff'; window.status='Guilford County Plan of Work 2004';return true"
onmouseout="this.style.backgroundColor='#0099ff'; window.status='';">
<a href="pow.html" style="text-decoration:none">plan of work</a></div>
<div class="button" onmouseover="this.style.backgroundColor='#ffffff'; window.status='Family Activities, 4-H, and more';return true"
onmouseout="this.style.backgroundColor='#0099ff'; window.status='';">
<a href="family/family.html" style="text-decoration:none">family & youth</a></div>
<div class="button" onmouseover="this.style.backgroundColor='#ffffff'; window.status='Gardening Home';return true"
onmouseout="this.style.backgroundColor='#0099ff'; window.status='';">
<a href="garden/garden.html" style="text-decoration:none">gardening home</a></div>
<div class="button" onmouseover="this.style.backgroundColor='#ffffff'; window.status='Horticulture Home';return true"
onmouseout="this.style.backgroundColor='#0099ff'; window.status='';">
<a href="horticulture/horticulture.html" style="text-decoration:none">horticulture home</a></div>
<div class="button" onmouseover="this.style.backgroundColor='#ffffff'; window.status='Links of Interest';return true"
onmouseout="this.style.backgroundColor='#0099ff'; window.status='';">
<a href="links.html" style="text-decoration:none">important links</a></div>
</td><td class="main">
<b>HERE IS THE DIV</b>
<div id="content"><hr /><span class="subhead">Guilford County Plan of Work – January 1, 2004</span><hr />
<span class="subhead">executive summary</span><br />
As part of the eleven-county Piedmont Triad region, Guilford County is centered along the piedmont industrial crescent stretching from
Raleigh to Charlotte. With a population of 421,000, Guilford County is ranked third in the state. Major cities include Greensboro
(224,000) and High Point (86,000). The public school system serves 60,000 students, along with eight colleges, universities and a
community college system that serve a total of 29,000 students. The county's traditional employment base of textiles, apparel and
furniture has diversified greatly in the last fifty years. Capital investment of over $l.2 billion by new and expanding firms created
27,000 new jobs in the past ten years. An excellent transportation infrastructure, including two interstate highways, Piedmont Triad
International Airport and available rail and truck service, has helped to solidify the county's position as a major distribution and
transportation center in the Southeast.<br />
Agriculture continues to be an integral part of Guilford County, creating a blend of urban and rural. The 2002 Agricultural income for the
county was ,472,594. Top commodities include field crops, nursery and greenhouse operations, livestock, and horses. The nursery and
greenhouse industry is a rapidly growing industry which alone represents almost 50 million dollars. Farmers continue to look at a
alternative choices in order to diversify along with the traditional means of conducting business.
Each member of the Guilford County staff conducted an environmental scan which provided an overall summary of needs that should be
addressed. Means of achieving this information included: surveys posted on our website, 1809 surveys mailed/faxed/emailed or
hand-delivered to the public along with sixteen personal interviews.
</div></td></tr></table></div></body>
<a href="http://www.ces.ncsu.edu/" onmouseover="window.status='North Carolina Community Extension Home';return true"
onmouseout="window.status='';"><img alt="North Carolina Community Extension Home" src="images/ces1.gif" width="518" height="115"
class="logo" /></a><a href="http://www.co.guilford.nc.us/" onmouseover="window.status='Guilford County Home Page';return true"
onmouseout="window.status='';"><img alt="Guilford County Home Page" class="county" src="images/guilford.gif" /></a></td></tr>
<tr><td class="headbar" colspan="2"><span class="text">
<a onmouseover="window.status='Guilford County Center Home';return true" onmouseout="window.status='';"
href="index.html">Guilford</a> ¦
<a onmouseover="window.status='Guilford County Center Home';return true" onmouseout="window.status='';" href="index.html">
Plan of Work 2004</a></span><span class="date"><script type="text/javascript" src="scripts/date.js"></script> </span></td></tr>
<tr><td class="menu" rowspan="2">
<div class="button" onmouseover="this.style.backgroundColor='#ffffff'; window.status='Guilford County Center Home';return true"
onmouseout="this.style.backgroundColor='#0099ff'; window.status='';">
<a href="index.html" style="text-decoration:none">guilford home</a></div>
<div class="button" onmouseover="this.style.backgroundColor='#ffffff'; window.status='See what events are coming soon!';return true"
onmouseout="this.style.backgroundColor='#0099ff'; window.status='';"><a style="text-decoration:none" href=
"http://www.ces.ncsu.edu/Events/search.php?range_choice=thismonth&audience=e&reach=c-41&program_area=All&lrp=All&s=&Submit=Search">
event calendar</a></div>
<div class="button" onmouseover="this.style.backgroundColor='#ffffff'; window.status='See our current weather forecast';return true"
onmouseout="this.style.backgroundColor='#0099ff'; window.status='';">
<a href="http://www.w3.weather.com/weather/local/USNC0280?from=search_city" style="text-decoration:none">local weather</a></div>
<div class="button" onmouseover="this.style.backgroundColor='#ffffff'; window.status='Meet our faculty members';return true"
onmouseout="this.style.backgroundColor='#0099ff'; window.status='';">
<a href="staff/staff.html" style="text-decoration:none">faculty & staff</a></div>
<div class="button" onmouseover="this.style.backgroundColor='#ffffff'; window.status='Read our newsletters';return true"
onmouseout="this.style.backgroundColor='#0099ff'; window.status='';">
<a href="newsletters/news.html" style="text-decoration:none">ces newsletters</a></div>
<div class="button" onmouseover="this.style.backgroundColor='#ffffff'; window.status='Guilford County Plan of Work 2004';return true"
onmouseout="this.style.backgroundColor='#0099ff'; window.status='';">
<a href="pow.html" style="text-decoration:none">plan of work</a></div>
<div class="button" onmouseover="this.style.backgroundColor='#ffffff'; window.status='Family Activities, 4-H, and more';return true"
onmouseout="this.style.backgroundColor='#0099ff'; window.status='';">
<a href="family/family.html" style="text-decoration:none">family & youth</a></div>
<div class="button" onmouseover="this.style.backgroundColor='#ffffff'; window.status='Gardening Home';return true"
onmouseout="this.style.backgroundColor='#0099ff'; window.status='';">
<a href="garden/garden.html" style="text-decoration:none">gardening home</a></div>
<div class="button" onmouseover="this.style.backgroundColor='#ffffff'; window.status='Horticulture Home';return true"
onmouseout="this.style.backgroundColor='#0099ff'; window.status='';">
<a href="horticulture/horticulture.html" style="text-decoration:none">horticulture home</a></div>
<div class="button" onmouseover="this.style.backgroundColor='#ffffff'; window.status='Links of Interest';return true"
onmouseout="this.style.backgroundColor='#0099ff'; window.status='';">
<a href="links.html" style="text-decoration:none">important links</a></div>
</td><td class="main">
<b>HERE IS THE DIV</b>
<div id="content"><hr /><span class="subhead">Guilford County Plan of Work – January 1, 2004</span><hr />
<span class="subhead">executive summary</span><br />
As part of the eleven-county Piedmont Triad region, Guilford County is centered along the piedmont industrial crescent stretching from
Raleigh to Charlotte. With a population of 421,000, Guilford County is ranked third in the state. Major cities include Greensboro
(224,000) and High Point (86,000). The public school system serves 60,000 students, along with eight colleges, universities and a
community college system that serve a total of 29,000 students. The county's traditional employment base of textiles, apparel and
furniture has diversified greatly in the last fifty years. Capital investment of over $l.2 billion by new and expanding firms created
27,000 new jobs in the past ten years. An excellent transportation infrastructure, including two interstate highways, Piedmont Triad
International Airport and available rail and truck service, has helped to solidify the county's position as a major distribution and
transportation center in the Southeast.<br />
Agriculture continues to be an integral part of Guilford County, creating a blend of urban and rural. The 2002 Agricultural income for the
county was ,472,594. Top commodities include field crops, nursery and greenhouse operations, livestock, and horses. The nursery and
greenhouse industry is a rapidly growing industry which alone represents almost 50 million dollars. Farmers continue to look at a
alternative choices in order to diversify along with the traditional means of conducting business.
Each member of the Guilford County staff conducted an environmental scan which provided an overall summary of needs that should be
addressed. Means of achieving this information included: surveys posted on our website, 1809 surveys mailed/faxed/emailed or
hand-delivered to the public along with sixteen personal interviews.
</div></td></tr></table></div></body>
- <body><div><br /><table><tr><td class="top" colspan="2">
- <a href="http://www.ces.ncsu.edu/" onmouseover="window.status='North Carolina Community Extension Home';return true"
- onmouseout="window.status='';"><img alt="North Carolina Community Extension Home" src="images/ces1.gif" width="518" height="115"
- class="logo" /></a><a href="http://www.co.guilford.nc.us/" onmouseover="window.status='Guilford County Home Page';return true"
- onmouseout="window.status='';"><img alt="Guilford County Home Page" class="county" src="images/guilford.gif" /></a></td></tr>
- <tr><td class="headbar" colspan="2"><span class="text">
- <a onmouseover="window.status='Guilford County Center Home';return true" onmouseout="window.status='';"
- href="index.html">Guilford</a> ¦
- <a onmouseover="window.status='Guilford County Center Home';return true" onmouseout="window.status='';" href="index.html">
- Plan of Work 2004</a></span><span class="date"><script type="text/javascript" src="scripts/date.js"></script> </span></td></tr>
- <tr><td class="menu" rowspan="2">
- <div class="button" onmouseover="this.style.backgroundColor='#ffffff'; window.status='Guilford County Center Home';return true"
- onmouseout="this.style.backgroundColor='#0099ff'; window.status='';">
- <a href="index.html" style="text-decoration:none">guilford home</a></div>
- <div class="button" onmouseover="this.style.backgroundColor='#ffffff'; window.status='See what events are coming soon!';return true"
- onmouseout="this.style.backgroundColor='#0099ff'; window.status='';"><a style="text-decoration:none" href=
- "http://www.ces.ncsu.edu/Events/search.php?range_choice=thismonth&audience=e&reach=c-41&program_area=All&lrp=All&s=&Submit=Search">
- event calendar</a></div>
- <div class="button" onmouseover="this.style.backgroundColor='#ffffff'; window.status='See our current weather forecast';return true"
- onmouseout="this.style.backgroundColor='#0099ff'; window.status='';">
- <a href="http://www.w3.weather.com/weather/local/USNC0280?from=search_city" style="text-decoration:none">local weather</a></div>
- <div class="button" onmouseover="this.style.backgroundColor='#ffffff'; window.status='Meet our faculty members';return true"
- onmouseout="this.style.backgroundColor='#0099ff'; window.status='';">
- <a href="staff/staff.html" style="text-decoration:none">faculty & staff</a></div>
- <div class="button" onmouseover="this.style.backgroundColor='#ffffff'; window.status='Read our newsletters';return true"
- onmouseout="this.style.backgroundColor='#0099ff'; window.status='';">
- <a href="newsletters/news.html" style="text-decoration:none">ces newsletters</a></div>
- <div class="button" onmouseover="this.style.backgroundColor='#ffffff'; window.status='Guilford County Plan of Work 2004';return true"
- onmouseout="this.style.backgroundColor='#0099ff'; window.status='';">
- <a href="pow.html" style="text-decoration:none">plan of work</a></div>
- <div class="button" onmouseover="this.style.backgroundColor='#ffffff'; window.status='Family Activities, 4-H, and more';return true"
- onmouseout="this.style.backgroundColor='#0099ff'; window.status='';">
- <a href="family/family.html" style="text-decoration:none">family & youth</a></div>
- <div class="button" onmouseover="this.style.backgroundColor='#ffffff'; window.status='Gardening Home';return true"
- onmouseout="this.style.backgroundColor='#0099ff'; window.status='';">
- <a href="garden/garden.html" style="text-decoration:none">gardening home</a></div>
- <div class="button" onmouseover="this.style.backgroundColor='#ffffff'; window.status='Horticulture Home';return true"
- onmouseout="this.style.backgroundColor='#0099ff'; window.status='';">
- <a href="horticulture/horticulture.html" style="text-decoration:none">horticulture home</a></div>
- <div class="button" onmouseover="this.style.backgroundColor='#ffffff'; window.status='Links of Interest';return true"
- onmouseout="this.style.backgroundColor='#0099ff'; window.status='';">
- <a href="links.html" style="text-decoration:none">important links</a></div>
- </td><td class="main">
- <b>HERE IS THE DIV</b>
- <div id="content"><hr /><span class="subhead">Guilford County Plan of Work – January 1, 2004</span><hr />
- <span class="subhead">executive summary</span><br />
- As part of the eleven-county Piedmont Triad region, Guilford County is centered along the piedmont industrial crescent stretching from
- Raleigh to Charlotte. With a population of 421,000, Guilford County is ranked third in the state. Major cities include Greensboro
- (224,000) and High Point (86,000). The public school system serves 60,000 students, along with eight colleges, universities and a
- community college system that serve a total of 29,000 students. The county's traditional employment base of textiles, apparel and
- furniture has diversified greatly in the last fifty years. Capital investment of over $l.2 billion by new and expanding firms created
- 27,000 new jobs in the past ten years. An excellent transportation infrastructure, including two interstate highways, Piedmont Triad
- International Airport and available rail and truck service, has helped to solidify the county's position as a major distribution and
- transportation center in the Southeast.<br />
- Agriculture continues to be an integral part of Guilford County, creating a blend of urban and rural. The 2002 Agricultural income for the
- county was ,472,594. Top commodities include field crops, nursery and greenhouse operations, livestock, and horses. The nursery and
- greenhouse industry is a rapidly growing industry which alone represents almost 50 million dollars. Farmers continue to look at a
- alternative choices in order to diversify along with the traditional means of conducting business.
- Each member of the Guilford County staff conducted an environmental scan which provided an overall summary of needs that should be
- addressed. Means of achieving this information included: surveys posted on our website, 1809 surveys mailed/faxed/emailed or
- hand-delivered to the public along with sixteen personal interviews.
- </div></td></tr></table></div></body>
- hashim
- Born


- Inscription: Nov 06, 2006
- Messages: 1
- Loc: India
- Status: Offline
Salut. Je suis face à la même question que "the_Maven" et mon exemple de code est similaire à ce qui est affiché ci-dessus.
Permettez-moi d'expliquer le problème, je suis confrontée:
J'ai l'intérieur de certains éléments DIV, et j'ai un bouton Imprimer au bas de la page.when je clique sur le bouton "Imprimer", il doit imprimer seulement le contenu de la DIV et pas une autre partie de la page.
J'ai visité le lien mantioned:
http://www.w3.org/TR/2003/WD-CSS21-2003 ... media-rule
mais je ne suis pas très sûr de savoir comment la mettre en œuvre, comme je ne suis pas l'aise avec les styles.
J'ai vraiment apppreciate aucune orientation sur ce point.
Merci d'avance
Hashim
Permettez-moi d'expliquer le problème, je suis confrontée:
J'ai l'intérieur de certains éléments DIV, et j'ai un bouton Imprimer au bas de la page.when je clique sur le bouton "Imprimer", il doit imprimer seulement le contenu de la DIV et pas une autre partie de la page.
J'ai visité le lien mantioned:
http://www.w3.org/TR/2003/WD-CSS21-2003 ... media-rule
mais je ne suis pas très sûr de savoir comment la mettre en œuvre, comme je ne suis pas l'aise avec les styles.
J'ai vraiment apppreciate aucune orientation sur ce point.
Merci d'avance
Hashim
- metalfury
- Born


- Inscription: Juil 01, 2010
- Messages: 1
- Status: Offline
Page 1 sur 1
Pour répondre à ce sujet, vous devez vous connecter ou vous enregistrer. Il est gratuit.
Afficher de l'information
- Total des messages de ce sujet: 12 messages
- Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 224 invités
- Vous ne pouvez pas poster de nouveaux sujets
- Vous ne pouvez pas répondre aux sujets
- Vous ne pouvez pas éditer vos messages
- Vous ne pouvez pas supprimer vos messages
- Vous ne pouvez pas joindre des fichiers
