How to make a horizontal line in java html browser?? without hr

I use java html browser
I want to make a black horizontal line
the <hr> line is not good
for my customer it seems that there is a double spacing in this case
I tried to write
<td style = "BORDER-BOTTOM: 1px solid #000000"> ...
but it does not work
I suppose this style is not supported by the default StyleSheet
I tried to write
<td bgcolor="black" height=1>
but the table has all rows with equal sizes
therefore the real height is too big
Please help me
I tried to write
<table border="1">... </table>
even in this case I have table without any border

Hi,
the best way might be to use a blind table with all cells set to have a border on the bottom. The problem is that the standard Java runtime does not render such setting automatically. There is plenty of work involved to adapt it and still it then would work only in the adapted version and not the standard runtime environment.
Anyway, you can find a working example of how to accomplish individual borders around table cells in open source application SimplyHTML at http://www.lightdev.com/dev/sh.htm
Ulrich

Similar Messages

  • How to add a horizontal line in RoboHelp HTML 7

    HI - I am working with RoboHelp 7 HTML. I want to add a
    horizontal line to my topic. I am using RoboHelp as my editor. Work
    mostly in WYSWYG / Design mode and don't do much hand coding as a
    rule, but sometimes I tweak the code. Since I couldn't find a
    WYSIWYG way to add a horizontal line, so thought I would try the
    <hr/> tag.
    Sadly - that just shows up on the Design view page as a big,
    red highlight of the <hr/> tag.
    Suggestions?
    Thanks, Leisa

    Leisa
    There's a menu option too. Don't have RH open but it's
    something like Insert | HTML | Line.
    The line will be 50% page width. Look in Snippets on my site.
    Rick Stone posted recently how to make that 100% by default.

  • How to make the diagonal line in the swing table cell?

    Hi all,
    How to make the diagonal line in the swing table cell just like the link below?
    http://61.132.17.188/webber/table.gif

    One improvement.. To get a line that is neat, use a bit of Graphics2D
        public void paintComponent(java.awt.Graphics g)
            int w = getSize().width;
            int h = getSize().height;
            // draw a line between (0,0) and (w,h)  
            g.setColor(getForeground());
            if (strTop == null)
                strTop = "  ";
            if (strBottom == null)
                strBottom = "  ";
                java.awt.Graphics2D g2 = (java.awt.Graphics2D)g;
              g2.setRenderingHint(java.awt.RenderingHints.KEY_ANTIALIASING,java.awt.RenderingHints.VALUE_ANTIALIAS_ON);
              //g2.setStroke(new java.awt.BasicStroke(14.0f));
            g.drawLine(0, 0, w, h);
            //the following lines will draw the two strings,
            //one above the top of the line and the above below it.     
            g2.drawString(strTop, (w/2)+2, (h/2)-2);
            g2.drawString(strBottom, 2, (h / 2) + 2);
            //the x,y for drawString are only based on assumption.   //do necessary changes to suit ur needs.
        }Then create a TableCellRenderer and set it to the Table Header for ur table's 1st row.....
    Cheers

  • How to make the last line of the textarea visible all the time?

    Hello,
    I am making an online chat application in JSP and XHTML. The chat log and online users� names textareas are refreshed every 5 seconds. When it comes to many messages in the chat log textarea, the scrollbar appears. Then, every time the chat log textarea is refreshed, I need to move the scrollbar down to see the last line of the textarea.
    Are there any ideas how to make the last line of the textarea visible all the time without moving the scrollbar?
    Thanks in advance.
    Dan

    I put the below code on the page, but it didn't work.
    Are there any ideas? Thanks.
    <table border="0" cellspacing="1">
    <tr>
    <th>Chat Log</th>
    <th>Users now online</th>
    </tr>
    <tr>
    <td><textarea rows="20" cols="60" name = "messages" readonly = "readonly"><%= texts %></textarea></td>
    <td><textarea rows="20" cols="20" name = "names" readonly = "readonly"><%= names %></textarea></td>
    </tr>
    </table>
    <script type="text/javascript">
    <!--
    document.messages.scrollIntoView(false);
    //-->
    </script>

  • How to make content horizontal swipe in single standard frame in Indesign CS6?

    How to make content horizontal swipe in single standard frame in Indesign CS6?

    This sounds like a question for the DPS forum. We don't handle DPS questions here:
    Digital Publishing Suite

  • How to fix blue horizontal lines on imac

    Help me,,,
    how to fix blue horizontal lines on my imac screen

    Take it to an Apple store genius bar and have it tested...a year ago there were several posts about vertical lines, sometimes blue, sometimes yellow, sometimes pink and mixtures...in every case it turned out to be due to failure of a graphics module chip.  The Apple techs were able to replace the chip (the user cannot even think of doing that) for a price significantly less than a new logic board.
    So, take it in and have it tested.

  • How do I save a pdf as an html file without losing formatting?

    How do I save a pdf as an html file without losing formatting?  My coworker is able to do this on her Adobe 9 by saving to html css 4.0 - I have Adobe 11 and have not been able to save as an html at all without loosing formatting.

    Are the PDF files that you are attempting to Save As HTML tagged?

  • How to make a oval shape in java

    how to make an oval shape in java

    here's a simple example:
    import java.applet.Applet;
    import java.awt.Graphics;
    import java.awt.Color;
    /* <applet code="OvalTest" width=83 height=43></applet> */
    public class OvalTest extends Applet {
         public void init() {
              setBackground(Color.white);
         public void paint(Graphics g) {
              g.setColor(Color.blue);
              g.fillOval(1,1,80,40);
    }

  • How to brake to new line in Java function in XI

    Hi,
    How to brake next line in java function in XI(i am trying to use \n but it is not going to next line its displaying same in output). can anybody help me on this
    Thanks,
    Sudheer.

    Sudheer ,
    Please explain about your requirement with example data with source structure and target structures with the java requirement .
    Regards,#
    Reddy

  • How to make a straight line of points in a curve in CS6

    In PSCS5 and earlier, I used to be able to make a straight line of points in a curve by placing 9 points on the straight line curve.  I did this by drawing a small straight line at the bottom of the curve using the pencil tool and then clicking the curve point icon.
    I can't seem to do this with CS6.  Any thoughts?
    Thanks,
    Matthew Kraus

    Did you not ask a similar question a while ago?
    http://forums.adobe.com/message/4524084#4524084

  • Horizontal lines on screen in browser

    I notice thin horizontal lines across the browser window when I am on Facebook.  If I scroll up and down they disappear and then reappear if I scroll again. Reloading gets rid of them.  I can't tell if this is a problem with Google Chrome or the MacBook.  Anybody else see this? Thanks.

    It may not be only related to the browser's video rendering!!
    Please look at my examples of the Horizontal lines that I have:
    http://postimage.org/image/lihagn8px/
    Looks like the ones that the one posted by Mike in Tampa Bay
    Now the most interesting thing.
    When I sterted having these horizontal lines I suspected that it may be a GPU hardware problem.
    I went to my local Apple dealer - Saturn (Berlin, German) and the Apple Customer Service guy pointed me at
    this
    https://discussions.apple.com/thread/4148522?start=90&tstart=0
    topic and informed me that it is definitely a browser's rendering issue. And I thought that it was ever since.
    Three days later after I watched a movie and played a video game I started my Logic 9 and I noticed this:
    http://postimage.org/image/xml153noj/
    Do you see these 2 black lines? It means that the problem is not only in video rendering of the browser's ouput.
    For me it still seems like it is a hardware problem.
    I've been using computers for last 20 years and I have never seen that any software could cause such video artefacts. I hope that I am wrong, becaus if it is a harware problem it will be very hard to make Apple to exchange the GPU or the entire logic board until it wil die completely. And the thing that it may happen after 2-4 years of the use of the computer, when it will be out of warranty and apple care 3years limit.
    Similar thing happened to some of Apple Macbooks users with ATI Radeon X1600 mobile and the GPUs on 2006 and 2007 Macbook Pros.
    Here are the links:
    http://reviews.cnet.com/8301-13727_7-10330060-263.html
    I am using Macbook Pro 15" Mid 2012, Intel + Nvidia GT650 GPUs.

  • How to create a movie file of java 3D animation without altering the code?

    Is there a way to create a movie file of a Java 3D animation without altering the source code of the Java 3D animation program???
    Because as what I observed, most of the forum recommends extracting the bufferedimages of the animation. And, then using the bufferedimages to do a movie file. In this way, I will need to add in new code in the animation program in order to extract the bufferedimages.
    So, is there an alternative way?
    My objective is write a program to create movie file of any Java 3D animation.
    Pls advise me. Thanks a million.

    I'm curious as to why FRAPS will record java3d and
    not a java2d app? is there something that Java3d
    sets that makes it recognizable by fraps? or?? could
    someone or messengers ( =D!) explain this for me?Seems that only in JDK 5.0 or later, does the 2D api automatically use a DirectX or OpenGL rendering pipeline (if available).
    Further, these automatic pipelines accelerate polygons and the like, but not low level Graphics2D bit blitting operations.
    There are JOGL apis that allow better control over acceleration, and are considered 'thread safe' (single threaded) whereas DirectX pipelines are not.
    Interesting demos of this here:
    https://jogl-demos.dev.java.net/applettest.html
    and
    http://www.hardcorepawn.com/RandomGL/
    Fraps (commercial) and Taksi (opensource) will reveal that you are actually using acceleration, since they intercept the pipeline at the openGL (and DirectX) level.

  • How I make my menu line-up horizontally with my logo?

    I want to have my logo in the top left and my menu in the top right - horizontally even with one another. How I do this? Once I put the logo it seem not want anything else across from it

    Change this:
    <div class="header"><a href="#"></a><a href="#"></a><a href="#"></a><a href="#"></a><img src="Images/kurtlogo.fw.png" width="245" height="65" alt="logo" />
      <!-- end .header --></div>
      <div id="navigationbar"><nav><a href="index.html">Home</a> | <a href="about.html">About</a> | <a href="portfolio.html" class="navtext">Portfolio</a> | <a href="plogo.html">Logos</a> | <a href="contact.html" class="navtext">Contact</a></nav></div>
    to this:
    <div class="header">
    <div class="logo">
    <a href="#"></a><a href="#"></a><a href="#"></a><a href="#"></a><img width="245" height="65" alt="logo" src="Images/kurtlogo.fw.png">
    </div>
    <div id="navigationbar"><nav><a href="index.html">Home</a> | <a href="about.html">About</a> | <a class="navtext" href="portfolio.html">Portfolio</a> | <a href="plogo.html">Logos</a> | <a class="navtext" href="contact.html">Contact</a></nav></div>
    <!-- end .header --></div>
    Basically, we're putting the #navigationbar within header as well. We're then enclosing the logo within another div - so we can float the logo div left and navigationbar div right.
    Add this to your CSS:
    .logo{
    float: left;
    Find #navigationbar in your CSS:
    #navigationbar {
    background-color:#0FF;
    padding: 10px;
    float: right;
    Add the line in bold above (float).
    For footer, find this:
    .footer {
    padding: 10px;
    padding-left: 20px;
    padding-right: 20px;
    background-color: #0033ff;
    position: absolute;/* this gives IE6 hasLayout to properly clear */
    clear: both; /* this clear property forces the .container to understand where the columns end and contain them */
    background-image: url(Images/background.jpg);
    width: 921px;
    height: 128px;
    top: 760px;
    Remove position line that I've struck out.
    Then, open portfoliomain.css file:
    .f11 {
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
    font-size: 16px;
    color: #FC3;
    position: absolute;
    Remove the line I've struck out.

  • How to make file associations in my java apps

    I am making a Graph maker in Java. Just give x = 1,2,3,4,5 and corresponding y = f(x) and get the discreate graph.
    The graph can then be saved as a file of extention .grf (say) on the hard disk, and can be opened in my graph maker software for editing, viewing e.t.c.
    Now my problem is that I want that when I dubble click on a file xyz.grf my graph maker should open automatically with this file opened in it, like other applications on windows say Notepad - dubble click on xyz.txt it will automatically launch Notepade with this file.
    In other way I want that any .grf file gets associated to my graf maker.
    Please help me and tell me the way, how should I proceed and how can I do this.

    aashishjava wrote:
    Yes Yes Yes It is 99% what I wanted to have. Thanks a lot ....You're welcome.
    But now I want some thing more,(hand to forehead) They always want more. ;)
    (a) There is a splash screen in my app. but JNLP always show its own splash screen, ...Webstart splash screens work differently to those of plain Jar files (which is unfortunate). A webstart splash screen has to be not included in the Jar, but available as a separate resource. The splash is defined in the JNLP launch file. For further details see the [JNLP File Syntax|http://java.sun.com/j2se/1.4.2/docs/guide/jws/developersguide/syntax.html].
    <quote>
    The optional kind="splash" attribute may be used in an icon element to indicate that the image is to be used as a "splash" screen during the launch of an application. If the JNLP file does not contain an icon element with a kind="splash" attribute, but does contain another icon tag, Java Web Start will display a splash screen consisting of the image specified by the icon element on the left and the application's title and vendor on the right.
    The first time an application is launched following the addition or modification of the icon element in the JNLP file, the old splash image will still be displayed. The new splash image will appear on the second and subsequent launches of the application.
    </quote>
    The 'ignored first time' is because the webstart client is more focused on getting the app. downloaded, cached and launched, than showing splashes. Once the app. is on-screen, it will download the splash in the background.
    One other 'gotcha' of splash screens is that the JNLP file must define a href in the JNLP element for the splash to be used. The webstart client assumes that a JNLP with no href is dynamically generated, and will not be the same twice. Because of that it ignores the splash!
    Edit 1:
    Unfortunately, I do not have any direct examples of using splash screens A splash is usually on my 'To Do' list for projects, but it is a very low priority.
    Edited by: AndrewThompson64 on Dec 10, 2009 11:35 AM

  • How to make the Time Line in Vertical ?

    Hi All
    I have created a Schedule Board using the Schedule Viewer but
    including the Flexlib in my project .
    Now the thing is that the Timeline which us to come on the
    top of the
    ScheduleViewer I need to get that Time line Vertically in
    left side
    of the ScheduleViewer to display the time in left side,and
    all the
    date's in the top .
    How can I do that to get the Timeline Vertically and the Date
    at the
    position of TimeLine .
    Thanks
    Vivek Manchanda
    Theikos IT Solution

    One improvement.. To get a line that is neat, use a bit of Graphics2D
        public void paintComponent(java.awt.Graphics g)
            int w = getSize().width;
            int h = getSize().height;
            // draw a line between (0,0) and (w,h)  
            g.setColor(getForeground());
            if (strTop == null)
                strTop = "  ";
            if (strBottom == null)
                strBottom = "  ";
                java.awt.Graphics2D g2 = (java.awt.Graphics2D)g;
              g2.setRenderingHint(java.awt.RenderingHints.KEY_ANTIALIASING,java.awt.RenderingHints.VALUE_ANTIALIAS_ON);
              //g2.setStroke(new java.awt.BasicStroke(14.0f));
            g.drawLine(0, 0, w, h);
            //the following lines will draw the two strings,
            //one above the top of the line and the above below it.     
            g2.drawString(strTop, (w/2)+2, (h/2)-2);
            g2.drawString(strBottom, 2, (h / 2) + 2);
            //the x,y for drawString are only based on assumption.   //do necessary changes to suit ur needs.
        }Then create a TableCellRenderer and set it to the Table Header for ur table's 1st row.....
    Cheers

Maybe you are looking for

  • Unable to capture trace, when user logs in throuigh Web Interface

    The Trace shows 'No Records Found', when user logs in through Web Interface of CRM. But there is Trace found, when the same user logs in through logon pad and carries out normal actvities. sufficient auth. is provided. Is there any setting in ST01, t

  • How Do I Add a .edu email to my iphone?

    i wanted to add my school email to my iphone but i have no idea which outgoing server thing to put in. my school email is really difficult to use to begin with so im not sure where to find the server information. does anyone out there have their .edu

  • PASSWORD FOR FLODERS  PLEAse  HELP URGENT

    HI ALL please tell me the method of implementing password provision for some folders/files in the system. it should ask for password authentification before opening when i click on the folder. please help urgent thanks belur

  • HELP:  I've created a mess!!

    In an effort to free up space on my Macintosh HD I moved the "music" folder (120 GB) to another internal HD that had tons of room. This folder contains essentially all the content in itunes. When I opened itunes it said that all the files were missin

  • Message dispatch time status 3

    Hi When we use Message dispatch time status 3 (Application own transaction) in PO output. Regards Ram