Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Need help in table

Posted on 2014-01-08
2
Medium Priority
?
127 Views
Last Modified: 2014-01-08
On the left side it says:
This is a Camel

and on the right side it shows the picture of camel.
But my code is doing some thing else

<html>
<head></head>
<body>
<table border = "1" align = "center">
<tr><td>This is a Camel</td></tr>
<tr></tr>
<tr><td><img src="camel.png"></img></td></tr>
<tr></tr>
</table>
</body>
</html>
0
Comment
Question by:mustish1
2 Comments
 
LVL 12

Accepted Solution

by:
duttcom earned 1600 total points
ID: 39766982
Try -

<html>
<head></head>
<body>
<table border = "1" align = "center">
<tr>
<td>This is a Camel</td>
<td><img src="camel.png"></img></td>
</tr>
</table>
</body>
</html>

The two TDs (cells) need to be in the same TR (row) otherwise it will appear one above the other.
0
 
LVL 58

Assisted Solution

by:Gary
Gary earned 400 total points
ID: 39766997
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are two main kinds of selectors in CSS: One is base selector like h1, h2, body, table or any existing HTML tags.  For instance, the following rule sets all paragraphs (<p> elements) to red: (CODE) CSS also allows us to define our own custom …
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
Suggested Courses

783 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