HTML - Html For Table Height Alignment
Hi I have made 2 tables for my home page for content of pages.
Each table is two rows The problem is the right column in each table is not height alligned to the left column because there is a uneven amount of links How do I get the right columns to come up heigher and be height alligned because it looks messy? I spent hours looking at all different web pages about tables and could not find this. Does anyone know???????????? Please Help me check it out Here on this page. [url="http://www.great-quotes-powerful-minds.com/"] http://www.great-quotes-powerful-minds.com/ I start with <table width="100%"> <tr><td> put links column1 </td> <td> put links for column2 </font> </tr> </table> Please Help Similar TutorialsHello everyone. Im new to forums and am looking for some help my my html. I am having problems with the alignment of my tables. They used to align perfectly but are now being stretched the length of the page. It has to do with my TD somewhere but I can't find it. If you check this code you'll see what I mean. Im not sure what I did but it never had this problem before. Let me know what you guys think. Thanks Hi there I got a little problem with my website http://www.gone-surfing.com ; the thing is that I would like to have the waveforecast on the right side of the site, where there is currently only an empty black space. And I am simply wondering how this can be done? In a way which enables the waveforecast to progress downwards out there, without pushing the other tables / content downwards. Hope some clever minds can help me out here. Any suggestions? PS! I would like to keep the design like this, it would be a bit too much work changing the whole design due to my lack of webdesign skills. The source code is available here @ gone-surfing.com/index.html A big thanks in advance for any help or suggestions. All the best, Alex Hello Gurus, I have a webpage with two tables in it. I need to have both table of same identical height(65px) however the issue is, that one table ends up being larger than other one. no matter what I try it does not stay at 65px height. Pleaes help. Below is the code snippet Thanks, Ruchir --------- <html xmlns="http://www.w3.org/1999/xhtml"> <!-- start page --> <div id="page"> <div id="pagebg"> <div id="content"> <div class="post"> <br></br> </div> <!-- start content --> <!-- DIV CONTENT --> <head> <style type="text/css"> /* Design by Free CSS Templates http://www.freecsstemplates.org Released for free under a Creative Commons Attribution 2.5 License */ body { /*background: #A17461 url(images/img01.jpg) repeat-x;*/ font-family: Arial, Helvetica, sans-serif; font-size: 13px; color: #B1C0C7; } /*ol { list-style-position: inside; }*/ blockquote { border-left: 1px solid #9E9D89; } a { color: #FFFFFF; } a:hover { text-decoration: none; } /* Content */ .link:visited { font-family: Georgia,Arial,Verdana; vertical-align:top; color:rgb(0,82,82); text-align:auto; text-decoration:none; vertical-align: top; } .link:hover { font-family: Georgia, Arial,Verdana; vertical-align:top; color:rgb(0,148,231); text-align:auto; text-decoration:underline; vertical-align: top; } .link { font-family: Georgia, Arial,Verdana; vertical-align:top; color:Gray; text-align:auto; text-decoration:none; </style> <body> <div style="margin-left:0%"> <table style="margin-left:0%"> <tr> <td> <!--First Panel --> <div style="font-size:9pt;font-family:Georgia; color:Navy; width:290px; background-image:url(images/gray-gradient.gif); background-repeat:repeat;">label</div> <div> <table cellspacing="0" cellpadding="0" width="290px" height="65px" bgcolor="#fgfgfg" align="left"> <tr align ="left" width="290px" > <td align ="left"> <ul class="link" type="none" style="font-size:8pt;font-family:Arial;"> <li class="link"> <a style="font-size:8pt;font-family:Arial;" class="link" href="http://www.coexsys.com/erpoffering.html" id="l16">Offerings</a> </li> <li class="link"> <a style="font-size:8pt;font-family:Arial;" class="link" href="http://www.coexsys.com/id145.html" id="l18">Request More Information</a> </li> </ul> </ul> </td> <td align ="left"> <ul class="link" type="none" style="font-size:8pt;font-family:Arial;"> <li class="link"> <a style="font-size:8pt;font-family:Arial;" class="link" href="mailto:sales@coexsys.com" id="l17">Email us</a> </li> <li class="link"> <a style="font-size:8pt;font-family:Arial;" class="link" href="http://www.coexsys.com/id144.html" id="l18">Contact us</a> </li> </ul> </td> </tr> </table> </div> </td> <td> <!--2--> <div style="font-size:9pt;font-family:Georgia; color:Navy; width:290px; background-image:url(images/gray-gradient.gif); background-repeat:repeat;">label2</div> <div> <table cellspacing="0" cellpadding="15" width="290px" height="65px" bgcolor="#fgfgfg" align="left"> <tr align ="left" width="290px" > <td align ="left"> <ul class="link" type="none" style="font-size:8pt;font-family:Arial;"> <li class="link"> <a style="font-size:8pt;font-family:Arial;" class="link" href="http://www.coexsys.com/managedservices.html" id="l16">Offerings</a> </li> <li class="link"> <a style="font-size:8pt;font-family:Arial;" class="link" href="http://www.coexsys.com/rfims.html" id="l18">Request More Information</a> </li> </ul> </ul> </td> <td align ="left"> <ul class="link" type="none" style="font-size:8pt;font-family:Arial;"> <li class="link"> <a style="font-size:8pt;font-family:Arial;" class="link" href="mailto:sales@coexsys.com" id="l17">Email us</a> </li> <li class="link"> <a style="font-size:8pt;font-family:Arial;" class="link" href="http://www.coexsys.com/id144.html" id="l18">Contact us</a> </li> </ul> </td> </tr> </table> </div> </td> </tr> </table> <!--aaa--> </div> </head> </div> <!--content--> <!-- end content --> <!-- start sidebar --> <div style="clear: both;"> </div> </div> </div> <!-- end page --> <!-- start footer <!-- end footer --> </body> </html> Hi guys, I've been frustrated for awhile trying to fix three of my problems. I just started making a site for myself today, the specific one is http://www.bcsticketsnow.com/rosebowl.html Anyway, I've got three problems, and appreciate any help anyone can offer on any of them: 1. I'm new to frames, and am told to stay clear of it. But I don't know php, so this is the only way I know to make a header, middle and footer on all 20 pages that I'm going to have where I only need to edit one to change all. So I have 3 frames in the frameset, header, mainrosebowl, and footer. I understand that cols="220,*,100" will make the header 220 pixels, the footer 100 px, and the middle part the rest of the window. But I'm trying to figure out a way to have it go deeper than the window. As you can tell, I've got a scroll bar on that middle frame. I want that frame to extend to more than 100% and push the footer below the visible window. So I'm really looking for a big scroll bar for the entire window to scroll down, not a mini scroll bar just for the middle frame. Is this possible? Having the cols add up to only the size of the window isn't what I'm looking for. 2. In the header frame, I've got that drop down menu (says "Bowl Events"). When I put the form in for the drop down menu, it kind of expanded the height of the table. It had less space before in that row of the table with the blue background. When I put the form in there, it kinda messed up the spacing. I essentially want to delete that space below bowl events to make the height of the row of that table like half the size. Any ideas? 3. For that same drop down menu, I'm trying to target each link in that menu to open up a new window (like target="_top"). But putting it after <option value="URL" target=..."> does nothing. Am I supposed to put it in the javascript? Here's what I have now: <script type="text/javascript"> function goToPage(dd) { var ind = dd.selectedIndex; if (ind == 0) { return; } var url = dd.options[ind].value document.location=url; } </script> <form> <select name="eventlist" onChange="goToPage(this); return false;" size="1" style="border: 0; BACKGROUND: navy; COLOR: white; FONT-FAMILY: arial; FONT-SIZE: 15px; font-weight: bold;"> <option value="">Bowl Events</option> <option value="http://www.bcsticketsnow.com/bcschampionship.html" onclick="header.location.href='_top'">BCS Championship</option> <option value="http://www.bcsticketsnow.com/rosebowl.html">2009 Rose Bowl</option> <option value="http://www.bcsticketsnow.com/orangebowl.html">2009 Orange Bowl</option> <option value="http://www.bcsticketsnow.com/fiestabowl.html">2009 Fiesta Bowl</option> <option value="http://www.bcsticketsnow.com/sugarbowl.html">2009 Sugar Bowl</option> <option value="http://www.bcsticketsnow.com/chickfilabowl.html">2009 Chick-Fil-A Bowl</option> <option value="http://www.bcsticketsnow.com/capitalonebowl.html">2009 Capital One Bowl</option> <option value="http://www.bcsticketsnow.com/cottonbowl.html">2009 Cotton Bowl</option> <option value="http://www.bcsticketsnow.com/holidaybowl.html">2009 Holiday Bowl</option> </select></form> I will be brief in hoping that the issue does not require a thesis to properly fix. I'm dealing with tables within tables..within tables. In one instance, I have a 2x1 (row by column) table inside another table. So, we'll call the inside table "B" and the outside table "A". Table B is centered inside a column in Table A. I'm trying to maximize the space, but nearly nothing works. Setting Table B height=100% does nothing. The only thing that works is setting the height=N px, where N is a number. This is no good, as I want to the site to work on all resolutions. I want it to be proportional. How can I fix this? Here's what I'm dealing with, visually: Any help would be welcome. Thanks. ok i am making a car club site and im having problems with my tables . i have a couple tables within tables and i want the table that are within the tables to be aligned at the top. some of the tables are being aligned in the middle instead of the top . how can i fix this so all the tables are aligned at the top? http://pastebin.com/4wByQNZQ How would i get the Ref. number 7.2 aligned with Nuclear Customer Quality Assurance... Also, under the human resources tables, The alignment under Ref. is not aligning properly with Hiring Process. What is the procedure here? Thanks, Rukus I have tried everything I can think of. I am working on a site. For now it is on freewebs. This is the page I am working on "http://www.freewebs.com/expeditiousracing/intro.html". I am trying to get the copyright table to the bottom of the page. I know how to align tables, it's just not working. I aligned the one on the top and the one on the left. I don't understand why it won't align to the bottom. Please help. View problem site here. (A quick establishment of my skills: I learned HTML backwards. I decide what I want to do and learn how to do it, so my understanding of how the different codes interact is basic.) What I want to remedy is the set of horizontal lines extending across the page. Is there any way to have the lines touch the sides (as seen here)? The lines are contained inside a table, since other methods (like z-index) would not allow the horizontal lines to remain aligned with the rest of the layout. I have the table aligned with div layers. Here's the relevant portion of code: HTML Code: <div id="layout" style="top: 0px; margin-left: 0px"> Hopefully I'm not chasing a pink elephant with this. Thank you all for your help in advance. Hi I need help aligning a table with graphics heres the code I have now Quote: <!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=UTF-8" /> <title>Milkshake NYC | Home</title> </head> <body> <table width="820" border="0"> <tr> <td width="612"><img src="http://milkshakekicks.com/shoes/freshness_banner.png" border="1" /></td> <td width="197"><img src="http://milkshakekicks.com/shoes/fannyad.png" hspace="5" border="1" /></td> </tr> <tr> <td><img src="http://milkshakekicks.com/shoes/newkicks.png" border="1" /> <img src="http://milkshakekicks.com/shoes/newlook.png" border="1" /></td> <td><img src="http://milkshakekicks.com/shoes/contestad.png" hspace="5" border="1" /></td> </tr> </table> </body> </html> But I need the spacing between graphics to be a little more "intelligent" I would like equal space between all the elements, I tried messing around using horizontal and vertical spacing tool in dreamweaver but didn't get very far. Any help is appreciated Hello Experts, I am trying to display the attached table in my page. the problem I am facing is alignment of column values as Right justified. As you can see in the snap shot, The numbers inside the column arent aligned perfectly... If it possible to align the numbers and right justified (Not talking about right aligned with in the cell.) This works in FF but in IE7 the last table is aligned to the left of the next table instead of underneath it? HTML Code: ' <table width="800" border="0"> <tr> <td width="400" align="center" class="style4"> <p> </p> <p class="style3">How can we help? </p></td> <td width="400" align="center" class="style4"> <p> </p> <p class="style3"> Services </p> </td> </tr> </table> <hr color="#000000" /> <table align="left" cellpadding="0"width="400" border="0"> <tr> <td height="472" background="leftservbg.gif"><blockquote> <p align="left"> </p> <p align ="left" fo>Granny's Helping Hands provides competent relief for care givers. We can also help with children and new mothers with baby care. Before we assign a Nureses Aide to you, a representative from our office may visit you to develop a plan of care. This assessment helps us choose the best companion or aide to meet your needs. </p> <p align="left">We offer a variety of billing options to our clients. Most insurances are welcome. We are also a contracted participant of the local Area Agency for the Aging's Waiver and Options programs. In addition we are proud participants of Commcare, OBRA, and Independence Waivers. Our services are avialble from 1 1/2 to 24 hours a day, 7 days a week.</p> <p align="left"> </p> <p align="left"> </p> </td> </tr> </table> <table align="left" cellpadding=""width="400" border="0"> <tr> <td width ="95"></td> <td width="190" height="236" valign="top" background="rgtservbg.gif" > <p class="space"> </p> <p align="center"><strong> Personal Care</strong></p> <blockquote> <p align="left" >Granny's Helping Hands provides competent relief for care givers</p></td> <td width ="95"></td> </tr> </table> <table align="left" cellpadding=""width="400" border="0"> <tr > <td background="rgtservbg.gif" height="236" width="190" > <p> </p> <p>Granny's Helping Hands provides competent relief for care givers</p></td> <td background="rgtservbg.gif" width="190" > <p> </p> <p>Granny's Helping Hands provides competent relief for care givers</p></td> </tr> </table> So, I'm having trouble getting a table to align over a background in IE. It looks fine in every other browser as you can see he But this is what it looks like in IE, about 1 pixel over: You can view the site at: http://www.ringaroundwithrosie.com/aboutrosie2.html and the CSS here. Does anyone see anything that could explain why it is not aligned properly in IE? Thanks for your help! I made this table but I don't know how to move the text away from the table 'wall'. I would like it to be about two or three spaces away. I also just noticed the bullets are outside the table in Firefox. I played with making another table inside the table but couldn't get it right. You can see the example here. Thank you. Adam Here is the code: <center><table border="2" cellpadding="2" cellspacing="2" width="61%"> <tr> <td align="left"> <br> <center><a href="http://jimdouglasautosales.com" target="_blank" rel="nofollow"><img src="http://jimdouglasautosales.com/images/Craigslist/CraigslistVehicleListingLogo.jpg" width="400" height="115.4" border="0"></a></center> <hr> <br> <b><font size="5"> <br> <br> <font size="4"> Miles: <br> Options: <font size="3"> <LI type="disc"> <LI type="disc"> <LI type="disc"> <LI type="disc"> <LI type="disc"> <LI type="disc"> </MENU> VIN: <br> <font size="3"> (Ask for a free vehicle history report) <br> <br> Visit our <A HREF="http://www.jimdouglasautosales.com" TARGET="new"> website </A> . Financing and warranties available. We also buy vehicles. </td> </tr> </table> <br> I am trying to left-align this table and I cannot figure out why it will not behave. Mind you, the problem is only occurring in IE7 - IE8 and Firefox are fine. Please help? Code: <table summary="main content panel" align="left" bgcolor="#ffffff" border="0" cellpadding="0" width="535" height="200"> <tbody> <tr align="left"> <td align="left" width="15%"><img src="/images/369/images/content_image.png"><br><br><br><br></td> <td style="background: transparent url(/panel.png) no-repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; vertical-align: middle; text-align: center;" align="left" width="70%"><h2 style="font-family: Arial;"><font color="#0088ce" size="6">Project Initiative</font></h2><h1 style="font-family: Arial; text-align: center;"><font size="3" face="Arial">TEXT HERE</i>.</font></h1><br><br></td> </tr></tbody></table> Hi, I did not know how else to name the title, and so voila thats what i came up with. the problem is very simple, but because i am an amateur html programmer( i am speedily making progress) i do not know how to solve this problem. I have created a table the size to fit the resolution size of a 1280x960. thats not whats important, but im just explaining how it should look. I then split that table into 3 sections by using <table width="33%" border="1">. After that i put the information i want in the first section. now when i go to the middle section, when i input my information it suddenly gets placed in the center of that table. I would like to start at the top and work my way down so that i do not mess up any alignments. i want all three sections to be aligned without any outside forces (meaning i do not want the first section to affect the alignment of the second section). i am hoping someone who knows how to solve this problem can help me!! thanks. Goodday, This is a bit of a follow-up on my previous question, but in some ways, it's also a seperate problem: Have a look at this. In the first table, the height is determined by 'height="200"' and the position of the 'Text' is 24 pixels above the bottom, exactly what I wanted. But now in the second table: Here the height is determined by the content of the first row and the 'Text' part's height is way to big. What happened? Why isn't it showing a table with the height I have set? What should I do to tell a cell it's height, starting from the bottom of the table? Thank you for your help, Laurens, Hi all, my first post... I'm having troubles when i try to add a table after a left aligned table. When i add the second table it goes just at right of the previous table, not at bottom as i want. Example: HTML Code: <table width="60%" border="1" align="left" > <tr> <td> </td> <td> </td> <td> </td> </tr> <tr> <td> </td> <td> </td> <td> </td> </tr> <tr> <td> </td> <td> </td> <td> </td> </tr> </table> <table width="60%" border="1"> <tr> <td> </td> <td> </td> <td> </td> </tr> <tr> <td> </td> <td> </td> <td> </td> </tr> <tr> <td> </td> <td> </td> <td> </td> </tr> </table> Any sugestions about placing the second table at bottom of first one are welcome. Hi everyone. I am having a problem with a page. It is displaying fine in FF but not in IE. You can view this page at: http://www.jalc.org/about/2008_galle...008/index.html As you can see, when you look at this in IE it takes the image in the left column and puts it at the top and the image that is supposed to be in the right column moves over to the left. I am at a complete loss as to what might be causing this. Any help would be greatly appreciated. Andy |