CSS - Nagging Space I Can't Find
Hey,
This is my first CSS project and I have a probloem which I am sure is super simple. I have 4 web buttons that go side by side in the contents area of the page. They have to touch. Right now, there is a space in between each one. I wrote a quick test page with the images and there is no space, so it must be the CSS. What do I need to change? Here is my sheet: Code: * {margin:0px;padding:0px;top:0px;left:0px;} body{ text-align: center; background-color: #c0c0c0; } #central{ margin-right: auto; margin-left: auto; margin-top: 10px; position: relative; width: 780px; text-align: left; background:#fff url(images/newsbackground.gif) repeat-y right top; } #header{ height: 205px; width: 780px; } #searchspacer{ background-color: #d78c0b; left: 479px; height: 51px; width: 53px; position: absolute; } #searchbox{ background-color: #d78c0b; left: 532px; height: 90px; width: 248px; position: absolute; } form{ position: relative; left: 20px; top: 20px; } form span{ color: #FFFFFF; position: absolute; top: 22px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; font-weight: bold; } #search{ margin-left: 45px; margin-top: 20px; position: absolute; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; font-weight: bold; color: #000000; } #go{ background-color: #FFFFFF; background-image: url(images/searchbutton.gif); background-repeat: no-repeat; margin-left: 159px; margin-top: 18px; position: absolute; } #imageheader{ background-image: url(images/header.jpg); background-repeat: no-repeat; top: 51px; position: absolute; height: 154px; width: 532px; } #navtop{ list-style-position: inside; list-style-image: none; list-style-type: none; position: absolute; height: 51px; width: 479px; } #navtop a{ height: 32px; text-decoration: none; font-size: 12px; font-style: normal; display: block; position: absolute; overflow: hidden; font-family: Georgia, "Times New Roman", Times, serif; padding-top: 19px; color: #FFFFFF; } #nt1 ,#nt2 ,#nt3{ padding-left: 40px; width: 79px; background-image: url(images/navtop.gif); } #nt2{left: 119px;} #nt3{left: 238px;} #nt4{ left: 357px; width: 94px; padding-left: 28px; background-image: url(images/navtopend.gif); } #nt1:hover ,#nt2:hover ,#nt3:hover {background-image: url(images/navtopover.gif);} #nt4:hover{background-image: url(images/navtopendover.gif);} #navright{ position: absolute; height: 114px; width: 248px; left: 532px; top: 90px; background-color: #000000; list-style-position: inside; list-style-image: none; list-style-type: none; } #navright li{ text-indent: 0px; background-color: #FF0000; list-style-position: inside; list-style-image: none; list-style-type: none; display: block; } #navright a{ background-repeat: no-repeat; display: block; height: 26px; width: 195px; position: absolute; padding-left: 53px; padding-top: 7px; font-family: "Times New Roman", Times, serif; font-size: 12px; font-style: normal; line-height: normal; font-weight: normal; color: #FFFFFF; text-decoration: none; } #nr1 ,#nr2 ,#nr3{background-image: url(images/navright.gif);} #nr2{top: 29px;} #nr3{top: 58px;} #nr4{ top: 87px; background-image: url(images/navrightend.gif); } #nr1:hover ,#nr2:hover ,#nr3:hover {background-image: url(images/navrightover.gif);} #nr4:hover{background-image: url(images/navrightendover.gif);} #contentbox{ background-image: url(images/bg.jpg); } #content{ width: 532px; background:transparent; float:left; } #content p{ font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; font-weight: normal; color: #666666; margin-left: 26px; margin-bottom: 20px; width: 430px; } #content h1{ margin: 20px 0px 10px 26px; width: 430px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 14px; font-weight: bold; color: #033387; } #content span{ margin-top: 10px; margin-bottom: 4px; width: 430px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; color: #649721; } #content span#s2{color: #03449f;} #content a{color: #666666;} img{ float: left; margin-right: 7px; } #news{ background: #033387; width: 240px; float:right; padding-left: 8px; } #news p{ background-color: #033387; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #FFFFFF; padding: 10px 20px 10px 20px; } #news a{color: #FFFFFF;} #news h4{ color: #FFF; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; font-weight: bold; background-color: #000000; padding-left: 20px; } #footer{ background-color: #d78c0b; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #FFFFFF; height: 20px; width: 780px; clear: both; text-decoration: none; text-align: center; padding-top:4px; } #footer ul{display: inline;} #footer li{display: inline;} #footer a{ color: #FFFFFF; text-decoration: underline; padding-right: 7px; } #copyright{ background-color: #c0c0c0; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #000000; height: 20px; width: 780px; text-decoration: none; text-align: center; position: relative; } #copyright p{ height: 20px; text-decoration: none; padding: 10px 10px; } #copyright a{color: #0000FF;} #copyright a:hover{color: #FF0000;} #imagepreloader{ visibility: hidden; overflow: hidden; height: 0px; width: 0px; } Similar TutorialsLink Hi I need some help with this Menu. It works fine when you mouseover products in firefox. But when you switch to ie6 it shows nothing. It has code specific for ie6 but still no menu. tx Hiya, I was wondering if anyone out there would be willing to take a look and tell me why this works in everything except IE6. I really don't want to go back and re-architect this with tables. it took too long in the first place. http://www.theblackkeys.com/dev/ Any quick help is appreciated. Original deadline was tonight. The site looks okay in ie6, but in ie8 it's off. Could someone take a look? <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"> <html xmlns= <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="description" content="Northwest Open Access Network one of the largest in the region with Internet, Ethernet and TDM at service levels more advanced than in some metro areas." /> <meta name="keywords" content="ASP, ISP, ILEC, CLEC, IXC, RSP, DNS, DWDM, Northwest Open Access Network, Noanet" /> <title>Noanet Network Services</title> <link href="dictionary.css" rel="stylesheet" type="text/css" /> </head> <body style="padding: 0px; margin: 0px; background-color: #0E0E0C"> <div style="width: 100%; height: 183px; background-color: #0E0E0C"> <div style="background-image: url(images/2-14.jpg); background-repeat: no-repeat; background-attachment: scroll; background-position: center top; margin-right: auto; margin-left: auto; width: 1115px; height: 183px"> <div style="width: 140px; height: 183px;float:left;"></div> <div style="width: 549px; height: 183px;"> <div style="height:15px;"></div> <div style="margin-top:7px; margin-bottom:7px;"><a href="index.htm" class="menu">HOMEPAGE</a></div> <div style="margin-top:6px; margin-bottom:7px;"><a href="overview.htm" class="menu">OVERVIEW</a></div> <div style="margin-top:6px; margin-bottom:7px;"><a href="tech-support.htm" class="menu">TECH SUPPORT</a></div> <div style="margin-top:6px; margin-bottom:7px;"><a href="Contact%20Options.htm" class="menu">CONTACT OPTIONS</a></div> <div style="margin-top:6px; margin-bottom:7px;"><a href="Network-Services.htm" class="menu">NETWORK SERVICES</a></div> <div style="margin-top:6px; margin-bottom:7px;"><a href="Infrastructure.htm" class="menu">INFRASTRUCTURE</a></div> <div style="margin-top:6px; margin-bottom:0px;"><a href="Press-info.htm" class="menu">PRESS INFO</a></div> </div> </div> </div> <div> <div style="background-position: center top; margin-right: auto; margin-left: auto; width: 1115px; height: 932px; background-image: url('images/nn_02-2-long.jpg'); background-repeat: no-repeat; background-attachment: scroll;"> <div style="margin-right: 150px; margin-left:290px;margin-top:60px; text-align:justify;"> <h1>Network Services</h1> NoaNet delivers leading-edge technologies across an extensive high-speed backbone transport network to wholesale providers such as ILECs, CLECs, IXCs, RSPs, ISPs, ASPs and cable companies.<br /> <br /> NoaNet service offerings include: <br /> <br /> <span class="style6">IP services</span><br /> NoaNet Internet features path-protected, unaggregated transport across the NoaNet backbone to the <a href="POP.htm" title="Point Of Presence. The IXC equivalent of a local phone company's central office. The POP is a long distance carrier's office in your local community (defined as your LATA). A POP is the true place your long distance carrier, called an IntereXchange Carrier (IXC), terminates your long distance lines just before those lines are connected to your local phone company's lines or to your own direct hookup. Each IXC can have multiple POP's within one LATA. All long distance phone connections go through the POPs.">PoP</a> closest to the customer. <br /> <ul> <li>At least four multi-homed upstream tier-one providers in Seattle and Portland </li> <li>Automatic fail-over within 50ms of interruption </li> <li>IP Addressing, <a href="BGP.htm" title="Border Gateway Protocol is a Gateway Protocol which routers (other non-router devices also maybe involved as intermediaries) employ in order to exchange appropriate levels of routing information.">BGP</a> routing and <a href="DNS.htm" title="Domain Name Server. Domain Name Servers, also known as resolvers, are a system of computers which convert domain names into IP addresses,which consist of a string of four numbers up to three digits each.">DNS</a> </li> <li>IPV6 Support </li> </ul> <p /> <span class="style6">TDM transport circuits</span><br /> NoaNet can design and deliver complex multi-point <a href="TDM.htm" title="Time Division Multiplexing. A technique for transmitting a number of separate data, voice and/or video signals simultaneously over one communications medium by interleaving a piece of each signal one after another.">TDM</a> rings over SONET, as well as two-point circuits. <ul> <li>Equivalent to DS-3 (<a href="STS-1.htm" title="Synchronous Transport Signal level 1. An electrical signal that is converted to or from Sonet's optically based signal; equivalent to the OC-1 signal of 51.84 Mbps.">STS-1</a> or 51.84 Mbps) and <a href="OC-3.htm" title="Optical Carrier Level 3. A SONET channel equal to three DS-3s, which is equal to 155.52 Mbps. ">OC-3</a> through <a href="OC-192.htm" title="Optical Carrier-level 192. SONET channel of 9.953 thousand million bits per second (Gbps). How you calculate the capacity of an OC-192 is to multiply times 192 by 51.840 million bits per second and thus you get 9.953 thousand million bits per second--gigabits per second. ">OC-192</a> </li> <li>Protected or Single-Thread configurations </li> </ul> <p /> <span class="style6">Ethernet services</span> <br /> NoaNet provides scalability, security and ease of configuration over a resilient Gigabit Ethernet network. <ul> <li>Connect two or more sites that use Internet, data, video and/or VOIP applications </li> <li>Billed on an "pay as you grow" basis, with the ability to <a href="burst.htm" title="A method of transmission that combines a very high data signaling rate with very short transmission times. ">burst</a>. </li> <li>Capacity is guaranteed and unaggregated </li> <li>Ethernet WANs can be designed to handle 10Mb to <a href="10GigE.htm" title="10 Gigabit Ethernet. Positioned as a high-speed technology for MAN (Metropolitan Area Networks) applications, 10GbE is a developing IEEE 802.3ae standard that will enable networks to scale from the traditional 10 Mbps beyond the common 100 Mbps and increasingly common 1 Gbps, up to 10 Gbps.">10GigE</a>. </li> </ul> <p /> For more information about our Network Operations Center, please refer to the <a href="noc.htm">Technology Center overview</a>. Please review the NoaNet Terms and Conditions in the <a href="documents/MSA_original_72903.pdf">Master Services Agreement (MSA)</a> which is the basis for all services. Contact NoaNet for additional information. </div> </div> </div> </body> </html> Hey everyone, I'm tired, my back is sore and I can't find the damned list of hacks that fix various things in IE. I don't really know what is wrong, so I was just going to try random hacks to fix it, if anyone knows the list of the hacks that would be greatly appreciated. http://sammysnake.byethost7.com/ There is a screenshot of how it looks to me on that site, it's set to a min-width of 1000px. Hi I've come up on the old <select> elements showing through <div>s that are made visible on top of them. What I want to do is find out the id's of the select elements under my <div> so that i can hide them using CSS / Javascript. The basic layout of my page is a grid of <select> elements, each one of these would have a hidden <div> layer associated with it containing extra information etc. By the side of each of the <select> elements is a little image / button that the user will click and the layer with the extra stuff in is made visible. The layer will overlap a number of <select> elements (not the parent <select> element). Each <div> pops up in a different position (calculated dynamically as an x,y offset from the parent) can I find the Ids of the elements it overlaps? Hope this is clear, and thanks in advance. flipflops. Hi, I'm totally new to CSS and I need to edit a TEXT of our login page portal. I'm using firefox/firebug to view the contents but i can't seem to find the exact html file to edit it. I tried to edit the login.aspx file but I cannot find the contents to edit there. All I see is runat="server" if i follow my page using "view code" in my browser instead of the actual TEXTS that i need to edit. Hope someone can help me on this. TIA! Hello all! I'm new to the community here--it feels great to be a part of an active community where people can give eachother help. I'd consider myself a pretty good Web designer, I mean, I've been doing it for a long time, however, I'm still very new to the concept of CSS. I've used it with rollover links, but never have I used it to design an entire Web page (basically, I've used tables my whole life). Now that I've gotten some practice with CSS by reading books and tutorials, I've put together a start-up page for a computer company that I am a part of. We are a new company and are looking to start off on the right foot by having a killer Web site. So in the past two weeks I've been hand-coding this Web site. http://www.freewebs.com/missaghi As you can see, it's all in CSS! I'm very happy that I've been able to accomplish this, but there is a problem that I've found, and honestly, I've yet to find the cause! If you are using Firefox (and I hope you are, if you're using a PC), you'll notice that the TOP of the paragraphs are CORRECTLY horizontally aligned with the TOP of the navigation links. It looks nice and clean. Now open up the site with Internet Explorer (I know it's hard for some of you, as it is me, heh), and notice how the paragraphs sit lower by about seven or so pixels. Well, if you look at my code, I have forced the margin up by 18 pixels (margin: -18px 0px 0px 140px) in order for my paragraphs to be aligned in Firefox. I COULD have modified it for IE, but meh, I'd rather make sure Firefox is covered since in my opinion, it has the best CSS support. However, my goal is to find out WHY it is acting different in all these browsers, and WHY I need to cheat (using the -18px) in order to make it work. Any help would be greatly appreciated, and I'm sorry that this is so long. Regards, Nathan I have read several books on CSS. For the life of me I still cant understand why some things do the things they do. For example, I still dont understand float. Even though I have read for literally hours about floats, I still dont understand why sometimes it goes one place and sometimes it goes another. Whenever I use tables, I feel as though I can place anything anywhere and know that it will always be there, regardless of the browser. For example, yesterday I spent 30 minutes reading through a tutorial about css navigation in horizonal format. I did it successfully. However, I wanted it to be centered on the page. No matter what changes I made in the CSS for the list, ul, link, etc it would not center on the page. I spent another 45 minutes trying to get it to center on the page. Once I did (wrapped the list in a DIV) then I refreshed the page and the background, which is black was through the page horizontally to each of the nav links instead of a white background like the content portion of the page. A whole new headache. I fixed that by putting the div and nav list in a table with a white background (fixed). I then check it in internet explorer and the list is not horizontal but vertical. It keep the same look of the nav list links, but is vertical. NOW I have to "hack" my CSS to make it more compliant with an older version of IE? I just don't understand why so many people think CSS is superior to tables. I understand tables were never designed for, well, designing pages, but for whatever reason, maybe because I am old school, but I find them so much easier to work with. I can never get the outcome I want with CSS and when I do it hardly ever looks the same across multiple browsers. I want to learn CSS. I want to understand why it is better. Most importantly I want to know how to code in it and if something looks wrong that I know the exact line in the CSS to work with to fix it. I am now just editing line by line to see if I get a change or outcome I want. Any suggestions? Tutorials? This is driving me nuts. For the life of me I cant find out what code that will align the image correctly. Currently the "previous" button on the page below has a gap on the left, and is being cropped on the right. http://zombiemod.com/rm/nina2/main.php?g2_itemId=13 This is the image im talking about: http://zombiemod.com/rm/nina2/theme...ntrols-left.png I guess if I remove the space to the left of the previous button, it will drag the image to the corrct position so all of the image is being displayed without having the right side cropped. Here is the HTML for the button: Code: <ul id="control-buttons"> <li><button id="controls-left"> <img src="themes/ajaxian/images/controls-left.png" alt="Left" /> </button></li> <li><button id="controls-play"> <img src="themes/ajaxian/images/controls-right.png" alt="Play" /> </button></li> <li><button id="controls-right"> <img src="themes/ajaxian/images/controls-right.png" alt="Right" /> </button></li> </ul> This is the code I used to try and set the correct height of the buttons: Code: #slideshow-controls button { width: 44px; height: 59px; /*margin: 0; padding: 0;*/ background-color: #000; border: none; text-align: center; cursor: pointer; } Obviously something is just not clicking for me. I've spent almost all day reading, and everyone makes it sound so darn easy! I have 2 basic problems, and it doesn't seem like they should be that hard to fix. The test site is at lgs.lambrite.com/test.htm and the stylesheet is lgs.lambrite.com/new.css Problem 1. For the life of me, I cannot get the link that says "Skip To Content" to accept the more specific set of link colors. I have tried every variation I can think of, with no luck. Code: <div id="subnav0" style="position:absolute; width:769px; height:22px; z-index:3; top: 192px; visibility: visible;" class="subnav"><a href="#content">Skip to Content</a></div> Code: .subnav #subnav0 a:link a:visited a:hover a:active { color: #343457; text-decoration: none; } My second issue is a little more complicated. Right now, all my layers have their positions hard-coded. This means that the content area is fixed in height, and I need it to be able to expand to accomodate the text. I did this because I was not able to (figure out how to) place the many subnav layers in the same position to do the rollovers, the wrapper would not expand properly, and the footer would not regularly start below the end of the content. Even a good example of a similar layout would be helpful; everything that I find uses 2-3 columns, float and the clear property. I really want to understand this stuff, but if I don't figure this one out in a few days, I'm going to have to use tables and learn it the next time around. So I really appreciate any input. Thanks! Sarah Hi, I plan to use CSS with CMS on my website. I would like to use CSS content management system for the inherent benefits of managing my website myself. I have seen a few websites developed by Imageworksstudio.com using CSS CMS together in a very correct manner. Can any of you please guide me what CSS content management system they have used? Can you point me to any online resources that help in using CMS and CSS to develop a website and make it SEO friendly. Thank You, Rheanna Francis I need some really rediculous link styles, like all of the cool fading/pixelating ones that work on IE - but I can't find any for Firefox. Does anyone know if they exist, or where to find them? I've been trying to get all the space out of IE, tried line-height and all of that, and nothing. Any hack to take out all of the space gaps so I can later on put some small margin? Thanks in advance In the following code...why is there a space between the two div's?? 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"> <style> #header { background-color: cadetblue; } #footer { background: blue; } </style> </head> <body> <div id="header"> <p>This is my header.</p> </div> <div id="footer"> <p>This is my footer.</p> </div> </body> </html> If I remove the <p></p>'s from each sentence the spacing disappears. If I add a "border: 1px solid black;" to each style the spacing disappears. I don't want to know how to make it go away. I want to know why it's there? I mean shouldn't the paragraphs be fully enclosed inside the div's? Such that no spacing should appear between the div's? Any insight anyone might care to share with me would be most appreciated. Thanks. Carlos Hey everyone, I am creating Tabs in CSS. However these tabs are in 2 rows. I was wondering if anyone can give me an idea how do i make these tabs so that they feel all the available space. Is it even possible to do that? My tabs run in 2 rows and also its a combination of image and text. so calculating the width of the screen and dividing by number of tabs doesnt seem to work. Hi all, Great forum page with problem, good in firefox, bad in ie, http://www.central12.com/photosmain1.htm The images as displayed in ie appear with a small gap at the bottom of the picture. I have condensed the code, can't figure it, but using lists to layout images is new to me. Would have used individual divs previously, but have seen this technique used and it seems better, less code. I think i'm just missing a simple fix, as images and boxes are set to the same dimensions. The code in the example differs from the code on the uploaded page, been on it for a week still trying to suss it. HTML: Code: <link href="test.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="mainpic1" class="big4"></div> <div id="sidepic1"> <ul> <li class="piccys1"><a href=""><img alt="British Monuments" title="British Monuments" src="picsthums/castlehill.jpg" width="95" height="80" /></a></li> <li class="piccys1"><a href="photos.htm"><img alt="Canada" title="Canada" src="picsthums/canlake.jpg" width="95" height="80" /></a></li> <li class="piccys1"><a href=""><img alt="Plants/Flowers" title="Plants/Flowers" src="picsthums/portplant.jpg" width="95" height="80" /></a></li> <li class="piccys1"><a href=""><img alt="France" title="France" src="picsthums/francechurch.jpg" width="95" height="80" /></a></li> <li class="piccys1"><a href=""><img alt="Ievissa" title="Ievissa" src="picsthums/rockyibiza.jpg" width="95" height="80" /></a></li> </ul></div> <div id="sidepic2"> <ul> <li class="piccys"><a href=""><img alt="Sunsets" title="Sunsets" src="picsthums/safricasun.jpg" width="95" height="80" /></a></li> <li class="piccys"><a href=""><img alt="Architecture" title="Architecture" src="picsthums/majorchurch.jpg" width="95" height="80" /></a></li> <li class="piccys"><a href=""><img alt="Mountains" title="Mountains" src="picsthums/olympos.jpg" width="95" height="80" /></a></li> <li class="piccys"><a href=""><img alt="British Countryside" title="British Countryside" src="picsthums/harbscot.jpg" width="95" height="80" /></a></li> <li class="piccys"><a href=""><img alt="Ancient" title="Ancient" src="picsthums/sphinxthum.jpg" width="95" height="80" /></a></li> </ul></div> </body> </html> CSS: Code: /*Main styles----*/ body { margin: 0px; padding: 5px 0px 5px 0px; background-attachment: fixed; background-color:#000; } img{ border: 0 none; } #mainpic1 { width: 479px; height: 323px; margin:24px 0 15px 10px; float:left; } li.piccys, ul.piccys { float:right; width:95px; height:80px; margin:9px 0 0 5px; padding:0px; list-style:none; border:2px solid #fff; } li.piccys1, li.piccys1 { float:right; width:95px; height:80px; margin-top:9px; margin-right:5px; padding:0px; list-style:none; border:2px solid #fff; } #sidepic1 { width: 100px; height: 480px; margin-top:15px; margin-right:5px; float:right; } #sidepic2 { width: 100px; height: 480px; margin-top:15px; margin-right:35px; margin-left:0; float:right; } Thanks for your time, I expect there are loads of ways I could do it better, your advise is appreciated. Paul Ok guys, I'm hoping someone can help me. I am a complete newbie to CSS and web site construction in general. I have a left vertical navigation bar made up of graphics in a div tag that is set to float on the left. I'm having difficulty with the graphics, they have white spaces in between them when viewed in IE. They are supposed to butt up against one another. I have tried setting the margin and padding in that div to 0. I have also seen in other forums where the <li> tag can be placed on the previous line to fix this problem in IE. I haven't even viewed the page on any other browsers yet, can someone help me please? Thanks so much! vonatah http://cirqueamongus.bdigia.com/main/ http://cirqueamongus.bdigia.com/x.css Page is valid XHTML1.1 and CSS. However, IE 6 causes a space to appear between my header div and my menu divs. Firefox and opera display the page just fine thanks for the help. Also, if you're using IE Mac, it might display funny there, as well. If you can give me information on what's happening there, I would also appreciate it. http://www.zombiepolitics.com Just when I thought I had this down .. I dont. I have a CSS layout .. there are two main divs side by side, the navigation rests at the top of the right div. problem is in IE 6 there is so much extra space at the top that my navigation doesnt line up with my header .. in FF its no problem. What is the workaround for this? hey What i want is to have one line with a select box and a submit button on it. But when i put those 2 elements in a form it takes up 2 lines. How can i make it so that the form wont require an extra line? |