Solved

Chat Applet Padding

Posted on 2004-03-30
7
293 Views
Last Modified: 2012-06-21
Hello,  

We have a chat applet that we use.  I am sure you are all familiar with the HTML element called padding.  Puts a little space between the edge of a table and the text.  is there any similar thing we could include with our chat applet.  A padding effect for the cells that make up the chat applet?

Kindest thanks,

Yunkaa
0
Comment
Question by:yunkaa
  • 4
  • 3
7 Comments
 
LVL 63

Expert Comment

by:Zvonko
ID: 10712660
So you want to shift your applet some space to right, right?

You do not want to center the applet and you have already tried to put it in a table cell or a div with a fixed width and aligned to right side?

0
 
LVL 17

Expert Comment

by:dorward
ID: 10712683
Cells that make up an applet?

Can you provide a URI? I think it would make things clearer.
0
 
LVL 63

Assisted Solution

by:Zvonko
Zvonko earned 200 total points
ID: 10712726
Like this:

<html>
<body>
<table><tr>
<td width="300px" align="right">
<applet code=AnalogClock2ech.class width=200 height=200 codebase=http://www.ericharshbarger.org/java/analogclock/ archive=AnalogClock2.jar>
<param name=COPYRIGHT value="AnalogClock applet, Copyright 1998, Eric Harshbarger">
<param name=AUTHOR value="Eric Harshbarger, http://www.ericharshbarger.org">
<param name=FACECOLOR value="192,192,192">
<param name=FGCOLOR value="0,0,0">
<param name=BGCOLOR value="255,255,255">
<param name=FONTSIZE value="16">
<param name=HANDS.DISPLAY value="0-3">
<param name=NUMBERS.DISPLAY value="0-5">
</applet>
</td>
<tr></table>
</body>
</html>

0
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 
LVL 17

Accepted Solution

by:
dorward earned 300 total points
ID: 10712746
And you want to put space between the applet and the cell?

Change:
<td width="300px" align="right">

To:
<td width="300" align="right" style="padding: 5px">

(Note that I removed the 'px' from the width attribute - its CSS that requires units - HTML forbids them except for percentages)

Also note that Java and JavaScript are two very different animals and have virtually nothing in common except for the first 4 letters of their names
0
 
LVL 63

Expert Comment

by:Zvonko
ID: 10712760
Are you talking to me?
0
 
LVL 17

Expert Comment

by:dorward
ID: 10712766
Oh - I made the mistake of assuming that was the code example I requested from yunkaa
0
 
LVL 63

Expert Comment

by:Zvonko
ID: 10712782
:-)
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Today I would like to talk about localizing (Internationalization) JavaScript applications. Introduction When creating an application that is going to be used by many people around the globe, it is important to remember that not everyone speak…
Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now