HTML - Space Space Link
i almost went crazy trying to troubleshoot this one... thought i'd share.
HTML Code: <style type=text/css> a:link {font-family:Arial, Helvetica, sans-serif; font-size:12px;} </style> <table width="200" border="0" cellspacing="0" cellpadding="0"><tr> <td width="100" valign="top"> <a href="link">Sample text </a> <td width="100" valign="top"> <a href="link">Sample text</a> </td></tr></table> Turns out a "space" at the end of the link text pushes the text upwards slightly. Simply remove the space (or add on to the other line) or use the space code [ ] The css also plays a part, this doesn't appear happen when text is "unformatted" Similar TutorialsThis isn't merely an attempt to sound like something from "The Matrix", but I'm continuing to work on my companies website and for some reason in IE when I place a picture at a certain place the web page give me enough room to scroll the page right. (There isn't anything there, it just has a scroll bar at the bottom and you can scroll the whole thing right leaving it half off the page looking at just background.) Link: http://802heaven.analogcafe.net/TTCBeta/mainstage.html If someone could take a look at that and tell me some ideas for how to fix it that would be GRRRR8. Thanks. Just moved the site to its new server and added the navigation... now suddenly I have some spacing at the top and I need another set of eyes. http://www.phinfever.com/newsite Note*: Spacing not visible on IE7... it is on Firefox3 Hey guys, Need a little help with... http://www.netsketched.com/NRG/ There is a space up top that I can't get rid of. Also, is there a way I can make the layout flow to the bottom regardless of the amount of content? Hi Experts, I am facing some problem in the row spaces. I am new to project and previous programmer used some tool to write HTML code. now I am not able to understand the HTML part of code. I don't know why but the first row table border is missing in this. Here is the code:- <table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 style='margin-left:25.0pt margin-bottom:25.0pt;border-collapse:collapse'>" + "<tr height=25 style='height:19.1pt'> <td width=551 colspan=2 height=25 valign=top style='width:413.2pt;border: none;border-bottom:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt; height:19.1pt'> <p class=MsoNormal><font size=3 face="+ String.valueOf((char) (34)) +"Times New Roman"+ String.valueOf((char) (34)) +"><span style='font-size:12.0pt'>Hi " + Item[4] +",<o:p></o:p></span></font></p> <p class=MsoNormal><font size=3 face="+ String.valueOf((char) (34)) +"Times New Roman"+ String.valueOf((char) (34)) +"><span style='font-size:12.0pt'><o:p> </o:p></span></font></p> <p class=MsoNormal style='text-align:justify'><font size=3 face="+ String.valueOf((char) (34)) +"Times New Roman"+ String.valueOf((char) (34)) +"><span style='font-size:12.0pt'>It was a pleasure talking to you. Based on our discussions I have forwarded your resume to my Business Development Manager (see below) who will be either calling or emailing you very soon with other details.<o:p></o:p></span></font></p>" + "<br><p class=MsoNormal style='text-align:justify'><font size=3 face="+ String.valueOf((char) (34)) +"Times New Roman"+ String.valueOf((char) (34)) +"><span style='font-size:12.0pt'>The job description for this assignment is as follows:<o:p></o:p></span></font></p><p class=MsoNormal style='margin-left:3.45pt'><font size=2 f=Arial><span style='font-size:11.0pt;font-family:Arial'><o:p> </o:p></span></font></p></td> </tr>" + "<tr height=34 style='height:25.4pt'><td width=132 height=34 valign=top style='width:99.3pt;border:solid windowtext 1.0pt; border-top:none;padding:0in 5.4pt 0in 5.4pt;height:25.4pt'><p class=MsoNormal align=right style='text-align:right'><b><font size=2 color="+ String.valueOf((char) (34)) +"#3366ff"+ String.valueOf((char) (34)) +" face=Tahoma><span style='font-size:11.0pt;font-family:Tahoma; color:#3366FF;font-weight:bold'>Location:<o:p></o:p></span></font></b></p> <p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p></td><td width=619 height=34 valign=top style='width:313.9pt;border-top:none; border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt; padding:0in 5.4pt 0in 5.4pt;height:25.4pt'><p class=MsoNormal><font size=3 face="+ String.valueOf((char) (34)) +"Times New Roman"+ String.valueOf((char) (34)) +"><span style='font-size:12.0pt'>" +Location +"<o:p></o:p></span></font></p></td></tr>" + "<tr height=34 style='height:25.55pt'><td width=132 height=34 valign=top style='width:99.3pt;border:solid windowtext 1.0pt; border-top:none;padding:0in 5.4pt 0in 5.4pt;height:25.55pt'><p class=MsoNormal align=right style='text-align:right'><b><font size=2 color="+ String.valueOf((char) (34)) +"#3366ff"+ String.valueOf((char) (34)) +" face=Tahoma><span style='font-size:11.0pt;font-family:Tahoma; color:#3366FF;font-weight:bold'>Job description:<o:p></o:p></span></font></b></p><p class=MsoNormal align=right style='text-align:right'><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></font></p></td><td width=619 height=34 valign=top style='width:313.9pt;border-top:none; border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt; padding:0in 5.4pt 0in 5.4pt;height:25.55pt'> <p class=MsoNormal><font size=3 face="+ String.valueOf((char) (34)) +"Times New Roman"+ String.valueOf((char) (34)) +">" +DesC +"</p></td></tr>" + "<tr height=34 style='height:25.4pt'><td width=132 height=34 valign=top style='width:99.3pt;border:solid windowtext 1.0pt;border-top:none;padding:0in 5.4pt 0in 5.4pt;height:25.4pt'><p class=MsoNormal align=right style='text-align:right'><b><font size=2 color="+ String.valueOf((char) (34)) +"#3366ff"+ String.valueOf((char) (34)) +" face=Tahoma><span style='font-size:11.0pt;font-family:Tahoma; color:#3366FF;font-weight:bold'>Duration:<o:p></o:p></span></font></b></p><p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p></td><td width=619 height=34 valign=top style='width:313.9pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt; padding:0in 5.4pt 0in 5.4pt;height:25.4pt'><p class=MsoNormal><font size=3 face="+ String.valueOf((char) (34)) +"Times New Roman"+ String.valueOf((char) (34)) +"><span style='font-size:12.0pt'>" +Duration +"<o:p></o:p></span></font></p></td></tr>" + "<tr height=34 style='height:25.4pt'><td width=132 height=34 valign=top style='width:99.3pt;border:solid windowtext 1.0pt;border-top:none;padding:0in 5.4pt 0in 5.4pt;height:25.4pt'><p class=MsoNormal align=right style='text-align:right'><b><font size=2 color="+ String.valueOf((char) (34)) +"#3366ff"+ String.valueOf((char) (34)) +" face=Tahoma><span style='font-size:11.0pt;font-family:Tahoma;color:#3366FF;font-weight:bold'>Details:<o:p></o:p></span></font></b></p><p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></font></p></td>" + "<td width=619 height=34 valign=top style='width:313.9pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt; padding:0in 5.4pt 0in 5.4pt;height:25.4pt'><p class=MsoNormal><font size=3 face="+ String.valueOf((char) (34)) +"Times New Roman"+ String.valueOf((char) (34)) +"><span style='font-size:12.0pt'>TBD</span></font></p></td></tr>" + "<tr height=34 style='height:25.4pt'><td width=132 height=34 valign=top style='width:99.3pt;border:solid windowtext 1.0pt; border-top:none;padding:0in 5.4pt 0in 5.4pt;height:25.4pt'><p class=MsoNormal align=right style='text-align:right'><b><font size=2 color="+ String.valueOf((char) (34)) +"#3366ff"+ String.valueOf((char) (34)) +" face=Tahoma><span style='font-size:11.0pt;font-family:Tahoma; color:#3366FF;font-weight:bold'>BDM / Marketing Manager<o:p></o:p></span></font></b></p></td><td width=619 height=34 valign=top style='width:313.9pt;border-top:none; border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt; padding:0in 5.4pt 0in 5.4pt;height:25.4pt'><p class=MsoNormal><font size=3 face="+ String.valueOf((char) (34)) +"Times New Roman"+ String.valueOf((char) (34)) +"><span style='font-size:12.0pt'>" + StaffName + " " + basUtilities.DLookup("EXT" , "EmailContact", "FirstName='" + basUtilities.UserID() + "'") + "<o:p></o:p></span></font></p> </td></tr>" +NewColumSkill +"</table>" + Please help me to fix this. I just finished my website and inserted so flash in it before I inserted the flash everything was fine after I inserted the flash a lot of space was created under it I used the layers method because I need my flash to be on top of something. But for some reason alot of extra space is created. I tried this on a different website on mine too and the same thing happened. Here is the link have a look at it. Notice the extra space under the stickman the white space between the stickman and the footer if you can't tell then open any different page like the updates because that doesn't have the stick man. I will upload the code after maybe, but check to see what could be wrong http://differentworld.comze.com thanks, Ali Ok, so I have a table, with multiple pics in it. One under the other... the issue is in firefox there is a space between the columns of each table.... but its fine in Internet Explorer. Check my code: Code: <!DOCTYPE HTML PUBLIC "-//w3c/DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <style> </style> </head> <body> <body style="background-image: url(background.jpg); background-repeat: repeat-y; background-color: black; background-position: center"> <div align="center" id=background> <table id=titletable width="768" border="0" cellpadding="0" cellspacing="0"> <tr cellpadding="0" cellspacing="0"> <td><img src="images/title1.jpg"/></td><td><img src="images/title2.jpg"/></td><td><img src="images/title3.jpg"/></td><td><img src="images/title4.jpg"/></td><td><img src="images/title5.jpg"/></td> <td><img src="images/title6.jpg"/></td><td><img src="images/title7.jpg"/></td><td><img src="images/title8.jpg"/></td> </tr> <tr> <td colspan="8"><img src="images/banner.jpg"/></td> </tr> </table> </div> Look at the too pages. P1= http://chapai.net/xhtml_prob/html_smpl.htm Code: !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>html Sample</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> ....................... P2= http://chapai.net/xhtml_prob/x_smpl.html Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <title>XHTML Sample</title> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> .......... P1 page is smooth but P2 page is not. Hare is white space at the uper side and lower side of the images. How to remove this space? Please Help. Hello, what's the code that allow me a space between posts ? Like this blog http://blog.yimmyayo.com/ the line between my posts is very very "delicate"..and it's kinda annoy me Thanks. I've attached a screenshot showing the way it displays in firefox and the code. How can I get the menu to move up so I don't have such a space? Thank you for your help and this is due in an hour! 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> <title>david2</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> </head> <body bgcolor="#FFFFFF"> <!-- DO NOT MOVE! The following AllWebMenus linking code section must always be placed right AFTER the BODY tag--> <!-- ******** BEGIN ALLWEBMENUS CODE FOR menu ******** --> <script type="text/javascript">var MenuLinkedBy="AllWebMenus [4]",awmMenuName="menu",awmBN="730";awmAltUrl="";</script><script charset="UTF-8" src="menu.js" type="text/javascript"></script><script type="text/javascript">awmBuildMenu();</script> <!-- ******** END ALLWEBMENUS CODE FOR menu ******** --> <!-- ImageReady Slices (david2.psd) --> <table id="Table_01" width="901" border="0" cellpadding="0" cellspacing="0"> <tr> <td colspan="10"> <img id="david_01" src="images/david_01.jpg" width="901" height="41" alt="" /></td> </tr> <tr> <td colspan="7" rowspan="4"> <img id="david_02" src="images/david_02.jpg" width="791" height="110" alt="" /></td> <td> <img id="david_03" src="images/david_03.jpg" width="81" height="24" alt="" /></td> <td colspan="2" rowspan="2"> <img id="david_04" src="images/david_04.jpg" width="29" height="46" alt="" /></td> </tr> <tr> <td> <img id="david_05" src="images/david_05.jpg" width="81" height="22" alt="" /></td> </tr> <tr> <td colspan="2"> <img id="david_06" src="images/david_06.jpg" width="82" height="23" alt="" /></td> <td rowspan="2"> <img id="david_07" src="images/david_07.jpg" width="28" height="64" alt="" /></td> </tr> <tr> <td colspan="2"> <img id="david_08" src="images/david_08.jpg" width="82" height="41" alt="" /></td> </tr> <tr> <td><span id='awmAnchor-menu'> </span></td> <td> </td> <td> </td> <td> </td> <td> </td> <td> </td> <td colspan="4"> <img id="david_15" src="images/david_15.jpg" width="206" height="38" alt="" /></td> </tr> <tr> <td colspan="10"> <img id="david_16" src="images/david_16.jpg" width="901" height="28" alt="" /></td> </tr> <tr> <td> <img src="images/spacer.gif" width="88" height="1" alt="" /></td> <td> <img src="images/spacer.gif" width="115" height="1" alt="" /></td> <td> <img src="images/spacer.gif" width="102" height="1" alt="" /></td> <td> <img src="images/spacer.gif" width="199" height="1" alt="" /></td> <td> <img src="images/spacer.gif" width="99" height="1" alt="" /></td> <td> <img src="images/spacer.gif" width="92" height="1" alt="" /></td> <td> <img src="images/spacer.gif" width="96" height="1" alt="" /></td> <td> <img src="images/spacer.gif" width="81" height="1" alt="" /></td> <td> <img src="images/spacer.gif" width="1" height="1" alt="" /></td> <td> <img src="images/spacer.gif" width="28" height="1" alt="" /></td> </tr> </table> <!-- End ImageReady Slices --> </body> </html> Anders Hi! I've looked it over and over ant I can't seem to find the solution to this. A huge space appears on my webpage without permission! Here is the code HTML Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <SCRIPT TYPE="text/javascript"> function popup(mylink, annonces) { if (! window.focus)return true; var href; if (typeof(mylink) == 'string') href=mylink; else href=mylink.href; window.open(href, annonces, 'width=600,height=600,scrollbars=yes'); return false; } // </SCRIPT> <TITLE>Duo: balalaika et piano -- Dmitri Nassyrov et Victoria Khramova</TITLE> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; Charset=Windows-1251"> <META NAME="GENERATOR" CONTENT="Microsoft FrontPage 5.0"> <META NAME="Author" CONTENT="Dmitri Nassyrov"> <META NAME="KeyWords" CONTENT="balalaika, Victoria, Khramova, Dmitri, Nassyrov, concerts, piano, duo, stringsandkeys, douce, soiree, histoire, du, balalaika"> <META NAME="Description" CONTENT="Le duo du balalaïka et du piano: Dmitri Nassyrov et Victoria Khramova, ont un repertoire tres varié: folklorique, classique, jazz, et autres... "> <TITLE>Duo:balalaïka et piano - Dmitri Nassyrov et Victoria Khramova</TITLE> <link rel="stylesheet" type="text/css" href="style.css" /> </HEAD> <div id="container"> <BODY BGCOLOR="#000000" TEXT="#000000" LINK="#0000FF" VLINK="#7F007F" ALINK="#FF0000" BACKGROUND="../img/bcknd.jpg" bgproperties="fixed"> <script language="javascript"> var u=13200; var vsbl=0; var l=''; </script> <script type="text/javascript" language=Javascript src="http://h1.hitslog.com/counter.js"></script> <script language="javascript"> document.write('<a href=http://hitslog.com/><img border=0 width=1 height=1 src=http://h1.hitslog.com/hl.php?'+l+'></a>'); </script> <noscript> <a href="http://hitslog.com/"><img border=0 width=1 height=1 src="http://h1.hitslog.com/hl.php?u=13200" alt="MySpace tracker"></a></noscript> <TABLE id="main"> <tR width=720 height=160> <td valign=top width=615 height=160><IMG width=615 height=160 alt="Duo: balalaïka et piano - Dmitri Nassyrov et Victoria Khramova" SRC="../site/IMG/HEADER2.gif"> </td> <td> <table valign=center width=105 height=75 cellpadding=0> <tr class="lang"> <img alt="En Français" border=0 src="../site/img/francaisclik.gif" > </tr> <tr class="lang"> <a href="../eng/index.html"><img alt="In English" onmouseover="this.src='../site/img/englishon.gif'" onmouseout="this.src='../site/img/english.gif'" onclick="this.src='../site/img/englishclik.gif'" border=0 src="../site/img/english.gif"></a> </tr> <tr class="lang"> <a href="../rus/index.html"><img alt="По-Русски" onmouseover="this.src='../site/img/russianon.gif'" onmouseout="this.src='../site/img/russian.gif'" onclick="this.src='../site/img/russianclik.gif'" border=0 src="../site/img/russian.gif"></a> </tr> <tr width=100 height=85> <img alt="Duo: balalaïka et piano - Dmitri Nassyrov et Victoria Khramova" src="../site/img/sideheader.gif"> </tr> </table> </td> </tR> <!--The big space is here--> <TR> <td colspan=2> <table width=720> <tr> <td valign=top> <TABLE valign=top> <TR> <TD class="menu"><A HREF="INDEX.HTML"><img src="../img/bienvenueclik.gif" alt="Bienvenue" border="0"></a></TD> </TR> <TR> <TD class="menu"><A HREF="DUO.HTML"><img src="../img/leduo.gif" alt="Notre duo" onmouseover="this.src='../img/leduoon.gif'" onmouseout="this.src='../img/leduo.gif'" onclick="this.src='../img/leduoclik.gif'" border="0"></A></TD> </TR> <TR> <TD class="menu"><A HREF="concerts.HTML"><img src="../img/concerts.gif" alt="Nos concerts" onmouseover="this.src='../img/concertson.gif'" onmouseout="this.src='../img/concerts.gif'" onclick="this.src='../img/concertsclik.gif'" border="0"></A></TD> </TR> <TR> <TD class="menu"><A HREF="audio.HTML"><img src="../img/audio.gif" alt="Notre musique" onmouseover="this.src='../img/audioon.gif'" onmouseout="this.src='../img/audio.gif'" onclick="this.src='../img/audioclik.gif'"border="0"></A></TD> </TR> <TR> <TD class="menu"><A HREF="historique.HTML"><img src="../img/historique.gif" alt="L'Histoire du balalaïka" onmouseover="this.src='../img/historiqueon.gif'" onmouseout="this.src='../img/historique.gif'" onclick="this.src='../img/historiqueclik.gif'" border="0"></A></TD> </TR> <TR> <TD class="menu"><A HREF="liens.HTML"><img src="../img/liens.gif" alt="Liens" onmouseover="this.src='../img/lienson.gif'" onmouseout="this.src='../img/liens.gif'" onclick="this.src='../img/liensclik.gif'" border="0"></A></TD> </TR> <TR> <TD class="menu"><A HREF="contact.HTML"><img src="../img/contact.gif" alt="Comment nous rejoindre" onmouseover="this.src='../img/contacton.gif'" onmouseout="this.src='../img/contact.gif'" onclick="this.src='../img/contactclik.gif'" border="0"></A></TD> </TR> </TABLE> </tD> <TD VALIGN=top> <table id="text" height=100% width=500 cellpadding=20 style="BACKGROUND: url('../site/img/textbcknd.jpg'); "> <tr> <!--<marquee id="test" onMouseOver="document.all.test.stop()" onMouseOut="document.all.test.start()" scrollamount="2" scrolldelay="20" width="100%" height="51" behavior="scroll" direction="left"><font face="arial" align=middle><i> <A HREF="annonces3.html" onClick="return popup(this, 'annonces',true)"><b>17 novembre - 20:00</b></A><br> Festival "From Russia With Love"<br> à la bibliothèque publique juive. </i></font></marquee>--> </tr> <tr> <td valign=top> <font face="times new roman" size=3> <h2>Un duo, c'est indivisible...</h2> <p align=justify>Dans un duo, le rôle de chaque musicien n'est pas seulement de compléter son partenaire, mais aussi de souligner la sonorité de son instrument.</p> <p align=justify>Notre duo est assez particulier et assez unique à Montréal. Les deux instruments composant notre duo sont: le piano et le balalaïka - instrument folklorique russe. Les possibilitées de cette union sont surprenantes, dans le répertoi folklore, classique, jazz...</p> <hr width=95%></hr> <p>Sur ce site, vous trouverez de l'information sur nos <A HREF="concerts.HTML">concerts</A>, vous pourrez écouter nos <A HREF="audio.HTML">enregistrements</A>, lire nos <A HREF="DUO.HTML">biographies</A>, et plus encore.</p> <p>Et, bien sûr, nous serons heureux de vous voir à nos concerts!</P> <p><i>Dmitri Nassyrov et Victoria Khramova</i></p> </TD> </tr> </table> </td> </tr> </table> </td> </TR> </TABLE> <font face="arial" size=1 align=right> &nb sp; &nb sp; &nb sp; Dmitri Nassyrov et Victoria Khramova © Tous droits réservés.</font> </BODY> </div> </HTML> I put "The big space is here" where the space occurs. The weird thing is that if I open the file in some html editing software (frontpage), it looks fine, but once I open it in IE, the space appears. Here is the style.css file if it needs checking: HTML Code: body { text-align: center; background-color: rgb(239,197,137); } #container { margin: 0 auto; } #main { border:0px; /* border="0" */ border-collapse:collapse; /* cellspacing="0" */ } #top { border:0px; /* border="0" */ border-collapse:collapse; /* cellspacing="0" */ } tr.lang { horizontal-align:left; width:100px; height:25px; } td.menu { width:220; height:40; } table { border-collapse:collapse; } #text { padding:20px; } Any help is appreciated. Thank you for your time! I want to save some space by avoiding rewriting some code that connects to server and database etc. Is there a way to do this in html? I know you can do somethihng similar in java (methods at end of program or seperate from program with new 'public stat...'). Well ive just started converting one of my old sites which used tables to CSS etc and have run into a very small problem. Ive taken everything else away till i can sort this so its a little easier and clearer, the site is www.rharris28.com in IE(7) there is a small space between the first image (blue and triangle shape) meet the home image. This forces the last image onto a new line because it cant fit on that line. In FF its fine and looks great to me. The Code for that is... Code: <div id="background" align="center"> <div id="container" align="left"> <div id="tbbg"></div> <div id="tb"><img src="/images/separator.gif"><img src="/images/but_home.gif"><img src="/images/separator.gif"><img src="/images/but_site_map.gif"><img src="/images/separator.gif"><img src="/images/but_contacts.gif"><img src="/images/separator.gif"><img src="/images/fon01.gif" width="231px" height="41px"></div> </div> </div> and the CSS is Code: * { margin: 0; } #background { background-color:#01557C; height: 100%; width: 100%; } #container { background-color:#FFFFFF; width: 759px; height:500px; } #tbbg { background-image:url(/images/main01.jpg); width:256px; height:41px; float: left; } #tb { } I cant see anything wrong and cant work it out. Thanks. Hello, Please have a look at this site: http://www.shahspace.com/bow/home.html As you can see, I have two div colored pink and some space between them and around them. I'd like to get rid of all spacing but I can't. Here's the code: Code: <html> <head> <title>The Bow Tower</title> <style> body { background: url('content_bg.jpg'); background-repeat: repeat-x; } #textdiv { width: 230px; height: 100%; background-color: #ffaaaa; float: left; padding: 0; margin: 0; } #imgdiv { width: 250px; height: 100%; background-color: #ffaaaa; padding: 0; margin: 0; } span { font-size: 18pt; font-family: verdana; font-weight: bold; } </style> </head> <body> <div id="textdiv"> <br> <br> <span> The Bow Tower<br> </span> <br> <br> <ul> <li><a href="services.html">Services</a></li> <li><a href="information.html">Information</a></li> <li><a href="health_safety.html">Health and Safety</a> <li><a href="index.html">Index</a> </ul> </div> <div id="imgdiv"><img align=right src="bow tower.jpg" border=0></div> </tr> </table> </body> </html> What can I do to get rid of the spacing (I'm working in IE9). Hi, The following code works fine for me except it adds extra spaces on the top of the table. I have searched everywhere for answers in vain. Can anyone help me solve it. thanks in advance. We use Expression Engine Here is the code: <table bgcolor="#003399" border=".1" cellpadding="0" cellspacing="0" style="height: 73px;" width="715"> <tbody> <tr> <td style="TEXT-ALIGN: center;font-size:13pt;font-weight:bold;color:#ffffff"> <h1><img height="62" src="{filedir_6}CD.jpg" style="border: .1px solid Black; margin: .5px; float: left;" width="241" /></h1> <p>Client Advocacy</p> </td> </tr> </tbody> </table> site validates.... I've gotten rid of this space a few times, but it always tends to come back... Im out of ideas of what it could be, and figured another set of eyes could help me out. http://rse.pzproductions.com Any help is greatly appreciated :-) Also... the space only shows up on the homepage....but! the RSE Poll is only lined up correctly on the homepage as well, on every other page its dropped down into the content section. Obviously I am having some issues here, and any help would be so appreciated at this point Hey everyone, I'm working on this page http://www.executivetravellink.com/flights-test.htm. I have included two seperate very basic tables that I don't want much space between, but as you can see on the page, something is going wrong and there is a huge gap in between the two tables. This only seems to happen in Internet Explorer as Firefox automatically fixes the problem. If anyone can figure out a solution for this issue, it would be much appreciated. Thanks in advance Here's the code of the two tables so you wouldn't have to check the source code of the entire page: HTML Code: <table style="width: 670px; border: #000000 0px solid;" border="0" cellpadding="2" align="center"> <tbody> <tr> <td style="text-align: center;"><a href="https://book.executivetravellink.com/web/air/results.aspx?siid=47192&AirSegCount=1&aCount=1&cCount=0&iLCount=0&Airline=&Class=Economy&DirectFlight=False&Refundable=False&AirSeg_1=LAX%7cLGA%7c11%2f03%2f2011%7c%7c-1%7c-1%7c%7c"><img src="images/la-ny.jpg" alt="" width="166" height="124" /></a></td> <td style="text-align: center;"><a href="https://book.executivetravellink.com/web/air/results.aspx?siid=47192&AirSegCount=1&aCount=1&cCount=0&iLCount=0&Airline=&Class=Economy&DirectFlight=False&Refundable=False&AirSeg_1=LGB%7cSFO%7c11%2f03%2f2011%7c%7c-1%7c-1%7c%7c"><img src="images/la-sf.jpg" alt="" width="166" height="124" /></a></td> <td style="text-align: center;"><a href="https://book.executivetravellink.com/web/air/results.aspx?siid=47192&AirSegCount=1&aCount=1&cCount=0&iLCount=0&Airline=&Class=Economy&DirectFlight=False&Refundable=False&AirSeg_1=ORD%7cLGA%7c11%2f03%2f2011%7c%7c-1%7c-1%7c%7c"><img src="images/chi-ny.jpg" alt="" width="166" height="124" /></a></td> </tr> <tr> <td style="text-align: center;"><span style="text-decoration: underline;"><strong><a href="https://book.executivetravellink.com/web/air/results.aspx?siid=47192&AirSegCount=1&aCount=1&cCount=0&iLCount=0&Airline=&Class=Economy&DirectFlight=False&Refundable=False&AirSeg_1=LAX%7cLGA%7c11%2f03%2f2011%7c%7c-1%7c-1%7c%7c">Los Angeles to New York</a></strong></span></td> <td style="text-align: center;"> <strong><a href="https://book.executivetravellink.com/web/air/results.aspx?siid=47192&AirSegCount=1&aCount=1&cCount=0&iLCount=0&Airline=&Class=Economy&DirectFlight=False&Refundable=False&AirSeg_1=LGB%7cSFO%7c11%2f03%2f2011%7c%7c-1%7c-1%7c%7c">Los Angeles to San Francisco</a></strong></td> <td style="text-align: center;"><span style="text-decoration: underline;"><strong><a href="https://book.executivetravellink.com/web/air/results.aspx?siid=47192&AirSegCount=1&aCount=1&cCount=0&iLCount=0&Airline=&Class=Economy&DirectFlight=False&Refundable=False&AirSeg_1=ORD%7cLGA%7c11%2f03%2f2011%7c%7c-1%7c-1%7c%7c">Chicago to New York</a></strong></span></td> </tr> <tr> <td style="text-align: center;"><strong>from <span style="color: #ff6600;"><a href="https://book.executivetravellink.com/web/air/results.aspx?siid=47192&AirSegCount=1&aCount=1&cCount=0&iLCount=0&Airline=&Class=Economy&DirectFlight=False&Refundable=False&AirSeg_1=LAX%7cLGA%7c11%2f03%2f2011%7c%7c-1%7c-1%7c%7c"><span style="color: #ff6600;">$184.40</span></a></span> one way </strong></td> <td style="text-align: center;"> <strong>from <span style="color: #ff6600;"><a href="https://book.executivetravellink.com/web/air/results.aspx?siid=47192&AirSegCount=1&aCount=1&cCount=0&iLCount=0&Airline=&Class=Economy&DirectFlight=False&Refundable=False&AirSeg_1=LGB%7cSFO%7c11%2f03%2f2011%7c%7c-1%7c-1%7c%7c"><span style="color: #ff6600;">$131.00</span></a></span> one way</strong></td> <td style="text-align: center;"><strong>from <span style="color: #ff6600;"><a href="https://book.executivetravellink.com/web/air/results.aspx?siid=47192&AirSegCount=1&aCount=1&cCount=0&iLCount=0&Airline=&Class=Economy&DirectFlight=False&Refundable=False&AirSeg_1=ORD%7cLGA%7c11%2f03%2f2011%7c%7c-1%7c-1%7c%7c"><span style="color: #ff6600;">$120.33</span></a></span> one way </strong></td> </tr> </tbody> </table> <table style="background-color: #ffffcc; width: 670px; border: #000000 2px solid;" border="2" cellspacing="2" cellpadding="2" align="center"> <tbody> <tr> <td colspan="5"><img src="images/cheap-flights-banner.jpg"></td> </tr> <tr> <td><span style="text-decoration: underline;"><strong>Departure</strong></span></td> <td><span style="text-decoration: underline;"><strong>Destination</strong></span></td> <td><span style="text-decoration: underline;"><strong>Travel Date</strong></span></td> <td><span style="text-decoration: underline;"><strong>Airline</strong></span></td> <td><span style="text-decoration: underline;"><strong>From</strong></span></td> </tr> <tr> <td><span style="color: #0000ff;"><strong>Los Angeles</strong></span></td> <td><strong><span style="color: #008080;">New York</span></strong></td> <td><span style="color: #993300;"><strong>November 3, 2011</strong></span></td> <td><img src="images/jetblue-thumb.jpg"><br> <img src="images/us-airways-thumb.jpg"></td> <td><span style="color: #ff6600;"><strong><a href="https://book.executivetravellink.com/web/air/results.aspx?siid=47192&AirSegCount=1&aCount=1&cCount=0&iLCount=0&Airline=&Class=Economy&DirectFlight=False&Refundable=False&AirSeg_1=LAX%7cLGA%7c11%2f03%2f2011%7c%7c-1%7c-1%7c%7c"><span style="color: #ff6600;">$184.40</span></a></strong></span></td> </tr> <tr> </tr> <tr> </tr><tr> </tr> <tr> </tr> <tr> <td><span style="color: #0000ff;"><strong>Los Angeles</strong></span></td> <td><strong><span style="color: #008080;">San Francisco</span></strong></td> <td><span style="color: #993300;"><strong>November 3, 2011</strong></span></td> <td><img src="images/jetblue-thumb.jpg"></td> <td><span style="color: #ff6600;"><strong><a href="https://book.executivetravellink.com/web/air/results.aspx?siid=47192&AirSegCount=1&aCount=1&cCount=0&iLCount=0&Airline=&Class=Economy&DirectFlight=False&Refundable=False&AirSeg_1=LGB%7cSFO%7c11%2f03%2f2011%7c%7c-1%7c-1%7c%7c"><span style="color: #ff6600;">$131.00</span></a></strong></span></td> </tr> <tr> </tr> <tr> </tr><tr> </tr> <tr> </tr> <tr> <td><span style="color: #0000ff;"><strong>Chicago</strong></span></td> <td><strong><span style="color: #008080;">New York</span></strong></td> <td><span style="color: #993300;"><strong>November 3, 2011</strong></span></td> <td><img src="images/delta-thumb.jpg"></td> <td><span style="color: #ff6600;"><strong><a href="https://book.executivetravellink.com/web/air/results.aspx?siid=47192&AirSegCount=1&aCount=1&cCount=0&iLCount=0&Airline=&Class=Economy&DirectFlight=False&Refundable=False&AirSeg_1=ORD%7cLGA%7c11%2f03%2f2011%7c%7c-1%7c-1%7c%7c"><span style="color: #ff6600;">$120.33</span></a></strong></span></td> </tr> <tr> </tr> <tr> </tr><tr> </tr> <tr> </tr> <tr> <td><span style="color: #0000ff;"><strong>Boston </strong></span></td> <td><strong><span style="color: #008080;">New York</span></strong></td> <td><span style="color: #993300;"><strong>November 3, 2011</strong></span></td> <td><img src="images/jetblue-thumb.jpg"><br> <img src="images/delta-thumb.jpg"><br></td> <td><span style="color: #ff6600;"><strong><a href="https://book.executivetravellink.com/web/air/results.aspx?siid=47192&AirSegCount=1&aCount=1&cCount=0&iLCount=0&Airline=&Class=Economy&DirectFlight=False&Refundable=False&AirSeg_1=BOS%7cJFK%7c11%2f03%2f2011%7c%7c-1%7c-1%7c%7c"><span style="color: #ff6600;">$128.63</span></a></strong></span></td> </tr> <tr> </tr> <tr> </tr><tr> </tr> <tr> </tr> <tr> <td><span style="color: #0000ff;"><strong>Miami</strong></span></td> <td><strong><span style="color: #008080;">New York</span></strong></td> <td><span style="color: #993300;"><strong>November 3, 2011</strong></span></td> <td><img src="images/airtran-thumb.jpg"><br> <img src="images/us-airways-thumb.jpg"></td> <td><span style="color: #ff6600;"><strong><a href="https://book.executivetravellink.com/web/air/results.aspx?siid=47192&AirSegCount=1&aCount=1&cCount=0&iLCount=0&Airline=&Class=Economy&DirectFlight=False&Refundable=False&AirSeg_1=FLL%7cLGA%7c11%2f03%2f2011%7c%7c-1%7c-1%7c%7c"><span style="color: #ff6600;">$128.66</span></a></strong></span></td> </tr> <tr> </tr> <tr> </tr><tr> </tr> <tr> </tr> <tr> <td><span style="color: #0000ff;"><strong>Atlanta</strong></span></td> <td><span style="color: #008080;"><strong>New York</strong></span></td> <td><span style="color: #993300;"><strong>November 3, 2011</strong></span></td> <td><img src="images/us-airways-thumb.jpg"><br></td> <td><span style="color: #ff6600;"><strong><a href="https://book.executivetravellink.com/web/air/results.aspx?siid=47192&AirSegCount=1&aCount=1&cCount=0&iLCount=0&Airline=&Class=Economy&DirectFlight=False&Refundable=False&AirSeg_1=ATL%7cHPN%7c11%2f03%2f2011%7c%7c-1%7c-1%7c%7c"><span style="color: #ff6600;">$233.90</span></a></strong></span></td> </tr> <tr> </tr> <tr> </tr><tr> </tr> <tr> </tr> <tr> <td><strong><span style="color: #0000ff;">New York</span></strong></td> <td><strong><span style="color: #008080;">San Francisco</span></strong></td> <td><strong><span style="color: #993300;">November 3, 2011</span></strong></td> <td><img src="images/delta-thumb.jpg"><br> <img src="images/jetblue-thumb.jpg"></td> <td><span style="color: #ff6600;"><strong><a href="https://book.executivetravellink.com/web/air/results.aspx?siid=47192&AirSegCount=1&aCount=1&cCount=0&iLCount=0&Airline=&Class=Economy&DirectFlight=False&Refundable=False&AirSeg_1=JFK%7cSFO%7c11%2f03%2f2011%7c%7c-1%7c-1%7c%7c"><span style="color: #ff6600;">$197.42</span></a></strong></span></td> </tr> </tbody> </table> Hi I have been working on a project. Making an editor that does not use any browsers built in html editor(they are limited and break so easily). anyway as part of this to select items I use an onclick event and this includes the letters. To get this to work each character has it's own span eg <span>o</span><span>k</span> Everything work really well except on internet explorer where a space is not being rendered eg <span>o</span><span> </span><span>k</span> appears as "ok" not "o k" I was wondering if anyone knows a way around this? or can think of another solution? Any help would be much appreciated. Hi All im trying to add a space in <div> tags, all i want to do is add a space of 15px to seperate the menu from the table so it looks alot better can some one tell me if this is the correct way. HTML Code: <div class="Space"></div> <div class="table"> </div> <div class="main"> <asp:ContentPlaceHolder ID="MainContent" runat="server"/> </div> <div class="clear"> </div> At the top you can see a class called "space" which is just a height of "15px" and then the next class is table before i started using Div tags i would pf just wrote <tr><td height="15"></td></tr> so i just wanna make sure what im doing to achieve what i want is correct? Thanks on advance. Hey, I was working on some things and learning how to do some stuff on a template I was working with and there's a huge space to the right of the template that idk how to get rid of. Can anyone help me? http://www.teamafterglow.com/templates/index.php |