HTML code displayed in browser

when viewing the jsp pages from remote network, we are having a problem. The page ends abruptly and the html tags like <td width="30" > are displayed on the browser. the content of the page also ends at the point of html code display. the server console shows no error. Not sure if it is some network or server issue. Please help.

posting & quot(no space between & and quot) its getting replaced by " so everywhere there is a space between & and <quot/lt/gt/amp) strip that while using.
HTML reserved characters are & quot; & amp; & lt; & gt; for ", &, <, > respectively.
while writing such characters, do not directly put < , > &, " use the chars shown above.
for help here is the utility method that will put the desired chars:
     public static String escapeHTML(String value)
        if (value == null) return "";
        StringBuffer strval = new StringBuffer();
        for (int i = 0; i < value.length(); i++)
              char ch = value.charAt(i);
              switch (ch)
                   case '"': strval.append("& quot;"); break;
                   case '&': strval.append("& amp;"); break;
                   case '<': strval.append("& lt;"); break;
                   case '>': strval.append("& gt;"); break;
                   default:
                        if (ch > 126)
                             strval.append("&#" + String.valueOf(ch) + ";");
                        else
                             strval.append(ch);
                        break;
         return strval.toString();
     }

Similar Messages

  • HTML code displays on one line in browser view source

    Hi,
    In Dreamweaver, my HTML code displays returns, spaces, etc. However, in the view source option in a browser (Firefox in particular), all the code is displayed on one single line. I only found about this because I was having problems with my Google Ads not displaying. (A Google customer service person helped me to find a workaround for this since I still haven't figured how to get my code to display correctly.) So I have gone to Preferences in DW and changed my Code Format Line Break type. The result is the same with each of the three options: the code is all on one line when you check it under view source in a browser. (The server is Linux.)
    Does anyone know how to fix this? Also, I think I know how this happened in the first place. I copied my code to TextEdit for a quick backup the other day, and then I pasted it back to DW. Bad idea? Is the only way to get the code back to normal to re-write it in a new HTML file in DW?

    Pssh. Problem solved, but I'm not quite sure how. I did go back and try to clean up some redundant CSS and other things, but the HTML/CSS validator still shows that I have this one invalid <header> tag (www.nextmontenegro.com), but since that was written as part of the DW template, I just left it. Weird. Anyway, the code flows down the page now.
    Thanks for the quick replies and helpful hints:-)

  • HTML Code Display - Disappearing???

    (RH8, CHMs)
    Hello,
    Running into an issue, not sure how to fix this.
    I am building a link to an external .htm file that will be included with our help CHMs. It's staying external because this allows us to update it at any time without having to update any CHM itself by re-importing and building. The html files are in the same folder as the help CHMs.
    Normal hyperlinking doesn't seem to work - the CHM can't apparently see the content of topic, and may be running into an issue because it appears to be trying to open within the help screen rather than through a browser like IE or Firefox.
    So I did some googling and found the following html code which works like a charm:
    http://www.cybertext.com.au/tips_HTML_chm_external.htm
    <OBJECT id=hhctrl
       type="application/x-oleobject"
       classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11"
       codebase="hhctrl.ocx#Version=4,73,8412,0"
       width=100
       height=100>
      <PARAM name="Command" value="ShortCut">
      <PARAM name="Font" value="Arial, 10pt">
      <PARAM name="Text" value="Text:Doc name">
      <PARAM name="Item1" value=",document.ext,">
    </OBJECT>
    The issue I'm running into is that this code doesn't display in RoboHelp itself. That is, if I view the topic in Design mode, the hyperlink text ("Doc name" in the example above) never shows. And if I go between design and html, or close and reopen, the code disappears in the HTML view as well. The code is still there - the links show up as designed (and work) whenever I compile the project. I just can't find a way of getting them to display in RH beyond staying in the HTML view for that topic after inserting the code.
    Any ideas why this is happening, and what can be done?

    You could try an iFrame. Much easier in RoboHelp 9 I believe but also available in RoboHelp 8.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • HTML code displayed

    Right its like this....
    I can now get my data from my database (no small victory in itself. Thanx to all those that gave assistance). One of the fields contains HTML code
    <p>blah blah etcWhen the jsp displays the output it is actually showing the HTML code, not the rendered output... viewing source shows that it has been written to the response as
    & lt;p & gt;blah blah blah.....(needed the spaces to show it correctly!)
    Any clues as to why and what I can do to about it?
    Thanks
    Elija

    do a replaceAll.., if you are using Java 1.4
    String str = orig.replaceAll("& lt;", "<").replaceAll("& gt;", ">");
    You might need escapes for some of those chars for the regex parser. Or this older code I had laying around:
          * Decodes any entities in the specified string with their character
          * equivalents. 
          * @param  str  the encoded string
          * @return  the decoded string
         private String decodeEntities(String str) {
              if(str == null) {
                   return null;
              StringBuffer sb = new StringBuffer(str);
              String[] ents = {     // list of entities to replace
                   "&",      "<",      ">",      "&apos;", """
              String[] chars = {     // list of characters to replace with
                   "&",      "<",      ">",      "\'",      "\""
              int len = Math.min(chars.length, ents.length);
              int k = 0;
              for(int i = 0; i < len; i++) {
                   for(int j = 0; j < sb.length(); j++) {
                        k = j + ents.length();
                        if(k >= sb.length()) {
                             break;
                        if(sb.substring(j, k).equals(ents[i])) {
                             sb.replace(j, k, chars[i]);
              return sb.toString();

  • HTML-Code displayed instead of value

    To color cells of a report column I entered some code code in "HTML Expression" of a column.
    e.g. the cell INT_DATE should be green if the value of INT_FA is "A", and if it is not "A",
    then - depending on the value of INT_DATE and TAGDAT - the
    cell value INT_DATE should be red or black. This works fine:
    <script language="javascript">
    if ( '#INT_FA#' == 'A' )
    document.writeln('<font color=#33CC33>#INT_DATE#</font>')
    else
    if ( '#INT_DATE#' > '#TAGDAT#' )
    { document.writeln('<font color=#FF0000>#INT_DATE#</font>') }
    else
    { document.writeln('<font color=#000000>#INT_DATE#</font>') }
    </script>
    But for another column INT_FA the similar code produces code display in the tabular cell !!!
    The code is:
    <script language="javascript">
    if ( '#INT_FA#' == 'A' )
    document.writeln('<font color=#33CC33>#INT_FA#</font>')
    else
    if ( '#INT_DATE#' > '#TAGDAT#' )
    { document.writeln('<font color=#FF0000>#INT_FA#</font>') }
    else
    { document.writeln('<font color=#000000>#INT_FA#</font>') }
    </script>
    Any idea why ?
    Heinz

    To color cells of a report column I entered some code code in "HTML Expression" of a column.
    e.g. the cell INT_DATE should be green if the value of INT_FA is "A", and if it is not "A",
    then - depending on the value of INT_DATE and TAGDAT - the
    cell value INT_DATE should be red or black. This works fine (everywhere you see "fon" replace it by "font" !!!)
    <script language="javascript">
    if ( '#INT_FA#' == 'A' )
    document.writeln('<fon color=#33CC33>#INT_DATE#</fon>')
    else
    if ( '#INT_DATE#' > '#TAGDAT#' )
    { document.writeln('<fon color=#FF0000>#INT_DATE#</fon>') }
    else
    { document.writeln('<fon color=#000000>#INT_DATE#</fon>') }
    </script>
    But for another column INT_FA the similar code produces code display in the tabular cell !!!
    The code is:
    <script language="javascript">
    if ( '#INT_FA#' == 'A' )
    document.writeln('<fon color=#33CC33>#INT_FA#</fon>')
    else
    if ( '#INT_DATE#' > '#TAGDAT#' )
    { document.writeln('<fon color=#FF0000>#INT_FA#</fon>') }
    else
    { document.writeln('<fon color=#000000>#INT_FA#</fon>') }
    </script>
    Any idea why ?
    Heinz

  • Apex 2.2 - Correct Broken html code displaying ( " /html" )  due to data

    Yes. We are running version 2.2. Apex 4.0 isn't an option right now.
    French characters are causing the broken code "</html" to display at the bottom of the page
    when the data is pulled from the database.
    I have tested the page with non-french characters and the broken code does not appear.
    The region is a sql query updateable report region. The query is a straight forward query, just
    pulling whatever is sitting in the columns.
    The primary language for this page and all pages in the application is English.
    How does one get around this display error?
    Thank You

    This is frequently caused by failing to meet APEX installation and configuration requirements. Ensure the DAD character set is AL32UTF8 and the correct version of the PL/SQL Web Toolkit is used.
    The DAD may be at the location indicated in the documentation link below, or it may be somewhere else depending on the local configuration. The PL/SQL Web Toolkit can be checked using the query <tt>select owa_util.get_version from dual</tt> in the SQL Workshop.
    http://download.oracle.com/docs/cd/B31036_01/doc/install.22/b28552/post_inst.htm#BHADHBBG
    http://download.oracle.com/docs/cd/B31036_01/doc/install.22/b28552/post_inst.htm#BHAJFIGJ

  • Hub transport raw HTML code displays when iOS client used to send message

    Has anyone else encountered (and hopefully fixed) this problem? I use HTML coding to format the signatures for my staff at the hub transport rule level. Here's an example:
    <br><p style='font-size:12pt; font-family:"Arial","sans-serif"'><b>%%CustomAttribute1%%</b><br>
    %%Title%%<br>
    Tel:&nbsp;&nbsp;&nbsp;%%PhoneNumber%%<br>
    Fax:&nbsp;&nbsp;%%FaxNumber%%<br>
    %%Email%%<br><br>
    <img border=0 width="240" height="62" src="http://wiglefamily.net/CABVI/CABVILogo.jpg" alt="CABVI Logo"><br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="www.cincyblind.org">www.cincyblind.org</a></p>
    <p style='font-size:8pt;font-family:"Arial","sans-serif"'>Disclaimer:  The information contained in this electronic mail message may be confidential and protected information intended only for the use of the individual or entity
    named above.  As the recipient of this information you may be prohibited by State and Federal law from disclosing this information to any other party without specific written authorization from the individual to whom it pertains. If you have received
    this communication in error, please notify us immediately and destroy the message and its attachments. </p>
    It looks great when I sent from Outlook or even Android mail clients. However, when sent from iOS mail clients I get the following in the signature:
    <html>
    <body>
    Michael Wigle IT Manager Tel: 513-487-4243 Fax: 513-221-2995
    [email protected] [CABVI Logo] www.cincyblind.org Disclaimer: The information contained in this electronic mail message may be confidential and protected information intended only for the  use of the
    individual or entity named above. As the recipient of this information you may be prohibited by State and Federal law from disclosing this information to any other party without specific written authorization from the individual to whom it pertains.
     If you have received this communication in error, please notify us immediately and destroy the message and its attachments.
    </body>
    </html>
    As you can see, the raw HTML code shows but the AD variables populate correctly. Any ideas on a solution for this problem?

    See this for the pipeline tracing:
    http://technet.microsoft.com/en-us/library/bb125198(v=exchg.80).aspx
    There's a link in that article that takes you to:
    http://technet.microsoft.com/en-us/library/bb125018(v=exchg.80).aspx
    FYI, I think you're still a bit confused. Once again you said *from* when you meant *to*! :-)
    --- Rich Matheisen MCSE&I, Exchange MVP

  • Display HTML Tags on web browser

    My problem is display Html code in web browser.
    i try TextArea.htmlText, Label.htmlText... but they don't
    work...
    i'm searching in google.com and i know Html Component can do
    that, but it not well because i don't have money for that.
    Some body help me for my problem.
    Thanks so much. !
    nice day every body.

    The htmlText property should work however only a few basic
    html tags are supported as far as I know.

  • Where is the HTML-Code for the Dashboard-Links defined? How to edit it?

    Hello everyone,
    I'd like to know where HTML-Code for the Dashboard-Links (My Dashboard, insert random Dashboardname here, ...) is defined.
    Inspecting HTML-Code via the browser, i'll got the following HTML-Tag:
    an <a'' href="...url"... class="CurrentPortal" name="DashboardBannerLink" title="...">Dashboard-name</a''>
    What i know is, that i can modify portalbanner.css and edit the style of those links.
    But thats not what i want, though. I want to modify the html-code itself, for example change the layout of the table etc, to meet our company's corporate design requirements.
    Thats why i tried to find the terms PortalLink and CurrentPortal within the Message-Database (/msgdb).
    Unfortunately, i got no results.
    As a consequence, I believe HTML for those Links is generated by saw.dll internally and therefore can not be edited.
    Now i need someone to prove me wrong ;)
    Thanks in advance,
    Chris
    Edited by: Chris2010 on 16.08.2010 11:11
    -had to edit the html tag, as the code was turned into a clickable link when i posted the thread

    I still didn't find a solution until now, although i checked almost every xml file, that i was able to find.
    At the moment I am sure, that it would be necessary to edit sawm-Parameter "bannerHtml" to meet my requirements. Now, i dont know whether its possible to edit it or not, since those saw-parameters do not seem to be documented on the web.
    That's the part, i found in dashboardtemplates.xml (Line: 362)
    <WebMessage name="kuiDashboardBanner" translate="no"><!-- Param bannerHtml --><!-- Param dashboardsURL -->
    <HTML>
    <table class="PortalBanner" width="100%" border="0" cellspacing="0">
    <tr>
    <td class="PortalLogo">
    "<\a href="@{dashboardsURL}">
    <img class="PortalLogoImage" border="0" src="fmap:Portal/PortalLogo.gif"/></a>
    "</td>
    <td class="PortalTop" style="vertical-align:top">
    <sawm:param name="bannerHtml"/></td>
    </tr></table>
    <sawm:messageRef name="kuiDashboardMainBar"><sawm:setParam name="product">dashboard</sawm:setParam></sawm:messageRef>
    </HTML></WebMessage>
    -----

  • How to create a pie diagram and display it in html code

    hii frds,
    happy 2 meet u all.
    I want to know how to create a pie diagram that should not be devleloped by using applet, and use it in the html code to display a pie diagram in browser.
    ex code:
    package temp;
    import java.awt.*;
    import java.awt.image.BufferedImage;
    import java.io.*;
    import javax.imageio.ImageIO;
    import javax.swing.JFrame;
    public class Dummy1 extends Panel {
    BufferedImage image;
         int a1,a2,l,t,w,h;
    public Dummy1()
              try
    a1=90;
              a2=210;
              l=10;
              t=10;
              w=200;
              h=200;
    } catch (Exception ie) { System.out.println("Error:"+ie.getMessage());  }
    public void paint(Graphics g) {
    // g.drawImage( image, 0, 0, null);
    g.setColor(Color.green);
              g.fillArc(l,t,w,h,0,a1);
    g.setColor(Color.red);
              g.fillArc(l,t,w,h,a1,(a2-a1));
         g.setColor(Color.blue);
              g.fillArc(l,t,w,h,a2,(360-a2));
              System.out.println("in paint");
              image=(Image)g.getGraphics();
    public JFrame getMyFrame()
    JFrame frame=null;
              try
    frame = new JFrame("Display image");
    Panel panel = new Dummy1();
    frame.getContentPane().add(panel);
    frame.setSize(500, 500);
    // frame.setVisible(true);
    // frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              }catch(Exception e) { e.printStackTrace(); }
              return frame;
    static public void main(String args[]) throws
    Exception {
    JFrame frame = new JFrame("Display image");
    Panel panel = new Dummy1();
    frame.getContentPane().add(panel);
    frame.setSize(500, 500);
    frame.setVisible(true);
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    - > with out using <applet> in html can't we display the awt grahics in browser.
    plz clarify my doubts.
    thank you.
    regards
    moons..

    If you are using MSSQL SERVER then try creating a stored procedure like this
    create proc Name
    select * from Table
    by executing this in sql query analyzer will create a stored procedure that returns all the data from Table
    here is the syntax to create SP
    Syntax
    CREATE PROC [ EDURE ] procedure_name [ ; number ]
        [ { @parameter data_type }
            [ VARYING ] [ = default ] [ OUTPUT ]
        ] [ ,...n ]
    [ WITH
        { RECOMPILE | ENCRYPTION | RECOMPILE , ENCRYPTION } ]
    [ FOR REPLICATION ]
    AS sql_statement [ ...n ]
    Now Create new report and create new connection to your database and select stored procedure and add it to the report that shows all the columns and you can place the required fields in the report and refresh the report.
    Regards,
    Raghavendra
    Edited by: Raghavendra Gadhamsetty on Jun 11, 2009 1:45 AM

  • I embedded some HTML code into adobe Muse but not displaying when the pages are Exporting to HTML

    I embedded some HTML code into adobe Muse and when I published the remote site on business catalyst the (Add This widget) HTML code shows up but when I exported the site to HTML pages and view the index page in the browser (Safari, Chrome, Firefox) the (Add this widget) HTML code wouldn't display on any of the pages. I've used this code before on other Muse sites not sure what could have happened. Thnx!!!

    Hi,
    Please take a look at this post for a similar discussion : Re: When i export my muse website my youtube video links stop working. Why is this?
    Regards,
    Aish

  • How to use h:message to display HTML code in message from property file

    I am using <h:message for="somecomponentid"/> to display the error message for a validator attached to a component and the error message which resides in message property file contains HTML elements like <br> and
    The HTML doesnt get displayed properly and the code <br> etc is displayed instead.
    Is there a method to get h:message to display HTML elements correcly.
    [I know there is an h:outputFormat which has an escape parameter to allow HTML to be rendered correcly but it has no for parameter to specify the component id whose validation error message I want to display]
    eg.
    <h:message for="somecomponentid"/>
    to display from errormessages.properties
    com.somecompany.thevalidationerrormessage=You have an error<br> Please click here to return to homepage

    Hello Ivan,
    Fortunately I have just recently found a solution to my problem by using code by a developer who had already had this problem in the past and who provided a patch on the Apache MyFaces jira site.
    See following link for the solution I downloaded and then used :
    http://issues.apache.org/jira/browse/MYFACES-155
    I believe they are intending to eventually release this in a future release of MyFaces extensions on this site.
    I used the escape attribute on the tag to allow 'escaped' html code in error messages to be used.
    Hope it solves your problem too..
    Suhel

  • BSP html code arrives imcomplete at the browser

    Hello BSP Gurus,
    I have a strange problem with a "freestyle" BSP page. (no bsp-extensions, htmlb etc)
    The page displays a table of data. At the end there should be a button "Submit". Occasionally, this button is not displayed in the browser, but only a fraction of the html code, like:
    <input type="submit" value="change" name="OnInputProcessing(change) style="width:80
    and nothing more.
    so to me it seems that a part of html is missing, and therefore the browser cannot render the button, but displays the html coding (as text).
    I have this problem on different BSP pages, but it happens only occasionally and is not reproducable for me. However, the users (in this case external partners) are not amused.
    I have already played around with transmission compression options, but no effect. Had the error with and without compression.
    Has anyone had this before, and solved it ?
    I am on NW7.0 SP14
    best regards,
    Johannes

    HI
      As u said " the browser cannot render the button, but displays the html coding (as text). " it means there is problem in ending TAGS properly .
    eg
    <input type="submit" value="change" name="OnInputProcessing(change) style="width:80
    should be
    <input type="submit" value="change" name="OnInputProcessing(change) style="width:80  />
    this may help u.
    Rgeards
    Sachin

  • How to display xslt generated html code?

    Hi,
    I transformed xml code into html code inside my action
    class and put generated code into StringWriter, I
    don't
    know how I can display it on my jsp page?
    I tried to turn generated html code into a big string,
    then use bean:write to display it on jsp page, it just
    does not work.
    Has anyone done this kind of thing?
    thanks

    hi
    Just put that String in JSP expression <%= String name %>
    u will see it on browser
    thanks
    hithesh

  • Preview in browser shows html code

    Can't get DW to display my design, I go to "preview in
    browser" and it goes to the browser and shows the html code
    instead. Can someone help me fix that?

    <%@LANGUAGE="JAVASCRIPT" CODEPAGE="65001"%>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=utf-8" />
    <!-- TemplateBeginEditable name="doctitle" -->
    <title>Untitled Document</title>
    <!-- TemplateEndEditable -->
    <!-- TemplateBeginEditable name="head" -->
    <!-- TemplateEndEditable -->
    <style type="text/css">
    <!--
    body {
    font: 100% Verdana, Arial, Helvetica, sans-serif;
    background: #666666;
    margin: 0; /* it's good practice to zero the margin and
    padding of the body element to account for differing browser
    defaults */
    padding: 0;
    text-align: center; /* this centers the container in IE 5*
    browsers. The text is then set to the left aligned default in the
    #container selector */
    color: #000000;
    /* Tips for Elastic layouts
    1. Since the elastic layouts overall sizing is based on the
    user's default fonts size, they are more unpredictable. Used
    correctly, they are also more accessible for those that need larger
    fonts size since the line length remains proportionate.
    2. Sizing of divs in this layout are based on the 100% font
    size in the body element. If you decrease the text size overall by
    using a font-size: 80% on the body element or the #container,
    remember that the entire layout will downsize proportionately. You
    may want to increase the widths of the various divs to compensate
    for this.
    3. If font sizing is changed in differing amounts on each div
    instead of on the overall design (ie: #sidebar1 is given a 70% font
    size and #mainContent is given an 85% font size), this will
    proportionately change each of the divs overall size. You may want
    to adjust based on your final font sizing.
    .twoColElsLtHdr #container {
    width: 46em; /* this width will create a container that will
    fit in an 800px browser window if text is left at browser default
    font sizes */
    background: #FFFFFF;
    margin: 0 auto; /* the auto margins (in conjunction with a
    width) center the page */
    border: 1px solid #000000;
    text-align: left; /* this overrides the text-align: center
    on the body element. */
    .twoColElsLtHdr #header {
    background: #DDDDDD;
    padding: 0 10px; /* this padding matches the left alignment
    of the elements in the divs that appear beneath it. If an image is
    used in the #header instead of text, you may want to remove the
    padding. */
    .twoColElsLtHdr #header h1 {
    margin: 0; /* zeroing the margin of the last element in the
    #header div will avoid margin collapse - an unexplainable space
    between divs. If the div has a border around it, this is not
    necessary as that also avoids the margin collapse */
    padding: 10px 0; /* using padding instead of margin will
    allow you to keep the element away from the edges of the div */
    /* Tips for sidebar1:
    1. Be aware that if you set a font-size value on this div,
    the overall width of the div will be adjusted accordingly.
    2. Since we are working in ems, it's best not to use padding
    on the sidebar itself. It will be added to the width for standards
    compliant browsers creating an unknown actual width.
    3. Space between the side of the div and the elements within
    it can be created by placing a left and right margin on those
    elements as seen in the ".twoColElsLtHdr #sidebar1 p" rule.
    .twoColElsLtHdr #sidebar1 {
    float: left;
    width: 12em; /* since this element is floated, a width must
    be given */
    background: #EBEBEB; /* the background color will be
    displayed for the length of the content in the column, but no
    further */
    padding: 15px 0; /* top and bottom padding create visual
    space within this div */
    .twoColElsLtHdr #sidebar1 h3, .twoColElsLtHdr #sidebar1 p {
    margin-left: 10px; /* the left and right margin should be
    given to every element that will be placed in the side columns */
    margin-right: 10px;
    /* Tips for mainContent:
    1. If you give this #mainContent div a font-size value
    different than the #sidebar1 div, the margins of the #mainContent
    div will be based on its font-size and the width of the #sidebar1
    div will be based on its font-size. You may wish to adjust the
    values of these divs.
    2. The space between the mainContent and sidebar1 is created
    with the left margin on the mainContent div. No matter how much
    content the sidebar1 div contains, the column space will remain.
    You can remove this left margin if you want the #mainContent div's
    text to fill the #sidebar1 space when the content in #sidebar1
    ends.
    3. To avoid float drop, you may need to test to determine the
    approximate maximum image/element size since this layout is based
    on the user's font sizing combined with the values you set.
    However, if the user has their browser font size set lower than
    normal, less space will be available in the #mainContent div than
    you may see on testing.
    4. In the Internet Explorer Conditional Comment below, the
    zoom property is used to give the mainContent "hasLayout." This
    avoids several IE-specific bugs that may occur.
    .twoColElsLtHdr #mainContent {
    margin: 0 1.5em 0 13em; /* the right margin can be given in
    ems or pixels. It creates the space down the right side of the
    page. */
    .twoColElsLtHdr #footer {
    padding: 0 10px; /* this padding matches the left alignment
    of the elements in the divs that appear above it. */
    background:#DDDDDD;
    .twoColElsLtHdr #footer p {
    margin: 0; /* zeroing the margins of the first element in
    the footer will avoid the possibility of margin collapse - a space
    between divs */
    padding: 10px 0; /* padding on this element will create
    space, just as the the margin would have, without the margin
    collapse issue */
    /* Miscellaneous classes for reuse */
    .fltrt { /* this class can be used to float an element right
    in your page. The floated element must precede the element it
    should be next to on the page. */
    float: right;
    margin-left: 8px;
    .fltlft { /* this class can be used to float an element left
    in your page */
    float: left;
    margin-right: 8px;
    .clearfloat { /* this class should be placed on a div or
    break element and should be the final element before the close of a
    container that should fully contain a float */
    clear:both;
    height:0;
    font-size: 1px;
    line-height: 0px;
    -->
    </style><!--[if IE]>
    <style type="text/css">
    /* place css fixes for all versions of IE in this conditional
    comment */
    .twoColElsLtHdr #sidebar1 { padding-top: 30px; }
    .twoColElsLtHdr #mainContent { zoom: 1; padding-top: 15px; }
    /* the above proprietary zoom property gives IE the hasLayout
    it needs to avoid several bugs */
    </style>
    <![endif]--></head>
    <body class="twoColElsLtHdr">
    <div id="container">
    <div id="header">
    <h1><img src="../MASTHEAD.jpg" width="720"
    height="269" /></h1>
    <!-- end #header --></div>
    <div id="sidebar1">
    <blockquote>
    <pre> </pre>
    </blockquote>
    <h3>Landscaping</h3>
    <p><strong>Lawn Care</strong></p>
    <p><strong>Chemical
    Services</strong></p>
    <p><strong>Tree
    Services</strong></p>
    <p><strong>Retaining
    Walls</strong></p>
    <p><strong>Water
    Gardens</strong></p>
    <p><strong>Special
    Projects</strong></p>
    <p> </p>
    <!-- end #sidebar1 --></div>
    <div id="mainContent">
    <h1> GET THE EDGE</h1>
    <p>Custom Edges Enterprises gives you the edge when it
    comes to landscape design, implementation and
    maintenance.</p>
    <p>Residential and commercial properties thrive under
    the supervision and attention of Custom Edges
    Enterpirses.</p>
    <!-- end #mainContent --></div>
    <!-- This clearing element should immediately follow the
    #mainContent div in order to force the #container div to contain
    all child floats --><br class="clearfloat" />
    <div id="footer">
    <p>Footer</p>
    <!-- end #footer --></div>
    <!-- end #container --></div>
    </body>
    </html>

Maybe you are looking for

  • Unable to save data in CATS timesheets

    Hi Gurus,        Can anyone help me on this issue? I am trying to enter timesheet data using Tcode CAT2 for last week. I am able to enter the data but while clicking on save, it's throwing an error message- "not enough quota 10 for attendance/absense

  • My i phone will not open my yahoo mail, but sits and spins. I have reset the phone and network and still no help. Any other ideas?

    My i-phone stopped receiving e-mail on a regular basis.  Rather, it will sit and spin trying to load and then stop.   Usually, sometime in the night, it will all of a sudden load all of my mail, but then will not load new mail again.  I have updated

  • How to calculate the number of records in Multiprovider

    Hi Experts I have created a report based on the multiprovider (Consist of Cube and ODS) I need count the number of records inside the multiprovider, how can i do it in the reporting level Regards Santosh

  • Iphone 6 randomly shutdown in standby mode

    My Iphone 6 16gb randomly shutdown in standby mode, i only can turn it on by hold POWER + HOME. here is the log : {"name":"Reset count","bug_type":"115","os_version":"iPhone OS 8.1 (12B411)"} Incident Identifier: F0B79DBE-0BE1-431A-813E-70E7E2C17942

  • Helppages are not displayed correctly

    Hi! I want to display html files which are generated (docbook). When I view the pages with a browser, they look good, but inside my application they look different: all text is centered, the images have the wrong size and some background colours are