XSLT with CSS

How can I include a CSS file in with my XSL file. I have tried placing it in a processing instruction with the output as HTML but had no success. Below is the code snippet I used.
<?xml version="1.0" encoding='ISO-8859-1'?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output encoding='ISO-8859-1' method="html"/>
<!-- Root template -->
<xsl:template match="/">
<xsl:processing-instruction name="xml-stylesheet">
href=NursingDoc.css" type="text/css"
</xsl:processing-instruction>
- Brian

For your reference:
<xsl:template match="/">
<!-- HTML File Header -->
<html>
<head>
<title><xsl:value-of select="page/@title"/></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<link rel="stylesheet" href="js/blafdoc.css"/>
<script type="text/javascript" src="js/standard.js"></script>
</head>
....

Similar Messages

  • I have xml files with css. IE displays them correctly but FF 4 does not. How can I fix this?

    I try to use FF for everything but this is the one thing I can't get it to do and I hate to have IE as my only choice for viewing these files correctly.
    They are for school, but I would still like to use them for websites I design.

    I will also try there but this isn't just a web design problem.
    XML files are used a lot and when formatted with CSS or XSLT can usually be viewed like a regular web page. So if I went to a website and they were showing me this file or I upload this file I would like to be able to view it. I know I can open IE and problem solved but I don't want to use it. I thought IE was behind me because FF did everything I needed until now.

  • Problems with CSS Footer Div

    Problems with CSS
    I am building a new page for my company. I am trying to place the Div Footer at the bottom of the screen. I have placed (i believe) the appropriate information for the CSS.
    The problem is when i minimize the browser the Footer section never leaves the screen and hovers over the other div tags. When I shrink the browser to its maximum the divs fall on top of each other.
    What I would like to know is how to make the Footer div below hide like the other divs but remain at the bottom of the page instead of hovering over the other divs. I have read that I should not apply fixed divs.... is that correct?
    I have applied to the current CSS to the below web page: http://trbla.com/sample.html
    #rhythm {
    width: 607px;
    margin-top: 300px;
    margin-right: auto;
    margin-left: auto;
    *img {
    border: 0;
    #rhythm #goldr {
    width: 215px;
    float: left;
    border: 0;
    #rhythm #trbnew {
    float: left;
    width: 181px;
    border: 0;
    #rhythm #greyr {
    width: 211px;
    float: left;
    border: 0;
    #nav {
    margin-top: 200px;
    width: 607px;
    margin-right: auto;
    margin-left: auto;
    padding-bottom: 100px;
    clear: both;
    #nav #navonewrap {
    float: left;
    clear: both;
    #nav #navwraptwo {
    float: left;
    width: 175px;
    height: 22px;
    #nav #navwrapthree {
    float: right;
    width: 215px;
    margin-right: -75px;
    #footer {
    bottom: 0px;
    clear: both;
    position: fixed;
    width: 100%;
    #footer #left_footer {
    float: left;
    clear: left;
    overflow: hidden;
    #footer #r_footer {
    float: right;
    Thanks for anyones help thus far,
    Rhythm

    I think it's the way I'm doing the conditional statement.
    'Went through another knowledge-base article that basically had me
    incorporate the conditional attribute into the <xsl:for-each
    select= . . .> statement and it appears to be a better way. I
    also created a xslt fragment and inserted it into a php page rather
    than making the whole thing xslt. I think this helps as well, but
    can't absolutely close the book on this until the server is
    properly configured to transform xslt in php pages.
    Here's the latest
    http://cals.arizona.edu/arizonawet/workshops/current_workshops-trial2.php

  • Problem with CSS in page I have written [SOLVED]

    There is a php page I have created at work which works fine with Firefox 3.6.
    In one specific page Firefox 4 does not show correctly a table with CSS.
    I tried to remove the css and just have the table with no styling but the problem persists.
    the php file is this:
    <pre><nowiki><html>
    <head>
    <title>Pending Issues Close Case</title>
    <style type="text/css">
    #blinking {text-decoration: blink; text-align:left; color:#FF0000;}
    body {
    background-image:url('on2.jpg');
    background-repeat:no-repeat;
    background-position:700 50;
    background-attachment:fixed;
    #efms
    font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
    border-collapse:collapse;
    #efms td, #efms th
    font-size:1em;
    border:1px solid #98bf21;
    padding:3px 7px 2px 7px;
    #efms th
    font-size:1.1em;
    text-align:left;
    padding-top:5px;
    padding-bottom:4px;
    background-color:#A7C942;
    color:#ffffff;
    #efms tr.alt td
    color:#000000;
    background-color:#EAF2D3;
    </style>
    <link rel="stylesheet" type="text/css" media="all" href="jsDatePick_ltr.min.css" />
    <script type="text/javascript" src="jsDatePick.min.1.3.js"></script>
    <script type="text/javascript">
    window.onload = function(){
    new JsDatePick({
    useMode:2,
    target:"date_of_problem",
    dateFormat:"%Y-%m-%d"
    new JsDatePick({
    useMode:2,
    target:"closed_date",
    dateFormat:"%Y-%m-%d"
    function checkEmpty() {
    var date_of_problem = document.save_entries.date_of_problem.value;
    var hour_of_problem = document.save_entries.hour_of_problem.value;
    var min_of_problem = document.save_entries.min_of_problem.value;
    var reported_to = document.save_entries.reported_to.value;
    var problem_description = document.save_entries.problem_description.value;
    var close = document.save_entries.close.value;
    var closed_date = document.save_entries.closed_date.value;
    var closed_hour = document.save_entries.closed_hour.value;
    var closed_min = document.save_entries.closed_min.value;
    var ok = "true";
    var why = "";
    var ok2 = "true";
    var tmp1 = date_of_problem.split("-");
    var date1 = new Date(tmp1[0], tmp1[1], tmp1[2], hour_of_problem, min_of_problem);
    var tmp2 = closed_date.split("-");
    var date2 = new Date(tmp2[0], tmp2[1], tmp2[2], closed_hour, closed_min);
    if (date_of_problem.length == 0) {
    ok = "false";
    why += "Date of problem is empty\n";
    if (reported_to.length == 0) {
    ok = "false";
    why += "Reported to is empty\n";
    if (problem_description.length == 0) {
    ok = "false";
    why += "Problem description is empty\n";
    if (closed_date.length == 0 && close == "Yes") {
    ok = "false";
    why += "Closed date is empty\n";
    if (date2 < date1) {
    ok = "false";
    why +="Closed date cannot be earlier than problem date\n";
    if (ok == "true") {
    return true;
    else {
    alert(why);
    return false;
    </script>
    </head>
    <body>
    <?php
    session_start();
    if (!isset($_SESSION['pending_user'])){
    header("location:main_login.php");
    if ($_GET['entry'] == "" || $_GET['entry'] == NULL)
    header("location:view_entries.php");
    $id = $_GET['entry'];
    function get_entry($id) {
    $mysql_host = "localhost";
    $mysql_user = "portal";
    $mysql_pass = "portal";
    $db_name = "pending_issues";
    $entries_table = "entries";
    mysql_connect("$mysql_host", "$mysql_user", "$mysql_pass") or die("cannot connect to DB" . mysql_error());
    mysql_select_db("$db_name")or die("cannot select DB" . mysql_error());
    mysql_query("set names 'utf8'")or die("fook!" . mysql_error());
    $entry_query = "SELECT * FROM $entries_table WHERE id='$id'";
    $entry_data = mysql_query($entry_query) or die("Cannot execute query");
    $entry_row = mysql_fetch_array($entry_data) or die("Cannot fetch row");
    $date_of_problem = $entry_row['date_of_problem'];
    $time_of_problem = $entry_row['time_of_problem'];
    $hour_of_problem = strtok($time_of_problem, ":");
    $min_of_problem = strtok(":");
    $resp_technician =$entry_row['resp_technician'];
    $reported_to = $entry_row['reported_to'];
    $description = $entry_row['problem_description'];
    $closed_date = $entry_row['closed_date'];
    $closed_time = $entry_row['closed_time'];
    $closed_hour = strtok($closed_time, ":");
    $closed_min = strtok(":");
    $closed_by = $_SESSION['pending_user'];
    echo '<h2><font color="#A7C942">Welcome, ' . $_SESSION['pending_user'] . '</font></h2>';
    echo '<table id="efms">';
    echo '<tr class="alt">';
    echo '<td>';
    echo '<br><a href=index.php>Home</a><br><br>';
    echo '</td>';
    echo '<td>';
    echo '<br><a href=view_entries.php>View entries</a><br><br>';
    echo '</td>';
    echo '<td>';
    echo '<a align="center" href="logout.php">Log out</a><br>';
    echo '</td>';
    echo '</tr>';
    echo '</table>';
    echo '<br>';
    echo '<form name="save_entries" action="save_entries.php" method="post" onSubmit="return checkEmpty();"';
    echo '<table id="efms">';
    echo '<tr>';
    echo '<th>';
    echo 'Problem date';
    echo '</th>';
    echo '<td>';
    echo '<input id="date_of_problem" name="date_of_problem" type="text" value="' . $date_of_problem . '">';
    echo '<input type="hidden" name="entry" value="' . $id . '">';
    echo '</td>';
    echo '</tr>';
    echo '<tr>';
    echo '<th>';
    echo 'Problem time';
    echo '</th>';
    echo '<td>';
    //echo '<input name="time\_of\_problem" type="text" value="' . $time_of_problem . '">';
    echo_hour($hour_of_problem, "hour_of_problem");
    echo ":";
    echo_min($min_of_problem, "min_of_problem");
    echo '</td>';
    echo '</tr>';
    echo_reported_to($reported_to);
    echo '<tr>';
    echo '<th>';
    echo 'Problem description';
    echo '</th>';
    echo '<td>';
    echo '<textarea name="problem_description" rows="5" cols="40">' . $description . '</textarea>';
    echo '</td>';
    echo '</tr>';
    echo '<tr>';
    echo '<th>';
    echo 'Closed date';
    echo '</th>';
    echo '<td>';
    echo '<input name="closed_date" id="closed_date" type="text" value="' . $closed_date . '">&nbsp;';
    echo 'Close case?&nbsp;';
    echo '<select name="close">';
    echo '<option>Yes</option>';
    echo '<option>No</option>';
    echo '</select>';
    echo '</td>';
    echo '</tr>';
    echo '<tr>';
    echo '<th>';
    echo 'Closed time';
    echo '</th>';
    echo '<td>';
    echo_hour($closed_hour, "closed_hour");
    echo ":";
    echo_min($closed_min, "closed_min");
    echo '</td>';
    echo '</tr>';
    //~ echo '<tr>';
    //~ echo '<th>';
    //~ echo 'Closed by';
    //~ echo '</th>';
    //~ echo '<td>';
    //~ echo '<input id="resolve_date" name="resolve_date" type="text" value="' . $closed_by . '">';
    //~ echo '</td>';
    //~ echo '</tr>';
    echo '<tr>';
    echo '<th>';
    echo 'Submit';
    echo '</th>';
    echo '<td>';
    echo '<input name ="submit" type="submit">';
    echo '</td>';
    echo '</tr>';
    echo '</table>';
    echo '</form>';
    mysql_close();
    function echo_hour($hour, $name) {
    echo '<select name="' . $name . '">';
    for ($i = 0; $i < 24; $i++) {
    if ($i < 10)
    $temp_hour = "0" . $i;
    else
    $temp_hour = $i;
    if ($hour != $temp_hour)
    echo '<option>' . $temp_hour . '</option>';
    if ($hour == $temp_hour)
    echo '<option selected>' . $temp_hour . '</option>';
    echo '</select>';
    function echo_min($min, $name) {
    echo '<select name="' . $name . '">';
    for ($i = 0; $i < 60; $i++) {
    if ($i < 10)
    $temp_min = "0" . $i;
    else
    $temp_min = $i;
    if ($min != $temp_min)
    echo '<option>' . $temp_min . '</option>';
    if ($min == $temp_min)
    echo '<option selected>' . $temp_min . '</option>';
    echo '</select>';
    function echo_reported_to($reported_to) {
    echo '<tr>';
    echo '<th>';
    echo 'Reported to';
    echo '</th>';
    echo '<td>';
    //echo '<select name="reported_to" value="' . $reported_to . '">';
    echo '<select name="reported_to">';
    if ($reported_to == "IT") {
    echo '<option selected>IT</option>';
    echo '<option>NetEng</option>';
    echo '<option>VTT</option>';
    echo '<option>NOC</option>';
    if ($reported_to == "NetEng") {
    echo '<option>IT</option>';
    echo '<option selected>NetEng</option>';
    echo '<option>VTT</option>';
    echo '<option>NOC</option>';
    if ($reported_to == "VTT") {
    echo '<option>IT</option>';
    echo '<option>NetEng</option>';
    echo '<option selected>VTT</option>';
    echo '<option>NOC</option>';
    if ($reported_to == "NOC") {
    echo '<option>IT</option>';
    echo '<option>NetEng</option>';
    echo '<option>VTT</option>';
    echo '<option selected>NOC</option>';
    echo '</select>';
    echo '</td>';
    echo '</tr>';
    get_entry($id);
    ?>
    </body>
    </html>
    </nowiki></pre>
    <br />
    The problem is for the table in line 188.
    it should look like this:
    http://img571.imageshack.us/img571/5183/shouldlooklike.png
    but instead it looks like this:
    http://img860.imageshack.us/img860/323/lookslikethis.png
    The same problem appears in IE.
    Thank you,

    Please do not consider my previous post as I found out that it was a coding error, a forgotten ">"
    Thank you.

  • Problem with css processing in Firefox8 on Win7.

    Hi guys. I have a problem with css processing in Firefox8 on Win7. I need to make div which width and left css properties should be dynamically changed. Inside this div i have an swf object. When i change width and left css styles for my div, it jumps on the page, but other browsers render that well. What can you suggest to fix this problem? Thanks

    A good place to ask advice about web development is at the mozillaZine Web Development/Standards Evangelism forum.<br />
    The helpers at that forum are more knowledgeable about web development issues.<br />
    You need to register at the mozillaZine forum site in order to post at that forum.<br />
    See http://forums.mozillazine.org/viewforum.php?f=25

  • Using templates with css in mx

    Hi,
    I'm sure I'm being stupid but it's driving me insane - I'm
    weaning myself off table based layout and using css (for the first
    time) in mx. I'm (finally) happy with my stylesheet and how it's
    all looking but can't seem to use css with a template - when I save
    the page as a template and preview the style sheet does not seem to
    be attached.
    Any help MUCH appreciated,
    Katy

    > Good to know about mx as I was thinking about upgrading
    to 8 - does it
    > make
    > like easier with css?
    Very definitely!
    Good grief - your stylesheet is ... big. Usually so many
    custom classes
    mean that the stylesheet is WAY overengineered.....
    I'll take a look though.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "katyoj" <[email protected]> wrote in
    message
    news:[email protected]...
    > Thanks -
    >
    > I've uploaded it here :
    >
    >
    >
    http://kateortonjohnson.bulldoghome.com/pages/kateortonjohnson_bulldoghome_com/i
    > ndex.html
    > & have attached the style sheet to the message
    >
    > Good to know about mx as I was thinking about upgrading
    to 8 - does it
    > make
    > like easier with css?
    >
    > Anyway thanks again
    >
    > Kate
    >
    > /* CSS Document */
    >
    > BODY {
    > margin:0px;
    > padding:0px;
    > font-family: arial, helvetica, sans-serif;
    > font-size: 11px;
    > color: #000;
    > background: #FFF;
    > }
    >
    > /* Link properties */
    >
    > A:link {
    > color: #333;
    > text-decoration: none;
    >
    > }
    >
    > A:visited {
    > color: #913c87;
    > text-decoration: none;
    >
    > }
    >
    > A:active {
    > color: #913c87;
    > text-decoration: none;
    >
    > }
    >
    > A:hover {
    > color: #913c87;
    > text-decoration: none;
    >
    > }
    >
    > /* Main text headings */
    >
    > h1
    > {font-family: tahoma, Arial, Helvetica, sans-serif;
    > font-size:11px;
    > color:#333;
    > text-decoration:none;
    > font-weight:bold;
    > margin:3px 5px 5px 3px;}
    >
    > h2
    > {font-family: tahoma, Arial, Helvetica,
    sans-serif;font-size:11px;
    > color:#154669;
    > text-decoration:none;
    > font-weight:bold;
    > margin:0px 5px 5px 3px;
    > padding:5px 0px 0px 5px;}
    >
    > h3
    > {font-family: tahoma, Arial, Helvetica, sans-serif;
    > font-size:11px;
    > color:#525E6A;
    > text-decoration:none;
    > font-weight:bold;
    > margin:5px 5px 5px 3px;
    > text-align:right;
    > }
    >
    > /* Footer text */
    >
    > .footertext {
    > font-family: tahoma, Arial, Helvetica, sans-serif;
    > margin:0px;padding:15px 0px 5px 0px;
    > font-size:10px;
    > color:#666;
    > }
    >
    > /* Titles */
    >
    > .t3 {
    > font-family:tahoma, Arial, Helvetica, sans-serif;
    > font-size:20px;
    > color:#154669;
    > text-decoration:none;
    > font-weight:bold;
    > }
    > .t2 {
    > font-family: tahoma, Arial, Helvetica, sans-serif;
    > font-size:14px;
    > color:#96968A;
    > text-decoration:none;
    > font-weight:bold;
    > }
    >
    > /* Main body */
    >
    > .maincontent {
    > border-top-style
    otted;
    > border-top-width:1px;
    > border-top-color:#989898;
    > margin:3px 10px 30px 0px;
    > padding:0px 10px 5px 10px;
    > font-family: arial, helvetica, sans-serif;
    > font-size: 11px;
    > color:#333;
    >
    > } .maincontent img {float:left;margin:5px 5px 5px 0px;}
    >
    > .maincontent2 {
    > border-top-style
    otted;
    > border-top-width:1px;
    > border-top-color:#989898;
    > margin:3px 220px 0px 0px;
    > padding:0px 10px 5px 10px;
    > font-family: arial, helvetica, sans-serif;
    > font-size: 11px;
    > color:#333;
    > }
    >
    > .maincontent2 img {float:right;margin:5px 0px 5px 5px;}
    >
    > .lwrap {
    > width:182px;
    > margin-top:15px;
    > margin-bottom:0px;
    > margin-right:auto;
    > margin-left:auto;
    > padding:0px;
    > }
    >
    >
    > /* Left content */
    >
    > .lcontent {
    > border-left-style:solid;
    > border-left-color:#C5C5C5;
    > border-left-width:5px;
    > width:172px;
    > margin:0px 0px 0px 0px;
    > font-family: Arial, Helvetica,
    sans-serif;font-size:11px;
    > color:#666666;
    > text-decoration:none;
    > text-align:left;
    > font-weight:normal;
    > padding:5px 3px 10px 5px;
    > background-color: #EEE;
    > }
    >
    > .leftshadow {
    > width:182px;
    > height:6px;
    > padding:0px;
    > margin-top:0px;
    >
    > }
    > .leftshadow img {padding:0px;margin:0px;float:right;}
    >
    > .separator {
    > border-top-width:1px;
    > border-top-style
    otted;
    > border-top-color:#989898;
    > margin-right:5px;
    > margin-left:5px;
    > margin-top:10px;
    > }
    >
    > /* News boxes */
    >
    > .newsheader{
    > background-image:url(images/left_subh.gif);
    > background-position:top;
    > background-repeat:no-repeat;
    > width:182px;
    > margin-left:auto; margin-right:auto;
    margin-top:15px;margin-bottom:0px;
    > height:17px;
    > text-align:right;
    > padding:1px 5px 0px 0px;
    > font-family: tahoma, Arial, Helvetica,
    sans-serif;font-size:10px;
    > color:#333;
    > font-weight:bold;
    > }
    > .newscell{
    > background-color:#EEE;
    > width:182px;
    > margin-left:auto; margin-right:auto;
    margin-top:-1px;margin-bottom:0px;
    > min-height:30px;
    > font-family: Arial, Helvetica, sans-serif;
    > font-size:11px;
    > color:#666;
    >
    > }
    >
    > .newscell p {padding:5px 5px 15px 10px;margin-top:0px;}
    >
    > /* Right content */
    >
    > .rcontent {
    > background-color:#EEE;
    > width:168px;
    > margin-left:auto;
    > margin-right:auto;
    > border-left-style:solid;
    > border-left-width:5px;
    > border-left-color:#C5C5C5;
    > min-height:30px;
    > margin-top:18px; margin-bottom:0px;
    > font-family: tahoma, Arial, Helvetica, sans-serif;
    > font-size:10px;
    > color:#666;
    > padding:5px 3px 10px 5px;
    > text-align: left;
    > }
    >
    > .rightshadow {
    > text-align:right;
    > width:168px;
    > height:7px;
    > padding:0px;
    > margin-top:0px;
    > margin-bottom:15px;
    > float:right;
    > }
    > .rightshadow img {padding:0px;margin:0px;float:right;}
    >
    > /* Bullet list */
    >
    > ul {
    > list-style-image:url(images/bullet.gif);
    > list-style-type:none;
    > }
    >
    > p img {margin-left:5px;}
    >
    >
    > #wrap{
    > margin:0px;
    > padding:0px;
    > width:100%;
    > }
    >
    > /* Header section */
    >
    > #header{
    >
    > background:#EEE;
    > margin:0px 0px 0px 0px;
    > font-size: 11px;
    > font-family : Verdana, Arial, Helvetica, sans-serif;
    > color : #000000;
    > border-bottom: solid #C5C5C5;
    > }
    >
    > /* Top navigation */
    >
    > #topnav ul
    > {
    > padding-left: 0;
    > margin-left: 5px;
    > margin:0px 0px 0px 0px;
    > background-color: #913c87;
    > color: White;
    > float: left;
    > width: 100%;
    > font-family: arial, helvetica, sans-serif;
    > font-size: 11px;
    > font-weight: bold;
    > height: 18px;
    > }
    >
    > #topnav ul li { display: inline; }
    >
    > #topnav ul li a
    > {
    > padding: 0.2em 1em;
    > background-color: #913c87;
    > color: White;
    > text-decoration: none;
    > float: left;
    > border-right: 1px solid #EEE;
    > }
    >
    > #topnav ul li a:hover
    > {
    > background-color: #C5C5C5;
    > color: #fff;
    > }
    >
    >
    > /* Left positioning */
    >
    > #left {
    > width:191px;
    > margin:0px 0px 10px 0px;
    > padding:0px 0px 20px 0px;
    > background-color:#EBE8DE;
    > border-right-width:3px;
    > border-bottom-width:3px;
    > border-left-width:5px;
    > border-top-width:0px;
    > border-style:solid;
    > border-right-color:#EFEEEE;
    > border-bottom-color:#EFEEEE;
    > border-left-color:#fff;
    > float:left;
    > min-height:15px;}
    >
    > /* Right positioning */
    >
    > #right {
    > margin-left:196px;
    > background-color:#fff;
    > min-height:30px;
    > text-align:left;
    > padding:10px 10px 15px 15px;
    > min-width:560px;
    >
    > }
    >
    > /* Footer positioning */
    >
    > #footer {
    > background-image:url(images/footer2.gif);
    > height:55px;
    > margin:0px 0px 0px 0px;padding:0px;
    > width:100%;
    > min-width:760px;
    > overflow:hidden;
    > clear:both;
    > }
    >
    > #footer img {padding:0px;margin:0px;float:left;}
    >
    > #footer a {
    > text-decoration:none;}
    >
    > /* Right positioning */
    >
    > #rightcol {
    > width:180px;
    > float:right;
    > min-height:30px;
    > background-color:#fff;
    > margin:0px 0px 0px 20px;
    > padding:0px;
    > text-align:center;
    > }
    > /** BOX3 */
    >
    > #box3 {
    > clear: both;
    > margin-top: 20px;
    > padding: 10px 0px;
    > }
    >
    > #box3A {
    > float: left;
    > width: 200px;
    > padding: 0px 13px 0px 43px;
    > background: url(/csstemplatetts/images/homepage20.gif)
    repeat-y right
    > top;
    > }
    >
    > #box3B {
    > float: left;
    > width: 200px;
    > padding: 0px 50px 0px 11px;
    > }
    >
    > #stretch {width:760px;height:1px;clear:both;margin:0px
    0px 10px
    > 0px;padding:0px;}
    >

  • How to print a html document in landscape mode with css

    Hi ,
    below is my code that i need to print in landscape mode by defualt with css. is there any way to do this
    <html><head><style type="text/css">
    table.automatic {table-layout:fixed; width:100%; border-collapse: collapse; word-wrap:break-word;}TR.head{font-family: verdana; font-size: 10pt; vertical-align: top ; color: #ffffff; background-color: black; font-weight: bold; }TR.data{font-family: verdana; font-size: 8pt; vertical-align: top}</style></head><body><table width="100%" border="0" cellspacing="0" cellpadding="4"><tbody><tr><td></td><td align="center"><font size="2" style="verdana"><b>EMERGENCY ICE Installs by Manager And Production Install Date Range</b></font><br><td></td><table width="100%" border="0" cellspacing="0" cellpadding="4"><thead><tr><td width="74%" align="center"><font size="1" style="verdana"><b>From:</b>09/01/07</font><font size="1" style="verdana"><b>&nbsp&nbspTo:</b>01/08/08</font></td></tr></thead></table></td></tr></tbody></table><br></br>
    <table border="1" class="automatic"><thead><tr class="head"><td width="8%">Manager</td><td width="5%">ICE # </td><td width="10%">Plan Prod Install Date</td><td width="10%">Doc Status</td><td width="10%">Doc Title</td><td width="7%">Owner</td><td width="5%">Risk Desc</td><td width="4%">AS/400</td><td width="4%">Unix</td><td width="4%">Win Srv</td><td width="4%">Win Dsk</td><td width="4%">Vax</td><td width="5%">Target Loc</td><td width="10%">No Chg Risk Desc</td><td width="15%">Brief Chg Desc</td></tr></thead><tbody>
    <tr class="data"><td rowspan="12" width="5%">Randal Hockenberry</td><td width="8%">16926</td><td width="10%">Dec 31,2007</td><td width="10%">Pending Manager-Business Review</td><td width="10%">AUTO APPROVE</td><td width="7%">Padma Chirumalla</td><td width="5%">Low</td><td width="4%">N</td><td width="4%">Y</td><td width="4%">N</td><td width="4%">N</td><td width="4%">N</td><td width="5%">TEST</td><td width="10%">TEST</td><td width="15%">TESTzxdcxvsrfdgdsgfdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff</td></tr>
    <tr class="data"><td width="8%">16933</td><td width="10%">Dec 28,2007</td><td width="10%">Pending Non-QS Testing</td><td width="10%">SR</td><td width="7%">Padma Chirumalla</td><td width="5%">Low</td><td width="4%">N</td><td width="4%">Y</td><td width="4%">N</td><td width="4%">N</td><td width="4%">N</td><td width="5%">XC</td><td width="10%">DFV</td><td width="15%">CX</td></tr>
    <tr class="data"><td width="8%">16927</td><td width="10%">Dec 28,2007</td><td width="10%">Pending Risk Review</td><td width="10%">AUTO APPROVAL TEST</td><td width="7%">Padma Chirumalla</td><td width="5%">Low</td><td width="4%">N</td><td width="4%">Y</td><td width="4%">N</td><td width="4%">N</td><td width="4%">N</td><td width="5%">AUTO</td><td width="10%">AUTO APPROVE</td><td width="15%">AUTO APPROVE</td></tr>
    <tr class="data"><td width="8%">15926</td><td width="10%">Nov 27,2007</td><td width="10%">Pending Code Review</td><td width="10%">CM Install LEVEL 3 QS will test</td><td width="7%">Gary Zhong</td><td width="5%">Low</td><td width="4%">N</td><td width="4%">N</td><td width="4%">Y</td><td width="4%">N</td><td width="4%">Y</td><td width="5%">pitt99</td><td width="10%">testing the app</td><td width="15%">CM Install LEVEL 3 QS will test</td></tr>
    <tr class="data"><td width="8%">15712</td><td width="10%">Nov 22,2007</td><td width="10%">Rejected</td><td width="10%">Test Documentation Request</td><td width="7%">Autumn Priddy</td><td width="5%">Low</td><td width="4%">N</td><td width="4%">N</td><td width="4%">N</td><td width="4%">N</td><td width="4%">N</td><td width="5%">x</td><td width="10%">none</td><td width="15%">run-through for documentation purposes</td></tr>
    <tr class="data"><td width="8%">16029</td><td width="10%">Nov 21,2007</td><td width="10%">Rejected</td><td width="10%">Contractor</td><td width="7%">Padma Chirumalla</td><td width="5%">Low</td><td width="4%">N</td><td width="4%">N</td><td width="4%">N</td><td width="4%">Y</td><td width="4%">N</td><td width="5%">Windows</td><td width="10%">testing</td><td width="15%">Testing</td></tr>
    <tr class="data"><td width="8%">16030</td><td width="10%">Nov 19,2007</td><td width="10%">Rejected</td><td width="10%">Contractor</td><td width="7%">Padma Chirumalla</td><td width="5%">Low</td><td width="4%">N</td><td width="4%">N</td><td width="4%">N</td><td width="4%">Y</td><td width="4%">N</td><td width="5%">Windows</td><td width="10%">testing</td><td width="15%">Testing</td></tr>
    <tr class="data"><td width="8%">15840</td><td width="10%">Nov 10,2007</td><td width="10%">Pending Follow Up Review</td><td width="10%">SMS Install LEVEL 3</td><td width="7%">Stephen Sciullo</td><td width="5%">Low</td><td width="4%">Y</td><td width="4%">N</td><td width="4%">N</td><td width="4%">N</td><td width="4%">Y</td><td width="5%">pitt88</td><td width="10%">system testing</td><td width="15%">SMS Install LEVEL 3</td></tr>
    <tr class="data"><td width="8%">15719</td><td width="10%">Nov 08,2007</td><td width="10%">Pending Test Install</td><td width="10%">CM Install LEVEL 1 pitt3/col3</td><td width="7%">Stephen Sciullo</td><td width="5%">Low</td><td width="4%">N</td><td width="4%">N</td><td width="4%">N</td><td width="4%">N</td><td width="4%">Y</td><td width="5%">pitt88</td><td width="10%">testing</td><td width="15%">testing</td></tr>
    <tr class="data"><td width="8%">14815</td><td width="10%">Nov 03,2007</td><td width="10%">Rejected</td><td width="10%">test</td><td width="7%">Stephen Sciullo</td><td width="5%">Low</td><td width="4%">N</td><td width="4%">N</td><td width="4%">Y</td><td width="4%">Y</td><td width="4%">N</td><td width="5%">pitt2</td><td width="10%">test</td><td width="15%">test</td></tr>
    <tr class="data"><td width="8%">14915</td><td width="10%">Nov 01,2007</td><td width="10%">Pending Follow Up Review</td><td width="10%">Contractor</td><td width="7%">Padma Chirumalla</td><td width="5%">Low</td><td width="4%">N</td><td width="4%">N</td><td width="4%">N</td><td width="4%">Y</td><td width="4%">N</td><td width="5%">windows</td><td width="10%">test</td><td width="15%">Test</td></tr>
    <tr class="data"><td width="8%">14816</td><td width="10%">Oct 31,2007;Nov 01,2007;Nov 02,2007</td><td width="10%">Production Install Complete</td><td width="10%">Contractor</td><td width="7%">Padma Chirumalla</td><td width="5%">Low</td><td width="4%">N</td><td width="4%">N</td><td width="4%">N</td><td width="4%">Y</td><td width="4%">N</td><td width="5%">windows</td><td width="10%">test</td><td width="15%">test</td></tr>
    <tr></tr>
    <tr class="data"><td rowspan="1" width="5%">Linda Humm</td><td width="8%">16034</td><td width="10%">Dec 06,2007</td><td width="10%">Pending Production Install</td><td width="10%">CM Install LEVEL 1 pitt3/col3</td><td width="7%">Randal Hockenberry</td><td width="5%">Low</td><td width="4%">N</td><td width="4%">N</td><td width="4%">N</td><td width="4%">N</td><td width="4%">Y</td><td width="5%">pitt88</td><td width="10%">testing</td><td width="15%">testing</td></tr>
    <tr></tr>
    </tbody></table><body></html>
    Thanks,

    Why are you asking a CSS question in a Java/JSP/JSTL forum? I would rather use a CSS forum for that. That HTML code is unnecessary too. Just post relevant code only, such as that CSS snippet.
    Anyway, it may differ per web browser if this page rule will be picked up and it may also be a client side setting regarding printer settings. Nothing to do here.

  • Chart color change with CSS in DS 1.3

    Hi together,
    Did somebody now a solution with CSS in the design studio 1.3, to change the color from the chart-bar or the chart-pie (like PrintScreen)? Or is this planned in the DS Version 1.4?
    We found only a solution to change this setting for the chart. Not the color of the bar or pie.
    We would like to set this in the CSS because it is a Style guide rule of the company.
    Best Regards
    Gabriel

    Do you mean use CSS for your chart?  See response from David Gyurasz Styling a chart in Design Studio
    If not I recommend searching SCN for your answer - I searched "CSS color design studio chart" and 234 searches were found.

  • DW CS3 and DW CS3 with CSS

    Hello and thanks in advance for your input. Years ago I
    taught myself GoLive and am now making the change to Dreamweaver
    CS3. I purchased it before CS4 was released so will have to upgrade
    later. My question is this: I signed up for the Lynda.com online
    classes to learn CS3 and notice that there are two different
    tutorial categories, CS3 dated 4-07 and CS3 with CSS dated 3-08.
    Are these two different programs? I purchased the design premium
    suite and it lists Dreamweaver as CS3 and does not mention "with
    CSS" in the title. I am not sure which tutorial program to use to
    begin building my website and because it's Sunday they are not open
    today. I am anxious to get started today, so would greatly
    appreciate your insight. Thanks very much.

    Thanks for your reply.
    Yes, they are two different tutorials and from what you
    mention, I am assuming that the more recent tutorial simply focuses
    on utilizing CSS to build the site more effectively than what is
    probably taught with the first tutorial. From what you said, it
    seems like I should first take the CSS tutorial to get the
    foundation of my site as uniform as possible and then perhaps go
    back and study the basic DW CS3 tutorial to help fill in the gaps.
    The reason why I am making such a big deal with asking is
    because I know the laying of the foundation on a site going in is
    so important. Each tutorial is about 11 hours, so I just wanted to
    spend my time efficiently. Thanks for the suggestion of going the
    CSS route first.

  • Importing HTML with CSS in Flash

    I've tried all the tutorials, searched the web for tuts,
    downloaded files and I am still not getting it. So this is what I
    want to do:
    First the names:
    Dynamic text field name: htmwelcome
    HTML file name: welcome.html
    CSS file name: style1.css
    How should the code read to have
    welcome.html load into the dynamic text field
    htmwelcome with CSS style sheet
    style1.css.
    What modifications should be made to
    welcome.html so that the coding does not appear.
    Hope this makes it simple. Be nice if they had a tut that
    started with the names outlined at the beginning then how the code
    should be written and why.

    Have a look at these example files. Its not a tutorial, but it should get you started.
    http://www.ddg-designs.com/downloads/importedTextwithCss.zip

  • Show/Hide Div Layer with CSS (k)

    Is there a way you can control the visibility of a Div Layer
    without
    Javascript? Using CSS perhaps?
    Even though a small percentage doesn't have Javascript
    enabled, I need
    to have something to show. In this case a webpage that has
    button when
    clicked shows a layer.
    Can this be accomplished with CSS?
    -Kirk

    "Thierry" <[email protected]> wrote in message
    news:foqle4$470$[email protected]..
    > fwiw, I don't see an issue with that. I think the user
    would get (fast) a
    > pretty good understanding of how things work.
    > imho, it'd be like saying a flyout menu is buggy because
    once submenus are
    > opened and the user clicks outside of them they close...
    > This is part of UE, I think it's an "expected behavior".
    > As a side note, I don't think this gallery is more
    confusing than a
    > lightbox gallery ;)
    Clicks, to the average user's grasp of conventional wisdom,
    are permanent.
    You click and something happens. We're talking about web
    pages here, not OS
    controls -- so a Windows flyout menu that initializes on
    click, works on
    mouseover, and closes onclick is not necessarily a good
    analogy. I would bet
    a tidy sum that any focus group that did not include web
    designers would,
    consensually, be confused by that page. Moreover, the
    behavior is not the
    same in all browsers.
    > ...and on top of that, it is very keyboard friendly.
    > So it is not *that* bad...
    That's the only good thing - but making a page that works
    well for keyboard
    users at the expense of the rest of the world is not logical.
    But hell, if Kirk likes that technique, he is certainly free
    to use it. I
    was just reading through this forum today and was kind of
    surprised to see
    someone recommending that technique.
    Que sera.
    Al Sparber - PVII
    http://www.projectseven.com
    Extending Dreamweaver - Nav Systems | Galleries | Widgets
    Authors: "42nd Street: Mastering the Art of CSS Design"

  • Designing with CSS in Design View

    Hey guys, I'm working on learning CSS. One problem I'm having
    is that while I'm working on the code, what shows in the design
    view in dreamweaver isn't the same, (not even close), to what it
    looks like in any browser. For example the location of a div will
    be totally different.
    It seems like it would be very hard to design this way. Why
    doesn't dreamweaver attempt to reflect what it looks like in one of
    the browsers. Is this just the way it is when designing with css?
    If so, how the heck do people do it? Do you just have to keep
    previewing the site every time you change the css?
    Using dreamweaver MX
    thanks, mike

    > Using dreamweaver MX
    Sadly, that's the dullest knife in the drawer. Is it DMX6.0
    or 6.1?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "southdaytona" <[email protected]> wrote in
    message
    news:f08qoq$bed$[email protected]..
    > Hey guys, I'm working on learning CSS. One problem I'm
    having is that
    > while
    > I'm working on the code, what shows in the design view
    in dreamweaver
    > isn't the
    > same, (not even close), to what it looks like in any
    browser. For
    > example the
    > location of a div will be totally different.
    >
    > It seems like it would be very hard to design this way.
    Why doesn't
    > dreamweaver attempt to reflect what it looks like in one
    of the browsers.
    > Is
    > this just the way it is when designing with css? If so,
    how the heck do
    > people
    > do it? Do you just have to keep previewing the site
    every time you change
    > the
    > css?
    >
    > Using dreamweaver MX
    >
    > thanks, mike
    >

  • Bg color with css

    I am using a background image and color with css. My image
    looks fine but I can't get the background color I want.
    Here is the code.
    <style type="text/css" title="mystyles"
    media="all">body
    { background-color: #000000;
    background-image: url(../bgimg.jpg);
    color: #5d665b;
    margin-top: 70px;
    margin-left: 120px;
    margin-right: 50px;
    margin-bottom: 70px;
    font-family: Verdana, Geneva, Arial, sans-serif;
    font-size:small;
    line-height: 180% }
    p { text-indent: 3em }
    h3 {color: #966b72; font-family: Georgia, "Times New Roman",
    Times, serif }
    h1 {color: #966b72; font-family: Georgia, "Times New Roman",
    Times, serif }
    </style>
    Thanks for the help.

    Can you provide a link to the site?
    > { background-color: #000000;
    > background-image: url(../bgimg.jpg);
    Are you aware that, without a background-repeat: no-repeat
    rule in the CSS
    rule for the body tag, your background image will tile and
    fill the screen
    so your black background color won't be visible?
    http://www.w3schools.com/css/css_background.asp
    http://www.w3schools.com/css/tryit.asp?filename=trycss_background-repeaty
    http://www.w3schools.com/css/tryit.asp?filename=trycss_background-repeatx
    http://www.w3schools.com/css/tryit.asp?filename=trycss_background-position
    Regards
    John Waller

  • How can I control the FAQ title with CSS when using the Ajax effect

    I am calling the FAQ module with the Ajax effect.
    I would like to set different states with CSS to the title;
    I have tried to use :hover, :active and :focus on the div.
    It would be nice with a different styling when the item is "open"
    (I know there is a problem with the stacking, but I posted that in another thread)
    link

    Hi
    There is one thing You might miss in iDVD - So do I - the ability to re-arrange in the DVD map (block diagram)
    The order things will be pplayed or addrssed is same as the order each item is introduced into iDVD.
    To my knowledge ther is no way around this.
    Yours Bengt W

  • Can you enable CSS using Encore to write DLT with CSS?

    re: CSS Copy Protection
    I'm posting to find out if Encore can write a DVD master with CSS 'enabled' with the CSS keys turned on for replication mastering.
    It's as easy as clicking a radio button in Apple's DVD Studio Pro to write a DLT tape master with CSS enabled. We submit the DLT tape master with CSS 'enabled' to replication mastering dept. that then 'activates' the CSS keys to create a glass master and stamper with CSS copy protection. All DVD's pressed from a CSS enabled & activated stamper carry CSS copy protection on each DVD disc.
    Thank you.
    Brian alan

    Yes, Encore supports CSS flags for mastering to DLT for replication.

Maybe you are looking for