How do I add an extra column to a completed template
I'm trying to find where to put code for another 2 columns. 1 to the left for more buttons, and 1 to the right for some other stuff.
BUT, I want the table or text box in the middle to stay where it is.
You see, this template was designed by someone else, and also the coding, but they didn't leave me any room. They created the tables with DW and left no room to expand.
I need a column like in this picture. Not above, or below it. I need it to start at the same line as the first text line, but to the left of this white text area, and one on the opposite side for some other stuff related to the website.
<?php
<code> <!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\"> <html xmlns=\"http://www.w3.org/1999/xhtml\"> <head> <meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\"/> <title>TWT Couriers</title> <link href=\"images/style.css\" rel=\"stylesheet\" type=\"text/css\"/> <style type=\"text/css\"> <!-- body { margin:0px; background-color: #3F6616; background-image: url('images/background_gradient.gif'); background-repeat: repeat-x } body, td, th { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #93B367; } a:link { color: #ACC58B; text-decoration: none; } a:visited { text-decoration: none; color: #ACC58B; } a:hover { text-decoration: underline; color: #93B367; } a:active { text-decoration: none; color: #ACC58B; } --> </style> &lt;script type=\"text/JavaScript\"&gt; <!-- function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; } function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf(\"#\")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} } function MM_findObj(n, d) { //v4.01 var p,i,x; if(!d) d=document; if((p=n.indexOf(\"?\"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); if(!x && d.getElementById) x=d.getElementById(n); return x; } function MM_swapImage() { //v3.0 var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} } //--> &lt;/script&gt; </head> <body onload=\"MM_preloadImages('images/btn_about2.jpg','images/btn_contact2.jpg','images/btn_news2.jpg','images/btn_forum2.jpg','images/btn_home2.jpg')\" style=\"background-color: #000000; background-image: url('images/background_gradient.jpg')\"> <div align=\"center\"> <table width=\"704\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border-collapse: collapse\"> <!--DWLayoutTable--> <tr> <td height=\"195\" colspan=\"4\" align=\"left\" valign=\"top\"> <img src=\"images/header.jpg\" width=\"698\" height=\"195\"/></td> </tr> <tr> <td width=\"350\" height=\"13\" align=\"right\" valign=\"middle\"><a href=\"#\" onmouseout=\"MM_swapImgRestore()\" onmouseover=\"MM_swapImage('Image2','','images/btn_about2.jpg',1)\"> <img src=\"images/btn_about1.jpg\" name=\"Image2\" border=\"0\" id=\"Image2\" width=\"264\" height=\"13\"/></a><a href=\"#\" onmouseout=\"MM_swapImgRestore()\" onmouseover=\"MM_swapImage('Image3','','images/btn_contact2.jpg',1)\"></a></td> <td colspan=\"2\" align=\"left\" valign=\"middle\"><a href=\"#\" onmouseout=\"MM_swapImgRestore()\" onmouseover=\"MM_swapImage('Image3','','images/btn_contact2.jpg',1)\"> <img src=\"images/btn_contact1.jpg\" name=\"Image3\" border=\"0\" id=\"Image3\" width=\"263\" height=\"13\"/></a></td> <td width=\"91\"></td> </tr> <tr> <td height=\"45\" colspan=\"3\" align=\"left\" valign=\"top\"> <img src=\"images/header2.jpg\" width=\"613\" height=\"45\"/></td> <td>&nbsp;</td> </tr> <tr> <td height=\"13\" align=\"right\" valign=\"middle\"><a href=\"#\" onmouseout=\"MM_swapImgRestore()\" onmouseover=\"MM_swapImage('Image5','','images/btn_news2.jpg',1)\"> <img src=\"images/btn_news1.jpg\" name=\"Image5\" border=\"0\" id=\"Image5\" width=\"264\" height=\"13\"/></a></td> <td colspan=\"2\" align=\"left\" valign=\"middle\"><a href=\"#\" onmouseout=\"MM_swapImgRestore()\" onmouseover=\"MM_swapImage('Image6','','images/btn_forum2.jpg',1)\"> <img src=\"images/btn_forum1.jpg\" name=\"Image6\" border=\"0\" id=\"Image6\" width=\"263\" height=\"13\"/></a></td> <td></td> </tr> <tr> <td height=\"71\" colspan=\"3\" align=\"left\" valign=\"top\"> <img src=\"images/header3.jpg\" width=\"312\" height=\"71\"/><a onmouseout=\"MM_swapImgRestore()\" onmouseover=\"MM_swapImage('Image8','','images/btn_home2.jpg',1)\" href=\"http://www.twtcouriers.com.au\"><img src=\"images/btn_home1.jpg\" name=\"Image8\" border=\"0\" id=\"Image8\" width=\"77\" height=\"71\"/></a><img src=\"images/header4.jpg\" border=\"0\" width=\"224\" height=\"71\"/></td> <td>&nbsp;</td> </tr> <tr> <td colspan=\"3\" align=\"left\" valign=\"top\" class=\"text\" style=\"background-image: url('file:///C:/Documents%20and%20Settings/Jedi/My%20Documents/My%20Webs/myweb/TWT_19.jpg')\"> <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border-collapse: collapse\" width=\"97%\" id=\"AutoNumber1\" height=\"152\"> <tr> <td width=\"100%\" height=\"152\" valign=\"top\"><font color=\"#3F6616\">TWT Transport Systems offer a complete interstate line haul, warehousing, country and local distribution service, utilizing our custom-made facilities, coupled with a diverse range of vehicles ranging from cars/utes, vans, pan techs to semi-trailers and B-doubles with drop deck and mezzanine trailers. <br> <br> Reliability and flexibility are our greatest strengths, combined with the ability to perform outside 'normal' operating parameters. Whether it be a carton, pallet or full loads, our dedicated staff will explore all available options.</font><p><font color=\"#3F6616\">TWT Transport Systems are more than a regular freight company! We specialize in providing professional packing solutions, courier services &amp; logistics solutions to small &amp; large businesses, eBay shippers, tourists, students and householders.<br> <br> Our interstate line haul depart on a daily basis from &quot;4 Stennett Road, Ingelburn&quot; offering general and express services to every metropolitan and regional state in Australia. <br> <br> With our up to date computer software you are able to access proof of deliveries 'proof of delivery' details on-line' without having to contact our customer service personnel. Just click the &quot;Client Login&quot; button above to check your shipment.</font></p> <p><font color=\"#3F6616\">Click the services button above to see what we have to offer. </font> <p>&nbsp;</td> </tr> </table> &nbsp;<p>&nbsp;</td> <td>&nbsp;</td> </tr> <tr> <td height=\"58\" colspan=\"2\" align=\"left\" valign=\"top\" class=\"footer\"> Copyright 2008 TWT Couriers, Inc</td> <td width=\"28\" align=\"left\" valign=\"top\"> <img src=\"images/footer_btn_top.jpg\" border=\"0\" usemap=\"#Map\" width=\"28\" height=\"37\"/></td> <td>&nbsp;</td> </tr> <tr> <td height=\"0\"></td> <td width=\"235\"></td> <td></td> <td></td> </tr> </table> </div> <map name=\"Map\" id=\"Map\"> <area shape=\"circle\" coords=\"12,20,9\" href=\"#\" alt=\"[ Go Up ]\"/> </map></body> </html></code>'
?>
webwiz posted this at 20:56 — 4th December 2007.
He has: 629 posts
Joined: May 2007
What a lovely example of why CSS layouts are so much better than table based designs! If you have the latest version of DW, I believe it is relatively easy to convert from tables. Perhaps someone with the latest DW can advise?
Cordially, David
--
delete from internet where user_agent="MSIE" and version < 8;
DSSR posted this at 09:56 — 5th December 2007.
They have: 166 posts
Joined: Mar 2006
Hi, yes I have DW, soemwhere on disk, I'll look up this term in google. TYVM.
My host has been down for a coupel days, I will try and do that for you.
Good to see you again to, demonhale
demonhale posted this at 05:04 — 5th December 2007.
He has: 3,278 posts
Joined: May 2005
It would be best if you have the sample template up online so it's easier to see the manipulation together with the cut images...
demonhale posted this at 03:58 — 6th December 2007.
He has: 3,278 posts
Joined: May 2005
Thanks DSSR, I think you can easily resolve this problem if we have the example page...
DSSR posted this at 14:39 — 6th December 2007.
They have: 166 posts
Joined: Mar 2006
Finally got it upped here : http://twtcouriers.only-the-truth.com
TYVM demon ; )
demonhale posted this at 05:58 — 7th December 2007.
He has: 3,278 posts
Joined: May 2005
Would a completely new css div solution be out of the question, it is rough to get these aligne with all the cut images... However, recoding this in css can allow you to have a three column flexible layout...
DSSR posted this at 18:08 — 7th December 2007.
They have: 166 posts
Joined: Mar 2006
I know, thats why I needed help, even teh guy that made it cannot do it correctly without getting teh middle areas to stop moving. He got the tab les in left and right, but the whole thing moves together if I try to move the left and roght tables. Exactly what I dont want.
css div? Could you explain a little where I put that? You know me, I don't know much :D>..
Cheers.
demonhale posted this at 05:03 — 8th December 2007.
He has: 3,278 posts
Joined: May 2005
Okay, when I free up on monday, I'll try to show you a rough draft of a table and div versions, but you need to align it for yourself. Talk to you later...
DSSR posted this at 11:14 — 8th December 2007.
They have: 166 posts
Joined: Mar 2006
That's the problam. I can't align them. I have the table already. The designer made it, but he can't align it either.
demonhale posted this at 06:43 — 9th December 2007.
He has: 3,278 posts
Joined: May 2005
I mean the images will align, but the middle area needs some tinkering up first..., it will still look the same as before with the extra left and right columns but needs some readjusting because it consumes too much time to align and realign and to test in all browsers....
DSSR posted this at 11:48 — 9th December 2007.
They have: 166 posts
Joined: Mar 2006
What if I remake teh psd template, could you make a html file out of it? Ill slice it up and that.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.