XSL equivalent of  HTML br tag

Hi,
I am converting an html report in to xml and then this xml to PDF using Apache FOP. I have some data in my xml file which contains some text having BR tags in it. The data is displayed correctly in the browser when the content types are text/xml. However, when I convert this xml into PDF, the text having BR tags does not break into multiple lines.
I have tried replacing BR with <xsl:text></xsl:text> but then I get error.
Is there any alternative to get this working???
Thnx.
Sanjeev.

In the XSL template for BR, what are you converting it to in the XML file?
You need to convert the BR to whatever XML element is used to represent a sentence without an indent.
The paragraphs in the XML instance should then contain this element as a child. For example,
<paragraph>This is a sentence that is part of a paragraph converted from an HTML report that is using a BR element. We need to start a new line of text in the paragraph without an indent.How about right here:
<newline/>
I'm on a new line of text within the paragraph.
</paragraph>
Search the Apache FOP API to find out how to manipulate the format of the text.
Edited by: GhostRadioTwo on Sep 25, 2007 12:39 PM

Similar Messages

  • JSF equivalent of HTML select Tag

    Can any one please tell me how to achieve this in JSF.
    <select>
      <option selected="selected" value="volvo">Volvo</option>
      <option value="saab">Saab</option>
      <option value="mercedes">Mercedes</option>
      <option value="audi">Audi</option>
    </select>I have tried this but its not working:
    I want the "Volvo" option to be the default selected one.
    <tr:selectOneChoice label="Car" required="true"
                              value="#{myBean.car}">
            <f:selectItem value="A" itemValue="A" itemLabel="Volvo"/>
            <f:selectItem value="B" itemValue="B" itemLabel="Saab"/>
            <f:selectItem value="C" itemValue="C" itemLabel="Mercedes"/>
            <f:selectItem value="D" itemValue="D" itemLabel="Audi"/>
      </tr:selectOneChoice>With the HTML code the VOLVO value comes as default selected, but with the JSF Code the default value is blank in the drop down. I want the first value to be selected in the drop down.
    Some one please help.

    You need to set the 'value' attribute of the selectOneChoice to the desired value as it is in f:selectItem's 'itemValue' attribute.
    That said, the 'value' attribute of the f:selectItem should point to a javax.faces.model.SelectItem property, not a plain vanilla String. Also, you should either use that only, OR the itemValue and the itemLabel.

  • How to give break line in XSL file( br equivalent in HTML)

    <xsl:output method="xml"/>
    <xsl:text>I am man </xsl:text>
    <xsl:text>this is India</xsl:text>
    I want output as --
    I am man
    this is India
    thanks

    I guess you want to display CRLF (\r\n) in JSP?
    Line breaks in HTML are generally represented as < br >.
    You have 3 options:
    1) replace CRLF by < br >.
    2) style the line using CSS with 'white-space' set to 'pre'.
    3) surround the line with the HTML < pre > tag.

  • REPLY to xsl:output method="html" posting

    Due to a problem with the discussion software, I cannot reply to postings
    with a less-than sign in the Subject!
    As you can imagine in an XML forum where
    angle-brackets are common, this is a real
    pain! The OTN guys tell me they are
    working on a solution.
    We fully support all options of <xsl utput>
    The problem here is that your XSL Stylesheet must be a well-formed XML document, so everywhere you are using the <BR> element, you need to use
    instead.
    <xsl utput method="html"/> requests
    that when the XSLT Engine writes out
    the result of your transformation,
    is a propert HTML document.
    what the XSLT engine reads in must
    be well-formed XML.

    Sorry for jumping in on this thread, but I have a question regarding you reply. I have an XSL stylesheet that preforms XML to HTML conversion. Everything works correctly with the exception of those HTML tags that are not weel formed. Using your example if I have something like:
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="html"/>
    <input type="text" name="{NAME}" size="{DISPLAY_LENGTH}" maxlength="{LENGTH}"></input>
    </xsl:stylesheet>
    It would render HTML in the format of
    <HTML>
    <input type="text" name="in1" size="10" maxlength="20"/>
    </HTML>
    While IE can handle this Netscape can not. Is there anyway to generate completely cross browser complient HTML with XSL?
    Thanks!

  • Xmltype.transform and xsl:output method="html"

    hi, 9.2.0.4 winxp,
    i wonder whether xmltype.transform regards any output instructions in the stylesheet. i requested any of xml, html and text and always got the same result?
    any ideas or hints to more info?
    regards peter

    Sorry for jumping in on this thread, but I have a question regarding you reply. I have an XSL stylesheet that preforms XML to HTML conversion. Everything works correctly with the exception of those HTML tags that are not weel formed. Using your example if I have something like:
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="html"/>
    <input type="text" name="{NAME}" size="{DISPLAY_LENGTH}" maxlength="{LENGTH}"></input>
    </xsl:stylesheet>
    It would render HTML in the format of
    <HTML>
    <input type="text" name="in1" size="10" maxlength="20"/>
    </HTML>
    While IE can handle this Netscape can not. Is there anyway to generate completely cross browser complient HTML with XSL?
    Thanks!

  • xsl:output method="html"/ - supported?

    Is the otutput method "html" supported in
    the recent version of the XML/XSL parser?
    I was trying to use the <BR> tag with the
    <xsl utput method="xml"/> declaration but
    I got an XSLException error message
    indicating a not well-formed XML document.
    Then I tried the following output method
    declaration: <xsl utput method="html"/>
    but I got the same result?!
    Here's a simple XSL stylesheet I was using:
    <?xml version="1.0"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl utput method="html"/>
    <xsl:template match="/">
    <HTML>
    <HEAD></HEAD>
    <BODY>
    <P>
    Blah blah<BR>
    More blah blah<BR>
    </P>
    </BODY>
    </HTML>
    </xsl:template>
    My question is: "How do I use a not
    well-formed tags (like <IMG>, <BR>, etc.)
    in a XSL stylesheet?"
    Thank you very much in advance!
    Cheers.
    Georgi

    Sorry for jumping in on this thread, but I have a question regarding you reply. I have an XSL stylesheet that preforms XML to HTML conversion. Everything works correctly with the exception of those HTML tags that are not weel formed. Using your example if I have something like:
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="html"/>
    <input type="text" name="{NAME}" size="{DISPLAY_LENGTH}" maxlength="{LENGTH}"></input>
    </xsl:stylesheet>
    It would render HTML in the format of
    <HTML>
    <input type="text" name="in1" size="10" maxlength="20"/>
    </HTML>
    While IE can handle this Netscape can not. Is there anyway to generate completely cross browser complient HTML with XSL?
    Thanks!

  • Problem with html:select or html:options tags using struts,jsp and tomcat

    Hi
    I'm updating a Struts-Project to a new layout and therefore rework all jsp Sites.
    I'm also using a new Folder-Structure and update therefore my struts-config file.
    My Problem now is:
    Till now, we had a select-field with a code like this:
    < html:form action="/timetableAction" method="POST">
    < table width="53%" border="0">
    < tr>
    < td>< html:radio property="dauer" value="semester"
    /></ td>
    < html:select property="semester" size="1">
    < htmlptions name="semesterList" />
    </ html:select>
    </ html:form>
    The problem now is, that whenever I use any <html:xy> tag, the tomcat server I use can not show the page, he shows just the headers of the template, but not the
    content.-jsp-File where the form would be in. He stops right in the middle of the html page, when he notices the <html:xy> tags.
    And the funny thing is, that he has no problem to show a page when there is a <html:errors> within it? Why could this be? the struts-html.tld File is well included and teh Tomcat Server shows no exceptions.
    Waiting for you answers and thanks

    Thank you, I already got the answer in another forum

  • How to compare result from sql query with data writen in html input tag?

    how to compare result
    from sql query with data
    writen in html input tag?
    I need to compare
    user and password in html form
    with all user and password in database
    how to do this?
    or put the resulr from sql query
    in array
    please help me?

    Hi dejani
    first get the user name and password enter by the user
    using
    String sUsername=request.getParameter("name of the textfield");
    String sPassword=request.getParameter("name of the textfield");
    after executeQuery() statement
    int exist=0;
    while(rs.next())
    String sUserId= rs.getString("username");
    String sPass_wd= rs.getString("password");
    if(sUserId.equals(sUsername) && sPass_wd.equals(sPassword))
    exist=1;
    if(exist==1)
    out.println("user exist");
    else
    out.println("not exist");

  • Insert an HTML Table tag as a value in a Tree Table

    Hi helper,
    Can I insert an HTML Table tag inside a TreeTable (Hierarchical data) using AdvancedDataGrid as a value?
    I need to create a Tree table in flex and I have beside normal int values some cells that need to show a certain images in an HTML Table I will create.
    Is it possible?
    Please advice
    Thanks
    Jo

    <div class=Section1><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'>It depends on where you get the list of images<o:p></o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'><o:p> </o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'>Alex Harui<o:p></o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'>Flex SDK Developer<o:p></o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'><a href="http://www.adobe.com/"><span style='color:blue'>Adobe<br />Systems Inc.</span></a><o:p></o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'>Blog: <a href="http://blogs.adobe.com/aharui"><span<br />style='color:blue'>http://blogs.adobe.com/aharui</span></a><o:p></o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'><o:p> </o:p></span></p><br /><br /><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><br /><br /><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span<br />style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Yossi Bar<br />[mailto:[email protected]] <br><br /><b>Sent:</b> Monday, February 09, 2009 1:14 AM<br><br /><b>To:</b> [email protected]<br><br /><b>Subject:</b> Re: Insert an HTML Table tag as a value in a Tree Table<o:p></o:p></span></p><br /><br /></div><br /><br /><p class=MsoNormal><o:p> </o:p></p><br /><br /><p class=MsoNormal style='margin-bottom:12.0pt'>A new message was posted by<br />Yossi Bar in <br><br /><br><br /><b>Developers</b> --<br><br />  Insert an HTML Table tag as a value in a Tree Table<br><br /><br><br />Thanks Alex, <br><br />What is the way to implement HorizontalLIst of images for<br />AdvancedDataGridColumn? <br><br /><br><br />In the code here I create a tree table and in Actual column I show an image: <br><br /><br><br />&lt;mx:AdvancedDataGrid width=&quot;100%&quot; height=&quot;100%&quot;<br />folderClosedIcon=&quot;{null}&quot; folderOpenIcon=&quot;{null}&quot;<br />defaultLeafIcon=&quot;{null}&quot;&gt; <br><br /><br><br />&lt;mx:dataProvider&gt; <br><br />            &lt;mx:HierarchicalData<br />source=&quot;{dpHierarchy}&quot;/&gt; <br><br />        &lt;/mx:dataProvider&gt; <br><br />        &lt;mx:groupedColumns&gt; <br><br />         &lt;mx:AdvancedDataGridColumn<br />headerText=&quot;&quot; width=&quot;50&quot;/&gt; <br><br />            &lt;mx:AdvancedDataGridColumn<br />dataField=&quot;Region&quot; backgroundColor=&quot;haloSilver&quot;<br />headerText=&quot;Region title&quot;<br />headerRenderer=&quot;mx.controls.Label&quot;/&gt; <br><br />            &lt;mx:AdvancedDataGridColumnGroup<br />headerText=&quot;Group Header&quot;<br />headerRenderer=&quot;mx.controls.Label&quot;&gt; <br><br />&lt;mx:AdvancedDataGridColumn dataField=&quot;Territory_Rep&quot;<br />headerText=&quot;Territory Rep&quot;<br />headerRenderer=&quot;mx.controls.Label&quot;/&gt; <br><br />&lt;mx:AdvancedDataGridColumn dataField=&quot;Actual&quot;<br />headerText=&quot;Actual title&quot;<br />headerRenderer=&quot;mx.controls.Label&quot;&gt; <br><br />&lt;mx:itemRenderer&gt; <br><br />&lt;mx:Component&gt; <br><br />&lt;mx:VBox horizontalAlign=&quot;center&quot;&gt; <br><br />&lt;mx:Image width=&quot;50&quot; source=&quot;{data.Actual}&quot;/&gt; <br><br />&lt;/mx:VBox&gt; <br><br />&lt;/mx:Component&gt; <br><br />&lt;/mx:itemRenderer&gt; <br><br />&lt;/mx:AdvancedDataGridColumn&gt; <br><br /><br><br />&lt;mx:AdvancedDataGridColumn dataField=&quot;Estimate&quot;<br />headerText=&quot;Estimate title&quot; headerRenderer=&quot;mx.controls.Label&quot;/&gt;<br /><br><br />            &lt;/mx:AdvancedDataGridColumnGroup&gt;<br /><br><br />        &lt;/mx:groupedColumns&gt; <br><br />    &lt;/mx:AdvancedDataGrid&gt; <br><br /><br><br />Please advise, <br><br /><br><br />Thanks <br><br /><br><br />Jo <o:p></o:p></p><br /><br /><div class=MsoNormal><br /><br /><hr size=2 width=200 style='width:150.0pt' align=left><br /><br /></div><br /><br /><p class=MsoNormal style='margin-bottom:12.0pt'>View/reply at <a<br />href="http://www.adobeforums.com/webx?13@@.59b7d1ae/2">Insert an HTML Table tag<br />as a value in a Tree Table</a><br><br />Replies by email are OK.<br><br />Use the <a<br />href="http://www.adobeforums.com/webx?280@@.59b7d1ae!folder=.3c060fa3">unsubscribe</a>< br />form to cancel your email subscription.<o:p></o:p></p><br /><br /></div>

  • Use of titleKey attribute in html:select tag

    Hi,
    There is one "titleKey" attribute to create mouse over pop-up texts taking key values from property files in case of i18n. It works for every struts specific tag like <html:text titleKey="help.rmc.name"/> or <html:checkbox titleKey="help.rmc.name"/> except for <html:select> tag which is used for creating combo box or list box. But this tag contains the titleKey attribute.
    Please give me some suggestions how to implement this mouse over pop-up texts in case of <html:select> tag

    Hi,
    There is one "titleKey" attribute to create mouse over pop-up texts taking key values from property files in case of i18n. It works for every struts specific tag like <html:text titleKey="help.rmc.name"/> or <html:checkbox titleKey="help.rmc.name"/> except for <html:select> tag which is used for creating combo box or list box. But this tag contains the titleKey attribute.
    Please give me some suggestions how to implement this mouse over pop-up texts in case of <html:select> tag

  • How to specify HTML meta tags?

    I'm trying to get a portal to always have the following an HTML meta tag in the head of the generated HTML:
    <meta name="ROBOTS" content="NOFOLLOW" />
    I haven't seen any documentation about doing this in particular, but looking at some of the XML schema (*.xsd) files in various weblogic-specific jars, it seems like maybe the following would work in the <netuix:head> tag of the .portal configuration file for the portal:
    <netuix:head>
    <netuix:meta name="ROBOTS" content="NOFOLLOW" />
    </netuix:head>
    However, this does not seem to work.
    Also, I've checked the skin.properties file to see if there are any comments about how to specify meta tags, but there aren't any.

    Turns out there are a number of ways to do this. A BEA consultant recommended modifying the "head.jsp" for the portal's skin.
    Alternatively, it dawned on me that all I had to do was put the meta tags in a jsp and use that jsp in the head area of the .portal file. For example:
    <netuix:head>
    <netuix:jspContent contentUri="/resources/jsp/customHead.jsp"/>
    </netuix:head>

  • Using the new HTML 5 tags

    I can't  get the new HTML5 tags section, header and footer to work on my page.  When I change the divs to section it totally screws up the page rendering.I added the appropriate CSS to my style sheet.  What do I do?
    Here is the oiginal code:
    <!DOCTYPE HTML>
    <html><!-- InstanceBegin template="/Templates/Ricks Universe.dwt" codeOutsideHTMLIsLocked="false" -->
    <head>
    <!-- InstanceBeginEditable name="doctitle" --> 
    <titleRick's Universe</title>
    <!-- InstanceEndEditable -->
    <meta charset="utf-8">
    <link rel="stylesheet" href="ricks.css" type="text/css" media="screen" title="Ricks Style Sheet"/>
    <link rel="stylesheet" href="hh.css" type="text/css" media="handheld"/>
    <link rel="stylesheet" media="print" type="text/css" href="print.css" />
    <!-- InstanceBeginEditable name="head" -->
    <style type="text/css">
    td {border: 2px;
        bordercolor: #008800;
    </style>
    <!-- InstanceEndEditable -->
    <!-- InstanceParam name="home" type="boolean" value="true" -->                
    </head>
    <body>
    <div id="wrapper">
         <div id="header" title="header">
      <p class="a8">
      <a href="HOME.HTM">Old Home Page</a>  
      <a href="newmenu.htm">Rick's Dog Page</a></p>
      <iframe src="http://free.timeanddate.com/clock/i425m2zy/n179/tct/pct/ahl/avt/tt0/ta1" frameborder="0" width="378" height="19"             allowTransparency="true"></iframe>
      <!-- InstanceBeginEditable name="title" -->
      <p class="title">Rick's Universe</p>
      <!-- InstanceEndEditable -->
         </div> <!-- End header  -->
      <div id="leftcolumn" title="left column">
    <ul>
    <li><a href="MEETDOGS.HTM">Meet the dogs</a></li>
    <li><a href="ART.HTM">Art</a></li>
    <li><a href="PARKING.HTM">Automotive</a></li>
    <li><a href="BABY.HTM">Babies</a></li>
    <li><a href="BOUTIQUE.HTM">The Boutique</a></li>
    <li><a href="CATLG.HTM">Catalogs</a></li>
    <li><a href="CHARITY.HTM">Charities</a></li>
    <li><a href="COMPUTE.HTM">Computing</a></li>
    <li><a href="DAYCARE.HTM">Day Care</a></li>
    <li><a href="DEPT.HTM">Department Stores</a></li>
    <li><a href="DOGCOMP.HTM">Dogs In Competition</a></li>
    <li><a href="DRUGS.HTM">Drug Stores</a></li>
    <li><a href="EDUCATE.HTM">Education</a></li>
    <li><a href="ELECT.HTM">Electronics</a></li>
    <li><a href="EMPLOY.HTM">Employment</a></li>
    <li><a href="ENTERT.HTM">Entertainment</a></li>
    <li><a href="MONEY.HTM">Financial</a></li>
    <li><a href="FITNESS.HTM">Fitness</a></li>
    <li><a href="FLOWERS.HTM">Flowers</a></li>
    <li><a href="FOOD.HTM">Food</a></li>
    <li><a href="FUNGAME.HTM">Fun and Games</a></li>
    <li><a href="GARDEN.HTM">Gardening</a></li>
    <li><a href="GOVMENT.HTM">Government</a></li>
    <li><a href="CARDS.HTM">Greeting Cards</a></li>
    <li><a href="GROCERY.HTM">Groceries</a></li>
    <li><a href="HEALTH.HTM">Health</a></li>
    <li><a href="HOBBY.HTM">Hobbies</a></li>
    <li><a href="HARDWARE.HTM">Home Improvement</a></li>
    <li><a href="INFO.HTM">Information</a></li>
    <li><a href="INTERNET.HTM">Internet and More</a></li>
    <li><a href="JEWELRY.HTM">Jewelry</a></li>
    <li><a href="BOOKS.HTM">Literature</a></li>
    <li><a href="MAPDIR.HTM">Maps and Directions</a></li>
    <li><a href="RECORDS.HTM">Music and Video</a></li>
    <li><a href="MOVIES.HTM">Movies</a></li>
    <li><a href="NEWS.HTM">News Stand</a></li>
    <li><a href="OFFICE.HTM">Office Supplies</a></li>
    <li><a href="PEOPLENET.HTM">People</a></li>
    <li><a href="PETS.HTM">Pets</a></li>
    <li><a href="PHONE.HTM">Phones</a></li>
    <li><a href="PHOTO.HTM">Photography</a></li>
    <li><a href="POST.HTM">Post Office</a></li>
    <li><a href="PRICES.HTM">Price Comparison</a></li>
    <li><a href="REALEST.HTM">Real Estate</a></li>
    <li><a href="SECURITY.HTM">Security</a></li>
    <li><a href="SEARCHNET.HTM">Searches</a></li>
    <li><a href="SENIOR.HTM">Senior Page</a></li>
    <li><a href="SHOES.HTM">Shoe Store</a></li>
    <li><a href="SHOPPING.HTM">Shopping Clubs</a></li>
    <li><a href="SPORTING.HTM">Sports</a></li>
    <li><a href="TOYS.HTM">Toys and Games</a></li>
    <li><a href="TV.HTM">Television</a></li>
    <li><a href="TRAVEL.HTM">Travel</a></li>
    </ul>
      </div> <!-- End Left Column-->                 
      <div class="content">
      <!-- InstanceBeginEditable name="content" -->
      <!-- Position Weather -->
      <div id="weather" class="noborder">
      <script type="text/javascript" src="http://voap.weather.com/weather/oap/11590?template=TRVLV&par=3000000007&unit=0&key=twciwea therwidget"></script>
      </div>
      <div id="center"><!-- Email me code -->
      My E-Mail address is <a class="black" href=
      "MAILTO:[email protected]" onmouseover=
      "window.status='Click Here To Send me E-Mail';return true"
      onmouseout=
      "window.status=' '; return true">[email protected]</a>
      </div>
      <div id="center"><!--CNN Ticker-->
      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    codebase=
    "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0"
    id="breakinnews4" width="500" height="81">
        <param name="movie"
    value="http://cnn.com/QUICKNEWS/ticker/ticker.swf" />
        <param name="loop" value="false" />
        <param name="menu" value="false" />
        <param name="quality" value="high" />
        <param name="bgcolor" value="#000000" />
        <embed src="http://cnn.com/QUICKNEWS/ticker/ticker.swf" loop=
    "false" menu="false" quality="high" bgcolor="#000000" width="500"
    height="81" type="application/x-shockwave-flash" pluginspage=
    "http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"/></embed></embed>
      </object>
      </div>
      <br/>
      <!-- Mapquest  -->
      <div id="mapq"> <a href='http://www.mapquest.com' target='_blank'><img border='0' alt='medium-logo.png' src='http://www.mapquestapi.com/cdn/common/images/medium-logo.png'/></a>
      </div>
      <div id="google">
    <table cellpadding=0 cellspacing=0 border=0 >
    <tr>
      <td><img src="Pictures/doodle_plus_google_logo_on_grey.gif" alt="doodle_plus_google_logo_on_grey.gif" /> <br />
      <form method="get" action="http://www.google.com/search">
      <input type="text"   name="q" size="31"
      maxlength="255" value="" />
      <input type="submit" value="Search" />   
      </form> </td>
      <td  style="font-family: Arial, Helvetica, sans-serif; font-size: 7.5pt;">
      <center><table width="90%" cellpadding=0 cellspacing=0 border=0  style="font-family: Arial, Helvetica, sans-serif; font-size: 7.5pt;">
      <tr>
      <br/><br/><span style="font-size: 18pt;">Search this site</span> <br/>
      <td style="font-family: Arial, Helvetica, sans-serif; font-size: 7.5pt;" align=left ><a href="http://search.freefind.com/siteindex.html?si=9724475">index</a></td>
      <td style="font-family: Arial, Helvetica, sans-serif; font-size: 7.5pt;" align=center><a href="http://search.freefind.com/find.html?si=9724475&m=0&p=0">sitemap</a></td>
      <td style="font-family: Arial, Helvetica, sans-serif; font-size: 7.5pt;" align=right><a href="http://search.freefind.com/find.html?si=9724475&pid=a">advanced</a></td>
      </tr>
      </table></center>
      <form style="margin:0px; margin-top:4px;" action="http://search.freefind.com/find.html" method="get" accept-charset="utf-8" target="_self">
      <input type="hidden" name="si" value="9724475">
      <input type="hidden" name="pid" value="r">
      <input type="hidden" name="n" value="0">
      <input type="hidden" name="_charset_" value="">
      <input type="hidden" name="bcd" value="&#247;">
      <input type="text" name="query" size="15">
      <input type="submit" value="search">
      </form>
      <br/>
      <a style="text-decoration:none; color:gray;" href="http://www.freefind.com" >search engine</a><a style="text-decoration:none; color:gray;" href="http://www.freefind.com" > by
      <span style="color: #606060;">freefind</span></a>
      </td>
    </tr>
    </table>
    <!-- end of freefind search box html -->
          </div>
      <br/>    
      <div id="ring">
      <table border="1" cellpadding="2" cellspacing="2" align="center" >
        <tr >
          <td align="center" bgcolor="transparent"><a href="SARIPAGE.HTM" target="_blank"><img src="Pictures/sari/sarinewchamp.jpg" alt="Sari's Page" /></a></td>
       <td align="center" bgcolor="transparent"><a href="HARLEYPAGE.HTM" target="_blank"><img src="Pictures/harley/HarleyChampion.jpg" alt="Harley's Page" /></a></td>
        </tr>
      </table>
      </div>
            <!-- InstanceEndEditable -->
            </div><!-- end of content html -->
      </div><!-- end wrapper -->
      <div id="footer">
      This website is the property of Fredric M. Zipser<br />
            Last Updated on
      <!-- InstanceBeginEditable name="EditRegion6" -->
      01/15/2015
      <!-- InstanceEndEditable -->
      </div><!-- end footer-->
    <div id="sitelock_shield_logo" class="fixed_btm" style="bottom:0;position:fixed;_position:absolute;right:0;"><a href="https://www.sitelock.com/verify.php?site=www.rickzipser.com" onclick="window.open('https://www.sitelock.com/verify.php?site=www.rickzipser.com','SiteLock','width=600,height= 600,left=160,top=170');return false;" ><img alt="PCI Compliance and Malware Removal" title="SiteLock"  src="http://shield.sitelock.com/shield/www.rickzipser.com"/></a></div>
    </body>
    <!-- InstanceEnd --></html>
    Here is the CSS:
    body {
      font-family: Garamond,Arial,sans-serif;
      margin: 0;
      color: #000000;
      font-size: medium;
      font-family:"Verdana";
      font-style: normal;
      font-weight: normal;
      line-height: normal;
      letter-spacing: normal;
      margin:auto;
      background-color: #93A5C4;
    #wrapper {
      background-color: #0000aa;
      color: #000000;
      width: 93%;
      margin:auto;
      min-width: 800px;
      height: 950px;;
      border: 10px solid #008800;
    #leftcolumn {
      float: left;
      margin:0;
      border-right: 10px solid #008800;
      width: 21%;
      height: 89.6%;
      overflow: auto;
    #leftcolumn li {
      list-style-type:none;
        padding-bottom: 0px;
      margin-bottom: 0px;
    #leftcolumn a {
        padding-bottom: 0px;
      margin-bottom: 0px;
    #header {
      color: #007700;
      background-color: #dddddd;
      border-bottom: 2px solid #000000;
      height: 10%;
      clear: both;
      padding-left: 40px;
    .content { padding-top:60px;
      margin:;0;
        float:right;
        height:83.4%;
      background: #87CEFA;
      width:78%;  
      overflow: auto;
    #weather {
      margin:20px;
      float: right;
    #footer {
      font-size: xx-small;
      background-color: #e8ffff;
      border: solid;
      text-align: center;
      padding-top: 20px;
      padding-bottom: 20px;
      padding-left: 40px;
      height: 5%;
    #leftcolumn a {
      text-decoration: none;
      margin: 15px;
      display: block;
    #leftcolumn li {
      padding-top:0;
        padding-bottom:0;
    #center {
        padding-left: 50px;
      padding-bottom: 30px;
      text-align: center;
    div#leftcolumn>ul>li a:link {
      color: #ffffff;
      font-weight: bold;
        text-decoration: none;
      padding-bottom: 0px;
      margin-bottom: 5px;
    div#leftcolumn>ul>li a:visited {
      color: #ffffff;
        text-decoration: none;
    div#leftcolumn>ul>li a:hover { text-decoration: none;
      background-color: #006600;
      color: #ffffff;
    a:link {
      color: #000066;
      font-weight: bold;
        text-decoration: none;
      padding-bottom: 0px;
      margin-bottom: 5px;
    a:visited {
      color: #000066;
        text-decoration: none;
    a:hover {
      text-decoration: none;
      background-color: #000066;
      color: #ffffff;
    .title {
      position: relative; top: -25pt;
      text-align: center;
      color: #0000aa;
      font-size:48px;
      font-weight:bold;
      font-family:"Times New Roman",Georgia,Serif;
        padding-bottom::10px;
    p.a8 {
      float:right;
      padding-right: 10px;
    #google {
      padding-bottom: 20px;
      position: relative; left: 75px;
      display: inline;               
    #mapq {
      padding-top: 50px;
      padding-bottom: 30px;
      float:right;
    #ring {
      text-align: center;
    .AllDogs {
      text-align: center;
    .pic {
      border: thick double #008800;
      padding: 20px;
    .mdogs {
      text-align: center;
    #menutest {
      display: block;
      background-color: #000066;
    .border {
      border: 5px solid #008800;
    ul a {
         padding-right:  4%;
    div.form  {
      padding: 0px;
      color: #FFFFFF;
      text-align: center;
      position: relative; left: -70px;
        font-size: small;
      border:0;
      white-space: nowrap;
    div.d1 {
      padding-left: 10px;
      padding-bottom: 0pt;
      padding-top: 30px;;
    h5 {
      color: #000066;
      position: relative; top: 15px;
    article, aside, figure, footer, header, hgroup, menu, nav, section { display:block; }

    A link would be 100 times better.
    But The main question is are you editing the layouts through the admin editor? If so it will change html5 tags because it is only XHTML compliant. Do not use the editor for markup, only content.
    Either code it and upload it through SFTP or use the develop tab if you see it (Partner only) in the top ribbon.
    In terms of the code you posted, there are no html 5 tags like section etc in there as far as I can see.

  • html:option tag in STRUTS

    How can I put a "selected" attribute in the <html:option> tag in STRUTS? In regular HTML, I can say:
    <select name="test">
    <option name="opt1" selected>Option 1</option>
    </selected>
    But I can't use the "selected" key word in the STRUTS tag:
    <html:select property="myList">
    <logic:equal name="myListElement" value="Hello World">
    <html:option value="opt1" selected>Option 1</html:option>
    </logic:equal>
    <logic:notEqual name="myListElement" value="Hello World">
    <html:option value="other opts">Other opts</html:option>
    </logic:notEqual>
    </html:select>
    How can I get the following to work?
    Thanks,
    Dylan

    DavidHymes wrote:
    He is trying to pre-select an option, not determine which option is selected. I have the same question, anyone know the answer?Ugh! Why're you replying to a thread from over 4 years ago?? Couldn't you start your own topic?
    Take a look at this topic from yesterday: http://forum.java.sun.com/thread.jspa?threadID=5223675

  • Html:select tag

    Hi all,
    In my jsp page i am using struts html:select tag,some contents are not fitting in the alloted size so i want to give horizontal scrolling for this select box,pls any body can tell me which property of select tag can be used,or any html tricks by which i can achive horizontal scrolling.examples will be help full.
    thanks,

    There aren't any tricks. This has nothing to do with Struts or JSP. It only has to to with HTML. The width is controlled by the size of the options or the size of the HTML area it has to display in. The latter if it's restricted otherwise by some table cell's width. I don't believe that I've ever seen a select box which has horizontol scrolling in any browser ever.

  • How to use form name in struts html:form tag

    Hi,
    I want to validate text box value, if it is ordinary html form I would have done like this <form name="myform" action="xxxx.jsp" onsubmit="return validate()">
    But am using struts html:form tags. In this case how can I use/specify name for a form.
    Can any one help me.
    Thanks

    The name of the form comes from the actionForm you have defined backing it.
    View source on the generated page to see what HTML it constructs.
    You are able to use the onsubmit event with the <html:form> tag just like the standard one, so if all you want to do is that:
    <html:form action="/saveUser" onsubmit="return validate()">
    ...You can also give it a styleId, which will generate an id in the HTML.
    See the tag documentation for details: http://struts.apache.org/1.2.x/userGuide/struts-html.html#form

Maybe you are looking for