A friend has a simple one page site, and the old person who was helping him with it has exited the building. I told my friend that 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 apologies if this post belongs somewhere else.
Thanks in advance!
EDIT, here is my updated Frankenstein code. I ran the original code (which you can see here in this post) through the w3 validator, and tweaked a few things to try to get my positioning how I wanted it. Now though, that I am looking at it on a different computer, I can see that there are sizing issues. Which ultimately is good, because really, I do want a responsive design, just hadn't gotten to that step yet. Now that I'm here, I would happily take any direction/recommendations/advice on what I should start learning about for that topic, ;) .
Now I know I need to change these elements into div ids instead of tables, but I don't have a strong enough grasp of what the <tr> and <td> tags are doing and exactly how they are functioning.
Thank you again for anyone's help and input (esp Mod /u/captainTigger!)!
<html>
<head>
<meta name="generator" content="HTML Tidy for Linux (vers 25 March 2009), see www.w3.org">
<meta name="description" content="Who we are and what we do with good internet search engine keywords">
<title>Name of our Website</title>
<style type="text/css">
img.border {border: 1px solid #ff6600;}
</style>
<style type="text/css">
body {
background-color: #FFFFFF;
}
div.c5 {text-align: center}
table.c4 {background-color: #FF6600}
table.c3 {background-color: white}
p.c2 {font-family:verdana;font-size:80%;color:green}
img.c1 {float:left}
</style>
</head>
<body>
<div class="c5">
<table class="c4" cellspacing="0" cellpadding="0" border="0" width="1002">
<tr>
<td valign="top" align="center">
<table class="c3" cellspacing="0" cellpadding="0" border="0" width="1000">
<tr>
<td valign="top" align="center" colspan="2"><img src="BANNER.jpg" border="0" width="1000" height="105" alt="** PLEASE DESCRIBE THIS
IMAGE **"></td>
</tr>
<tr>
<td valign="top">
<table cellspacing="0" cellpadding="5" border="0" width="950">
<tr>
<td><br>
<img src="item1image.jpg" height=170 width="170" class="border c1" border="0" alt="** PLEASE DESCRIBE THIS IMAGE **">
ITEM 1 TITLE - SUBTITLE<br>
Content goes here idjoadi jfaopijd faodpijsfapod ijaoiaoidpap oidjapodi jsfoaifd sfdas afsd iojaop ijaa oijdspao ifdsjpaoij dpsao ijpdsaoi jpdsoaij pdsfao idsjfa oidjoadijfaopij dfaodpijsfapodijaoiaoidpa poidjapodijsfoaifd sfdas afsd iojaop ijaa oijdspao ifdsjpaoij dpsao ijpdsaoi jpdsoaij pdsfao idsjfa o idjoadi jfaopijdfaodpijsfapodi jaoiaoidpapoi djapodijsfoaifd sfdas afsd iojaop ijaa oijdspao ifdsjpaoij dpsao ijpdsaoi jpdsoaij pdsfao idsjfa o<br>
<br>
Line of content lsfdknl fsdlkfslk flskdjfslkdj slkdjf<br>
<br>
<br>
<br></td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top">
<table cellspacing="0" cellpadding="5" border="0" width="950">
<tr>
<td><br>
<img src="item2image.jpg" height=170 width="170" class="border c1" border="0" alt="** PLEASE DESCRIBE THIS IMAGE **"> ITEM 2 TITLE - SUBTITLE<br>
Content goes here idjoadi jfaopijd faodpijsfapod ijaoiaoidpap oidjapodi jsfoaifd sfdas afsd iojaop ijaa oijdspao ifdsjpaoij dpsao ijpdsaoi jpdsoaij pdsfao idsjfa oidjoadijfaopij dfaodpijsfapodijaoiaoidpa poidjapodijsfoaifd sfdas afsd iojaop ijaa oijdspao ifdsjpaoij dpsao ijpdsaoi jpdsoaij pdsfao idsjfa o idjoadi jfaopijdfaodpijsfapodi jaoiaoidpapoi djapodijsfoaifd sfdas afsd iojaop ijaa oijdspao ifdsjpaoij dpsao ijpdsaoi jpdsoaij pdsfao idsjfa o<br>
<br>
A line of content here.
<br>
<br></td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top" align="center" colspan="2">
<p class="c2">CONTACT INFO ASODIFNASLKFA DLAKJFALKJDF ALFDSKJASLKJF ALKDJFALAKSDJ FSLKDJFALSKJ<br>
STUFF AND THINGS<br>
SOME DIFFERENT TIMES OF THE WEEK</p>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</body>
</html>