HTML - How Can I Add A Table Or <div> Under The Columns?
Hello,
I would like to add a table or <diiv> behind the columns on this blogger template and add a border to it. I'm not so sure of how to do this. I'm new to blogger XML templates. Please excuse me, I'm a little rusty. It's a free template called WhiteMagic and it has CSS in it as well. In this kind of template what kind of table or div should I add and what code? I'm not quite sure on what code to put for a table or <div>. Do you know? or maybe a website that can point me to it? Example: http://solitude-of-heart.blogspot.com/ I'm not going to use that template^ because it doesn't meet the rest of my needs. However I'd like to add a table or div that has a border. Here is an updated code. http://pastebin.com/W1Ff7BpQ My website: www.MarinaElizabeth.com customized WhiteMagic Thank you in advance Similar TutorialsI feel rather stupid asking this question, because I'm certain it's so simple to fix... Please see this HTML eBay template http://www.bluelagoonproducts.com/template-noncss.html As you can see there are 2 main colums: A - The menu (Store catagories) on the left B - Content (Description) on the right. I need the menu on the left to stay at the top, rather than in the middle. When column B has more content or paragraphs than column A, Column B stays in the middle relative to the page. Hope someone can help? Hi all, I'm new to the forum and was hoping I could get some quick help, since I am not a web publishing expert. I've got a basic table set up with multiple rows but different column widths (i.e. 2 columns in one row, 3 columns in another row, both rows with different column widths). Basically I want each row to span the entire table width. However, it comes out fairly mutated instead :: 1st row becomes 2 filled and 1 empty column, 2nd row becomes 3 columns that are unequally spaced. In one row, <table width="100%" border="2" bordercolor=BLACK cellspacing="0" cellpadding="10"> <tr valign="top"><td width="50%" align="center"> SOME BODY TEXT HERE</p></td> <td width="50%" align="center" bgcolor="#FFFFFF"> SOME BODY TEXT HERE</p></td> </tr> Closely following that row, another row with:: <tr valign="top"> <td width="33.3%">SOME BODY TEXT HERE</td> <td width="33.3%">SOME BODY TEXT HERE</td> <td width="33.3%">SOME BODY TEXT HERE</td> </tr> </table> What's wrong here? PS This is for an HTML e-mail marketing campaign, so I do not believe CSS is an option I sliced my site in Photoshop and imported it to Dreamweaver. The table is correctly in the center of the page like I want and everything looks good. I have around 20 different slices in my desing and I want turn some of them into "background" so I can write over the image that's inside that part of the table. I also want to turn every table that are showing the background image so they act like the background image (I think this is done same way). I mean, when you right click properties from the tables now, it shows the url to the .jpg file, I want that it shows the site url (.com). Hi! I've been trying to figure out why columns in my HTML-table get weird widths. ie. this code: HTML Code: <table width="950" cellpadding="0" cellspacing="0"> <tr> <td colspan="5"> column1 </td> <td colspan="5"> column2 </td> </tr> <tr> <td colspan="5"> <input type="text" value="column3" maxlength="20" style="width:165px;" /> </td> <td colspan="5"> column4 </td> </tr> <tr> <td>1</td> <td>2</td> <td>3</td> <td>4</td> <td>5</td> <td>6</td> <td>7</td> <td>8</td> <td>9</td> <td>10</td> </tr> </table> gives me the result: Is there any way I can fix this so each of the columns get's equal size? Preferably without actually having to have to set the width on each of the bottom columns. If not, could anyone explain to me why it's acting this way? Thanks. Hello, I would like to make my two column web page into 3 columns and dont know how to do this. It is a template and I cannot figure out where to put the <td>. My site is online and then I hope to delete this link if it is possible. Please no negative remarks as I am notlooking for visitors I just want help. please. ] Here is the code I want to put into the code but not sure where to put it to get the 3rd column. I hope someone will be kind enough to help . thanks. <td width="200"> <table width="100%" border="1" cellspacing="0" cellpadding="0"> <tr> <td width="200"> <p> <a href="index.html">Home</a> </p> </td> </tr> </table> How hard can it be? I already posted a similair item like this on a dutch forum (for those who do not know: I am dutch) but that ended in no result. Imagine yourself the painting from I think it was Barnett "Who is afraid of red, yellow and blue. Or better... take the French flag ( http://www.e-s-e-a.com/FRENCH%20FLAG.png ) Now could you or anyone else write me the script that would give me three columns? The left column 15% The right column 15% The middle column 70% I read that giving the columns a width in percentages was better because of screensizes. No header. No footer. Just 3 columns. It has to be like the French flag all over your screen. Well you don't have to give the columns exactly the same colors but it would be nice. I've been playing about with columns, and it really bugs me when I cant get to do it correctly, I need to know how to make a three column page like this one- http://watchseries.eu/ I know there is a lot of float involved, and no matter how much I try, I cannot get the hang of it. I've also read the column tutorial on this forum with no help. I am adding an event to a web page I have inherited from someone else. I don't have access to the CSS styles in the webpage, so I have to use existing styles. The page is supposed to line up in two columns, and used to do that before my updates today, but for some reason now is all in one long column. I could use another set of eyes, as I can't seem to see the reason it is having problems. Can you help me? I need to get an answer this morning or I will have to change the page back so that it looks correctly even if it has old information. Seriously, why does it hate me? The math is all correct and it lays out perfectly fine in firefox as expected. Can anyone give me a tip as to what's wrong here before I trash this whole idea and go with a reliable table. 2 columns. 15px left and right margins on the "left" column, 470px wide 15px right margin on the "right"column, 455px wide 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>Untitled Document</title> <style type="text/css"> body { margin: 0; padding: 0; width: 970px; background: #e1e1e1; } #wrap { padding: 10px 0; background: #fff; } #left { margin: 0 15px; width: 470px; height: 100px; float: left; background: #f00; } #right { margin: 0 15px 0 0; width: 455px; height: 100px; float: right; background: #666; } </style> </head> <body> <div id="wrap"> <div id="right"></div> <div id="left"></div> <div style="clear: both;"></div> </div> </body> </html> Hi, Basically I was wondering how I can give a page "columns" I want to set it up with the normal heading I'm using, then do something like this: (column 1) ______ | ______ (column 2) _______________ | ________ ... Sign Up ________ | _______ Member Name: _ [box] ___________________________ Password: _ [box] Thanks to Coothead over here I got what I wanted. Unfortunately the web is so .. how do you say it... polluted... that sometimes it is really hard to find what you want, not to say impossible. So I got: HTML Code: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta http-equiv="Content-Style-Type" content="text/css"> <title>driekleur pagina</title> <style type="text/css"> html,body { margin:0; padding:0; height:100%; } #linkerkolom { width:15%; height:100%; float:left; background-color:#776644; } #middelste_kolom { width:70%; height:100%; float:left; background-color:#fff; } #rechterkolom { width:15%; height:100%; float:left; background-color:#776644; } </style> </head> <body> <div id="linkerkolom"></div> <div id="middelste_kolom"></div> <div id="rechterkolom"></div> </body> </html> But how do you create a header? Lets say about 3 inches in height. And in the color black. I tried to do it but I failed. Anyone? This is my code. I am getting the results as rows/horizontally. I want the entire results to be displayed in 2 columns. can anyone help me out.? mport_request_variables('p','p_'); $connect=mysql_connect('localhost','********','********') or die('could not open:'. mysql_error()); mysql_select_db('gkkilaru_db'); $result=mysql_query("SELECT * FROM human WHERE $p_Searchtype='$p_Search'"); if (mysql_num_rows($result)>0) { echo "<table cellpadding='1' cellspacing='1' bordercolor=pink width='800' border='1'>"; echo "<tr align='center'>"; echo "<td>KEGG_ID</td>"; echo "<td>Gene_Name</td>"; echo "<td>Uniprot_ID</td>"; echo "</tr>"; while($row = mysql_fetch_object($result)) { echo "<tr align='center'><td>"; echo $row->KEGG_ID; echo "</td><td>"; echo $row->Gene_Name; echo "</td><td>"; echo $row->Uniprot_ID; echo "</td><td>"; } } else { echo "<tr align='center'><td>"; echo "<br/><br/><font size='4' color='red'>"; echo "No Records Found!</p>"; echo "</td></tr>"; } //mysql_close($connection); } break; } I tried to solve this...but I was unable to do it. Please help me I was wondering how I can make 3 equal size div columns inside of a iframe? Because my site www.PrimeNewsCenter.com and I have 3 iframes right now inside the main iframe on the front page and although it looks good in IE it looks really bad in all other browsers and divs dont look like that. Thanks! So we have the script for a perfect 3 column webpage. And one with a header. And one with a footer. And one with a header and a footer. But now I would like to build a 3 column website with something else. Look at your screen. Then imagine 3 columns. The left column 15%, the middle column 70% and the right column 15%. Draw imaginary lines. Now draw a line between the left and right column say 40 px from the top of the screen. Then again take the below standing script and draw a line between the two columns 20 px from the bottom. Does anyone know how to do this? HTML Code: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta http-equiv="Content-Style-Type" content="text/css"> <title>driekleur pagina</title> <style type="text/css"> html,body { margin:0; padding:0; height:100%; } #linkerkolom { width:15%; height:100%; float:left; background-color:#333333; } #middelste_kolom { width:70%; height:100%; float:left; background-color:#fff; } #rechterkolom { width:15%; height:100%; float:left; background-color:#333333; } </style> </head> <body> <div id="linkerkolom"></div> <div id="middelste_kolom"></div> <div id="rechterkolom"></div> </body> </html> I've been asked to create a web page containing 10 columns and 20 rows. Easy enough. But the request is for columns that can be individually sorted, and and for the life of me I dont know how to do this! Using Dreamweaver. Advice gratefully received! How can you make a border appear between rows in a table but not between the columns? Hence you won't notice that there's actally any columns in the table since it's not squared, only the rows are marked, but the columns still are there to prevent the cells from ending up at different horizontal positions at the different rows. I've recently been working on my first site, which is a complete revamp of an old one. It's a 3 column design, with the central area displaying thumbnails. Here it is.. www.sevensofmacclesfield.co.uk I'm getting all sorts of problems when zooming / text enlarging on various browsers ( Ctrl +/-) - particularly the bottom right hand side, where the sidebar joins the footer It's gone live, and I've run out of ideas to sort it out - can anyone offer any advice? Any help will be invaluable! Thermos Hello all, I am using Dreamweaver to create my site, and I'm using the two column fixed left sidebar header and footer template. Anyway, I need to have two separate columns of text in the main content portion, and I'm not sure how to go about it. Is using a table somehow the easiest way to go about it? Help in either code format or in the design format would be helpful. ~~Idaho Parkour Hi everyone. I just joined up in hopes that someone here can help me figure something out that's been driving me nuts for days. I am trying to create some content boxes for the sidebar of my blog. I've managed to create the actual boxes, but then I want to make a new one with two columns to put link badges in. Below is the code I have so far.... <style type="text/css"> <!-- .container_sidebar_about { width:225px; height:64px; background-image:url(http://dougcloud.net/show/headlinklove.png); } .container_sidebar { width:203px; background:#FEF6D2; font-family:Arial, Helvetica, sans-serif; border-width: 0px 1px 1px 1px; border-spacing: 0px; border-style: none solid solid solid; border-color: #4F3314; padding:10px; margin:0 0 20px 0; font-family: 'Trebuchet MS', sans-serif;color: #4F3314; font-size:11px; } a:link {font-family: 'Trebuchet MS', sans-serif;color: #4F3314;} a:visited {font-family: 'Trebuchet MS', sans-serif;color: #ba742a;} --> </style> <div class="container_sidebar_about"></div> <div class="container_sidebar"> <div style="width:100px;float:left;text-align:center;">I have always had the uncanny knack of visualizing how something should look and in 1998, after purchasing my first computer, I started making small graphic things for friends - web buttons, guest book designs, etc.</div> <div style="width:100px;float:right;text-align:center;">I have always had the uncanny knack of visualizing how something should look and in 1998, after purchasing my first computer, I started making small graphic things for friends - web buttons, guest book designs, etc.</div> </div> With this code the text displays in two columns, but it does not appear to be inside the main div with the background color and 1 pixel border. I would like to know what I'm doing wrong so I can make this work properly. I appreciate any help. |