Solved

Need help in table

Posted on 2014-01-08
2
119 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 400 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 100 total points
ID: 39766997
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Most of the sites are being standardized with W3C Web Standards. W3C provides lot of web standard services to the web. They have the web specification, process and documentation for all the web standards. You can apply HTML, CSS and Accessibility st…
This article covers the basics of the Sass, which is a CSS extension language. You will learn about variables, mixins, and nesting.
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…
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…

770 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