HTML - How To Eliminate Blank Spaces Before And After Links
I used the "clear pixel trick" to put space between some links (see code below). It works, but the thing that bugs me is that a blank space remains at the beginning and end of each link (except for the first link, which only has a blank space at its end). See the webpage if you want to see exactly what i'm talking about: www.chicagolandaudioconsultants.com
This looks a bit sloppy to me and i'd like to get rid of these spaces. Does anyone know how I can do that? Thanks, any help is appreciated. <A HREF="http://www.chicagolandaudioconsultants.com/aboutus.html">[About Us]</A> <IMG SRC="dot_clear.gif" border="0" HEIGHT="1" WIDTH="30" HSPACE="1" VSPACE="1"> <A HREF="http://www.chicagolandaudioconsultants.com/lessonsandtutoring.html">[Lessons and Tutoring]</A> <IMG SRC="dot_clear.gif" border="0" HEIGHT="1" WIDTH="30" HSPACE="1" VSPACE="1"> <A HREF="http://www.chicagolandaudioconsultants.com/computerrepair.html">[Computer Repair]</A> <IMG SRC="dot_clear.gif" border="0" HEIGHT="1" WIDTH="30" HSPACE="1" VSPACE="1"> <A HREF="http://www.chicagolandaudioconsultants.com/studiodesign&installation.html">[Studio Design and Installation]</A> <IMG SRC="dot_clear.gif" border="0" HEIGHT="1" WIDTH="30" HSPACE="1" VSPACE="1"> <A HREF="http://www.chicagolandaudioconsultants.com/advancedtutorials.html">[Advanced Tutorials]</A> Similar TutorialsI'm a newbie and I have a simple question. I designed a simple html page. The goal of the page was to place a YouTube player inside graphics that make it look like a tv....sounds pretty simple right? So I built a bunch of tables and graphics 4 times and still am getting the same results! Random spaces appear and distort the page. I'm about to launch my PC out the window! The distortion appears to happen on IE & Mozilla but not using Google Chrome. Below is a graphic showing the page and the 2 spaces that appear randomly. I also listed the URL where the webpage is located...hopefully somebody can look at the page source and explain what the heck I am missing. Thanks for any help you can give me. Joel Webpage Address: http://www.genesismktg.com/player/gt-player2.html Is there a way to eliminate whitespace between two elements. Here is a really simple example, where I want to eliminate the whitespace between two header elements. <h1> Hello, world </h1> <h2> yo, adrian! </h2> ...real estate is at a premium on the pages I'm working on, and I can't figure out how to get ride of this whitespace. I've tried css, where padding: 0px for the individual elements, as well as css for an encompassing div where padding: 0px but it doesn't work. Am I a nub or what!? I want a Header Graphic to be flush with the top of the webpage This is a copy of the Graphic; How do I make it from appearing with a space at the top of webpage like this . . . . . to appearing flush at the top of the webpage like this?; This is the Code I'm using: Quote: <html> <head> <title>Sample 15b</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#9FB6CD" link="#FFFFFF" vlink="#FFFFFF"> <div align="center"> <img src="http://i47.tinypic.com/b6dfte.png" width="871" height="131" longdesc="http://i47.tinypic.com/b6dfte.png"> <table width="768" border="0" cellspacing="0" cellpadding="0" height="100" bgcolor="#9FB6CD" align="center"> </table> </div> </body> </html> Can someone offer a solution? With appreciation I am retired, so now I no longer work for a living - Now, living works for me I looked through the forum and tried their solution. Nothing luck. How can I eliminate the border space between two cells in same row? Even I used in css style: HTML Code: body, table, td,th,tr { padding: 0; margin: 0; border: 0; } HTML Code: <table width="80%" cellspacing="0"> <tr> <th colspan="2" scope="row"><div align="left"><img src="images/topPanel.jpg" width="800" height="134"/></div></th> </tr> <tr> <td width="14%" scope="col"><div align="left"><img src="images/sideBar.jpg" width="136" height="387"/></div></td> <td width="86%" scope="col"><div align="left"><img src="images/bodyFrame.jpg" width="664" height="387" border="0"/></div></td> </tr> <tr> <th colspan="2" scope="row"><div align="left"><img src="images/bottomPanel.jpg" width="800" height="79"/></div></th> </tr> </table> In IE6, it looks great. For FF, it shows the space between two cells in second row. www.deichselfamily.com FYI: this website is very simple. I am learning how to do the web design. Thanks. Here is my website: http://yourcarthings In the top heading, there is an unwanted red horizontal band. How can I get rid of this. I am trying to put to tables next to each other side by side. These two tables are actually inside cells of a third "outer" table. I keep getting a white space inbetween the tables. How do I get rid of it? Is this going to show up if I put the code in? HTML Code: <head> <style type="text/css"> table.p { color:#000000; background-color:#ffffff; font-size: 100%; padding:0px; margin: 0; border-top: 1px solid #000000; border-left: 1px solid #000000; border-bottom: 1px solid #000000; border-right: 1px solid #000000; } </style> </head> <table border="0" width="100%" height="82"> <tr> <td width="50%" height="76"> <table class="p" border="0" width="100%"> <tr> <td width="100%">table 1</td> </tr> </table> </td> <td width="50%" height="76"> <table class="p" border="0" width="100%"> <tr> <td width="100%">table 2</td> </tr> </table> </td> </tr> </table> Hi, I have a fine gray line around the logo. This is not the border of the table it’s the gray bgcolor. I and other HTMLers try to find the reason of this bug but failed. Can you help? You see the style.css and try to find the reason (please do not give vague answers, please look in the code and in the css) tnx So often when I create a form, a simple form with one text box the form tag adds a bunch of space below when I want it "lean" with zero space. For example a table row... <table> <tr bgcolor="#ffcc33"> <td valign="top" align="left" width="25%"></td> <td valign="top" align="center"><form action="http://www.sanluisshopper.com/search_businesses.php" method="GET" name="search"><input type="Text" name="search" size="20" name="search"><input type="Submit" value="Shop!"></form> </td> <td valign="top" align="right" width="25%"></td> </tr></table> Is there any way to eliminate this extra space? This has driven me batty! Thanks. Hi everyone, I hope I have posted this in the right area. This is my first time posting here. I currently have my main pages listed at the top of my site as graphics (see fussybaby.ca). I would like to potentially remove these graphics and use text links instead - I had the graphics designed for me, so I can't just go in and make new ones, however I'd like to change/rearrange the links and add some new ones. So my question is: How hard is this to do? Is this something I need to hire someone to do for me? Thanks in advance for any advice! Hello all. Just joined and I have what I know is a simple question. Trying to remove a space between the top image and the legend I just created. Thanks, Doug Code: <div id="main-copy"> <div style="width:755px; margin: auto; text-align: center; color: #000000; font-weight: bold;"> <p>Click on radar image to loop!</p> <p>GR Level III Base Reflectivity<br/><a href="/wx21.html"><img src="/GR3/kfdr_br1.png"></a></p> <p><img src="GR3/legend3.png" width="750" height="40"/></p> <p>GR Level III Echo Tops<br/><a href="/wx22.html"><img src="/GR3/kfdr_et.png"></a></p> </div> </div> </div> <!-- ##### Footer ##### --> Looks like: http://www.ardmoreweatherlive.com/wx3.html This is my very first post on this forum, so please, be gentle with me. I write my websites in HTML code but recently I seem to have created an anomaly that I cannot get to the bottom of. If you pop over to this page: http://website.lineone.net/~barrybboor/tirol58.html you will see a very large space below the 'FULL RESULT' line and the start of the result table. According to the coding I have, there shouldn't be any such space but I can see no reason for it and cannot find a way to reduce it. Can anyone help a poor elderly novice, please? Hi, I'm new to this forum. I'm having a little problem. It's the first time I'm working with DIV containers. I want to place 4 containers one below the other with no spaces in-between. In Firefox it works fine but not in IE. Can this problem be fixed? /Patrick i am trying to create a bullet point list but have spaces inbetween each bullet point item. i tried <br> but no luck. Code: <UL> <LI> <DIV align=left><SPAN style="COLOR: #333333">Stated Income with good credit</SPAN></DIV> <LI> <DIV align=left><SPAN style="COLOR: #333333">5/1, 7/1, 10/1 and 30 Yr Fixed<SPAN style="COLOR: #333333"><IMG border=0 hspace=0 align=right src="http://www.sharperemail.com/se_members/4346/ftp/raintree_hoa_images/happy-elephant-02-gif.gif" width=215 height=215></SPAN></SPAN> </DIV> <LI> <DIV align=left><SPAN style="COLOR: #333333">Interest Only</SPAN> </DIV><SPAN style="COLOR: #333333"> <LI> <DIV align=left>Cash out up to 250,000</SPAN> </DIV> <LI> Is there a way to make the spaces in between each link in the navbar go away? becuase i need to put 2 more links and if i did it the way where i have no spaces in between it would work out perfectly, p.s. you can join the furms, lol. here is the site http://wiseones.50webs.org/index.html here is the navbar code Code: <ul> <li><a href="index.html" title="Home">Home</a></li> <li><a href="http://wiseones.jokemaster.org/" title="Spirituality Forums">Spirituality Forums</a></li> <li><a href="spiritualityarticles.html" title="Spirituality">Spirituality</a></li> <li><a href="religiousarticles.html" title="Religious">Religious</a></li> <li><a href="itemsarticles.html" title="Items">Trees,Gems,Herbs,& Items</a></li> </ul> can someone also tell me what the ul's mean? http://wlab.canisius.edu/~dunkleb/cl...s/schedule.php Someone PLEASE explain where my spaces went. doesn't work. Copy/paste anything on that site to a text editor; the spacebar spaces are GONE. WTF. i cant seem to get rid of the space between my two images in this table to align my layout images flush with each other . anyone got any ideas? here is an example of what my problem is: http://hollecost.webs.com/index.htm heres the table coding for that example page of my problem: <table cellspacing="0" cellpadding="0"> <tr> <td> <img src="/images/top.jpg"> </td> </tr> <tr> <td background="/images/bottom.jpg" height="440" > </td> </tr> </table> I am having some basic HTML issues... The code is as follows: Code: <body onload="MM_CheckFlashVersion('7,0,0,0','Content on this page requires a newer version of Macromedia Flash Player. Do you want to download it now?'), resizeTo(700,560);"> <div id="horizon"> <div id="content"> <div class="bodytext"> <table width="100%" height="480" border="0" cellpadding="0" cellspacing="0"> <tr> <td colspan="2" align="center" valign="middle" style="background-repeat: no-repeat; background-position:bottom right;"><table width="0" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="21" height="16" align="right" valign="bottom"><img src="images/tv/upper-left.gif" alt="tv-upper-left" width="21" height="16" /></td> <td width="320" height="16" align="center" valign="bottom"><img src="images/tv/top.gif" alt="tv-top" width="320" height="16" /></td> <td width="21" height="16" align="left" valign="bottom"><img src="images/tv/upper-right.gif" alt="tv-upper-right" width="21" height="16" /></td> </tr> <tr> <td width="21" height="240" align="right" valign="middle"><img src="images/tv/left.gif" alt="tv-left" width="21" height="240" /></td> <td width="320" height="240" align="center" valign="middle"><script type="text/javascript"> AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0','width','320','height','240','id','FLVPlayer','src','FLVPlayer_Progressive','flashvars','&MM_ComponentVersion=1&skinName=Clear_Skin_3&streamName=flv/AlcoaHybridAeroW&autoPlay=true&autoRewind=true','quality','high','scale','noscale','name','FLVPlayer','salign','lt','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','FLVPlayer_Progressive' ); //end AC code </script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="320" height="240" id="FLVPlayer"> <param name="movie" value="FLVPlayer_Progressive.swf" /> <param name="salign" value="lt" /> <param name="quality" value="high" /> <param name="scale" value="noscale" /> <param name="FlashVars" value="&MM_ComponentVersion=1&skinName=Clear_Skin_3&streamName=flv/AlcoaHybridAeroW&autoPlay=true&autoRewind=true" /> <embed src="FLVPlayer_Progressive.swf" flashvars="&MM_ComponentVersion=1&skinName=Clear_Skin_3&streamName=flv/AlcoaHybridAeroW&autoPlay=true&autoRewind=true" quality="high" scale="noscale" width="320" height="240" name="FLVPlayer" salign="LT" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object></noscript></td> <td width="21" height="240" align="left" valign="middle"><img src="images/tv/right.gif" alt="tv-right" width="21" height="240" /></td> </tr> <tr> <td width="21" height="69" align="right" valign="top"><img src="images/tv/lower-left.gif" alt="tv-lower-left" width="21" height="69" /></td> <td width="320" height="69" align="center" valign="top"><img src="images/tv/bottom.gif" alt="tv-bottom" width="320" height="69" /></td> <td width="21" height="69" align="left" valign="top"><img src="images/tv/lower-right.gif" alt="tv-lower-right" width="21" height="69" /></td> </tr> </table> <p><input type="button" value="Close Window" onclick="window.close()"></p> </span></p></td> </tr> </table> </div> </div> </div> </body> the link to a sample of this page is: http://www.mirageadv.com/beta/galler...bridAeroW.html Can someone take a look at this and tell me why I am getting the spaces in the graphics at the top and bottom... Thanks - Jim Hi guys. I want to add a few spaces in between two words. Unfortunately, html must work differently than just hitting the space bar in the code. What's the command for space? Thank you all! www.movehumanityforward.org I've been writing all of my HTML in notepad since I started, and Id really like to keep it that way, but the browser seems to treat line breaks (in notepad) between elements as a space character in certain instances. For example, say I have HTML Code: <img1><img2> <img3> <img4> in the browser, that will render every image on the same line, but with a physical white space between img2, img3, and img 4 example: [1][2] [3] [4] in the past ive just sucked it up and put everything on the same line, but in larger projects that gets messy very quickly... any input that i'snt "use something better" is appreciated, thanks. |