Solved

Need help in table

Posted on 2014-01-08
2
123 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
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 dynamically set the form action using jQuery.
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)
Suggested Courses

628 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