r/HTML • • Nov 01 '13

[HTML] Trying to help a friend update content on his page and clean up his code; new to coding need help repositioning elements

A friend has a simple page site, and the old person who was helping him with it has left. I told him I could maybe help him, but I am stuck. I am quite new at coding and thought this could provide a good learning experience for me.

I am trying to reposition the content for the items, next to the images instead of underneath the images. I then want the two items stacked on top of each other, so that when we want to add more items, we can just stack them on top, and the older items will go down the page.

First post in this sub, so my apologies if my formatting is wrong.

Thanks in advance!

<html>

<head>
<meta name="description" content="This is who we are and what we do">
<title>Thing About</title>
<style type="text/css">img.border {border: 1px solid Red;}</style>
</head>

<body bgcolor=Gainsboro>
<center>
<table cellspacing=0 cellpadding=0 border=0 width=1002 height=801 bgcolor=Black>
<tr><td valign=top align=center>

<table cellspacing=0 cellpadding=0 border=0 width=1000 height=800 bgcolor=A9F5AB>

<tr>
<td valign=top align=center colspan=2>
<img src="BANNER.jpg" border=0 width=1000 height=150></a>
</td>
</tr>

<tr>

<td valign=top align=center>
<table cellspacing=0 cellpadding=5 border=0 width=450>
</tr>
<td>
<br>
<a href="item1.jpg" target="_blank">
<img src="item1.jpg" width=225 class="border" border=0></a>
<a href="item1b.jpg" target="_blank">
<img src="item1b.jpg" width=225 class="border" border=0></a><br>
ITEM 1 TITLE - SUBTITLE<br>
Content goes here idjoadi jfaopijd <br>
<br>
Line of content kherkehlwkjerlwkej<br>
<br>
Line of content lsfdknl fsdlkfslk flskdjfslkdj slkdjf<br>
<br>
<a href="http://www.youtube.com/watch?v=xxxxxxxxxxx" target="_blank">
http://www.youtube.com/watch?v=xTYuh1N8ZaM</a><br>
<br>
</td>
</tr>
</table>
</td>

<td valign=top align=center>
<table cellspacing=0 cellpadding=5 border=0 width=450>
</tr>
<td>
<br>
<a href="item2.jpg" target="_blank"><img src="item2.jpg" width=225 class="border"></a><br>
ITEM 2 TITLE - SUBTITLE<br>
Content goes here idjoadi jfaopijd <br>
<br>
Line of content dsfiah fiudahfijdoa iddfafhaidf<br>
<br>
</td>
</tr>
</table>
</td>

</tr>

<tr>
<td valign=top align=center colspan=2>
<p style="font-family:verdana;font-size:80%;color:black">
STORE CONTACT INFO ASODIFNASLKFA DLAKJFALKJDF ALFDSKJASLKJF ALKDJFALAKSDJ FSLKDJFALSKJ<br>
STUFF AND THINGS
</p>
</td>
</tr>

</table>

</td></tr></table>
</center>
</body>
</html>
2 Upvotes

13 comments sorted by

View all comments

Show parent comments

2

u/roomzinchina Nov 02 '13

I honestly have absolutely no idea what your point is, and I am totally done talking to you.

-3

u/icantthinkofone Nov 02 '13

So you ARE 12!

I honestly have absolutely no idea

This is the only thing you've said that is correct.