473,395 Members | 1,558 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Trouble putting text inside table

53
i am having trouble put my text by side the links,


[ ] I want my text here
[ ]
[ Table ]
[ ]
[ ]

But my text is here!



How would i write the code to put my text beside the table?
I just bought a book a few weeks back tryin to learn on my own if anyone could please help me out!

Thanks
David
Jan 23 '08 #1
3 1568
cdm2883
53
here is my code!
[html]
<html>

<table border="3" bordercolor="red" style="float: left">

<td width="120" rowspan="5" valign="top" border="3" bordercolor="red">

<h3 style="font-family: sans-serif"><a href="homepage">Home Page</a></h3>
<h3 style="margin-bottom: 0; font-family: sans-serif">Links</h3>
<p style="margin: 25 0 100 15; font-size 0.8em">
<font size="4">
<a href="#welldrilling">Well Drilling</a><br />
<a href="#">Pump and water<br> system install</a><br />
<a href="#">Rock Drilling</a><br />
</p>
</td>
</table>



<head>

<img src="drill.jpg" width="350" height="350" align="right"/>

</head>


<body background= "J-water.jpg"; text="000000">


<p style="text-align: top">
<font size="5">

Here is just some sample text to see if
it will work the way i want it to.</p> </p> I hope this works because i am gettin
tired of working on this.</p></p> I thought this would be easy.</p>

</font>
</p>

</body>
</html>
[/html]

Thanks
David
Jan 23 '08 #2
drhowarddrfine
7,435 Expert 4TB
Here is a properly marked up web page:
[html]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Untitled</title>
<style type="text/css">

</style>
</head>

<body>

<!-- Your markup goes here -->

</body>
</html>
[/html]

Also, you are trying to use HTML but are using XHTML end tags, "/>". Remove the slash.
Jan 23 '08 #3
Hi David,

Many things wanna say after reading ur code :-

1- the <body> tag contains all the info that appears inside a browser window - headlines, text, tables and so on. Ur table doesn't appear becuase it's not defined inside the body tag.

2- <Font> tags are deprecated by W3C ( The institute that defines the web standards ). Try to use Css instead.

3- It's better to create a Css file and put whatever formatting u want inside it and then link it to ur page. This will arrange ur code and help u fix later problems.

4- As u are learning, read about the guidlines to design a properly marked up web page that works fine in most browsers and meets the standards. E.g. a missing Document Type Declaration (DDT) in ur html document causes Internet Explorer to go into "quirks" mode which affects your presentation.

5- Try to validate any web page u design by the W3C validator
W3C HTML validator

Anyway, if u use the properly marked up web page drhowarddrfine suggests in the previous reply and place ur code inside the <body> tag, the text will appear beside the table as u want.

Best of luck,
Rawan.
Jan 23 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

19
by: Svennglenn | last post by:
I'm working on a program that is supposed to save different information to text files. Because the program is in swedish i have to use unicode text for ÅÄÖ letters. When I run the following...
6
by: rh0dium | last post by:
Hi all, Basically I have a bunch of pluggins in a directory (METDIR). For each one of these templated pluggins I want to do a specific routine. Let's start with a basic template file...
24
by: deko | last post by:
I have an mdb (2002 file format) that uses memo fields extensively. I've read a lot about how problematic memo fields can be and that avoiding them is a good idea. But I'm stuck with them and was...
1
by: MattB | last post by:
OK, never mind my last post. It was easy enough to refer to the table the repeater is bound to, but I made a big, incorrect assumption in that post. In my last post I thought I was successfully...
18
by: fishwick | last post by:
I haven't really done any css in quite a while, and am banging my head against the wall trying get the rudimentary layout together of a church website home page to display correctly - I don't want...
1
by: scott | last post by:
Hello, I'm trying to create the following effect: IMG text para- graph
1
by: semomaniz | last post by:
I have a form where i have created the form dynamically. First i manually added a panel control to the web page. Then i added another panel dynamically and inside this panel i created tables. I have...
1
by: Jeff | last post by:
hi asp.net 2.0 Below is some markup I have trouble with. The problem is that the Textbox doesn't fill the entire DataCell. I've set width of TextBox to 100%.... The point is that I want the *...
5
matheussousuke
by: matheussousuke | last post by:
Hello, I'm using tiny MCE plugin on my oscommerce and it is inserting my website URL when I use insert image function in the emails. The goal is: Make it send the email with the URL...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.