HTML - Line Break After Header
I am new to HTML coding
I am trying to remove the line break, after my header and not sure how to do it. Here is my code: <h5 style="background-color:red;"><a href="java script:alert('Find & Click on your old Printer' + '\n' + 'Select '+ 'OPEN' + ' ...Do you want to open or save this file?' + '\n' + 'Select ' + 'RUN' + ' ...The Publisher could not be verified.')">Click Here for Directions on REMOVING your printer</a></h5> I would like to remove the blank line that the header creates. Thank you Similar TutorialsBefore I get totally flamed, I'm sure you get this question almost daily. However, I'm aware how to fix it, however I can't figure out why it's not working. As you can see above, the "test" div needs to be beside the "Hosting" div. So move the bottom one to the right of the first one. But how, is the question. Here's the HTML: HTML Code: <div id="plans"> <center><h2>Hosting Plan #1</h2></center><br /> <img src="images/arrow_right.gif" /> <b>10MB</b> Disk Space<br /> <img src="images/arrow_right.gif" /> <b>Unlimited</b> Data Transfer<br /> <img src="images/arrow_right.gif" /> <b>Unlimited</b> Domains, FTP, MySQL accounts<br /> <img src="images/arrow_right.gif" /> <b>2</b> E-Mail accounts<br /> <img src="images/arrow_right.gif" /> <b>Just $0.99/mo or $10/yr</b><br /><br /> <center><a class="order_button" href="order.php">Order Now!</a></center> </div> <div id="plans"> test </div> I've tried to put that block of code into another <div> to even it out all out with display: inline, but that doesn't work. I am also unable to use spans, although that would be the obvious route. So, does anybody have a solution? Thanks! I know "<br>" causes a line break outside of a string, but how can I insert one INSIDE a string? Ex: <textarea value="" > example text <LINE BREAK> more example text </textarea> Ok, so here is the problem, i am working on my page, and i wanted to place an image of a home for sale sign on the page and end in a checkerboard divider, and wrap my text around it... everything looked great until i got to the bottom of the page, then i realized my footer was shifted way right, and so was my checkerboard... what did i do wrong? http://www.budgetbathusa.com/real-estate-remodel.php here is the relevent code... <img style="float:left;" src="http://budgetbathusa.com/images/real_estate_remodel2.jpg"> <? include('./includes/contact_form.inc.php'); ?> <img style="float:left;" src="http://budgetbathusa.com/images/sidebar.jpg"> <center><h2>Selling Your Home? We Can Help.</h3></center> <p> This product is for all of you who are in the process of selling your home, and would like to get your home off the market as fast as possible. Everyone knows that the two rooms that will sell your home are kitchens and baths, but what most people dont know is that the average price to remodel those rooms are $57,232 for kitchens, and $15,899 for bathrooms. Those figures are not fictitious either, they are pulled from national average costs at Remodeling Magazine's own figures (you can see those figures at Remodeling magazines <a href="http://www.remodeling.hw.net/2008/costvsvalue/division/south-atlantic.aspx">Cost vs. Value webpage.)</a></p> <p> As you already know, home staging requires moving furniture, painting walls, and other miscellaneous activities to make your home more attractive to prospective buyers, but there are many other remodeling projects you need to seriously consider. One of those is that bathroom you never like showing to your guests, or that bathroom that isn't that bad, but has that mildew on the grout, and fixtures from 1957. You have two options...<ol> <li>You can do a total remodel, that will cost almost $16,000 and sell your home quickly, and for more than you were asking for. (but who has an extra $16,000 laying around!)</li> <li>Or you can choose from our A la Carte list of bathroom remodeling services, that will cheaply, and effectively remodel your bathroom for a fraction of the cost of a custom remodeling job, <b>and</b> be of a better quality than a bathfitter bathtub liner.</li> <h2>The List:</h2> <p> So we have brought you a list of different services at the lowest prices we can offer. You get to choose what you need, and not get anything extra. All we require is that you pick $3000 dollars worth of remodeling. and we will be happy to come out and help your bathroom out. These prices are non-negotiable, and are a great deal just by themselves. Then fill out our contact form, or give us a call, and we will write up the contract, and do the work.</p> <ul><font size="4" color="#5eadfd"><b> <li>regrout bathroom (silicone included): $2.75 per square foot</li> <li>re-silicone bathtub without grout: $125</li> <li>Replace Shower Door: $750</li> <li>Replace Vanity and Vanity Countertop (Faucet included): $800 {upgrades available}</li> <li>Replace over the toilette Storage Unit: $250</li> <li>Replace Medicine Cabinet: $250</li> <li>Replace Toilette: $400</li> <li>Replace Trim: *</li> <li>Glass Shelving Addition: $100</li> <li>Repaint Bathroom: $600 (Price based off of an 8x5 bathroom)</li> <li>Upgrade lighting: $250 per light</li> <li>Change faceplates: $5 per plate</li> <li>Upgrade Sink Faucet: $375</li> <li>Upgrade Shower Faucet: *</li> <li>Change Toilette Seat: $150</li> <li>Replace Window $475</li> <li>Plumbing Inspection: $100</li> <li>Replace Sink Trap $250</li> <li>Tub Refinishing: $900 per tub.</li></font></b></ul> <p> <b>* :</b> Prices vary greatly depending on different situations, just give us a call and we can work it out. <p> <b>Note:</b> Most prices are dependent upon an allowance for material, if you would like something nicer, we will gladly upgrade for you</p> <img src="/images/checker_hr_24.gif" width="744" height="24" style="float:left;" alt="----------" /> <br /> <? include_once('./includes/footer.php'); ?> in the past when ever I have string that is longer than the width specified in the <td>it always automatically line breaked for me. But now I am encountering an issue with the <td> stop auto line breaking, and instead just increase the width of the table to make the string fit in 1 line. if anyone know whats possibly causing this problem please reply, any thing suggestion is greatly appreciated. Thanks Hi, I want to create a header (<h1>,<h2>,...) like on the picture (see attachment) with html and css. It is possible to create sth like that without using pictures? Thanks Hi, When I put some text in a <h1> tag it automatically starts a new line after </h1>. Can I stop this from happening as I want text after it as part of the same sentence. Thanks Paul Is it possible to just have "no wrapping" on divs? For example if we have a div used for a Wrapper for all of the contents, can we make it just so that the div will extend past the screen's width if it needs to ? Hey, im trying to find out why the header on my website isnt at the top of the page. it also moves sometimes even though the code appears to be all the same. the address is www.themonsterbox.com thanks in advance for any help. Please take a look at my site: www.cteaguedesign.com and tell me if anything can be done about the bad break on the bottom of the table. I've tried resizing the cell, the image, and the surrounding information, but it won't seem to settle. On different browsers, it even switches being too high and too low. Any clue? have a jsp called Test.jsp. Inside it, there is a iframe which import another jsp as follows: Test.jsp <html> ................ <body> this is the test ................ <iframe src="iframe.jsp"> ....... </body> </html> Inside the iframe.jsp I check for session. If session is expired, it forward to some other page say main.jsp as follows: iframe.jsp: <html> ............... // if the requested session is invalid if(!request.isRequestedSessionIdValid()) { RequestDispatcher rd = getServletContext().getRequestDispatcher("main.jsp"); rd.forward(request, response); } ......... </html> Now the problem is... the main.jsp is opened to the IFRAME inside. How I can remove that IFRAME It is very urgent Thanks in advance Ranjan Yeng Bottom image pulls up nicely on FF and Safari. However there is a thin line that breaks the 2 background images. Try on IE9 http://www.seahosting.net Please help hey guys, i am using the following code. Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta content="text/html; charset=utf-8" http-equiv="Content-Type" /> <title>Untitled 1</title> <link href="style/style.css" rel="stylesheet" type="text/css"/> </head> <body> <div id="wrapper"> <div id="header"></div> <div id="menu"> <table cellpadding="0" cellspacing="0"> <tr> <td><img src="images/bar_spacer_43.png" alt=""/></td> <td><a class="rhome" href="#"> </a></td> <td><a class="rdesign" href="#"> </a></td> <td><a class="rpricing" href="#"> </a></td> <td><a class="rgallery" href="#"> </a></td> <td><a class="rhosting" href="#"> </a></td> <td><a class="rabout" href="#"> </a></td> <td><a class="rcontact" href="#"> </a></td> <td><img src="images/bar_spacer_42.png" alt=""/></td> </tr> </table> </div> <div id="contentarea"> <div id="content"><h2>Welcome to the newly redesigned DigiSiteDesigns.com!</h2> <p>We are currently in the process of updating content, so please bear with us! In the meantime if you have any questions, please contact me at: <a href="bryan@digisitedesigns.com">bryan@digisitedesigns.com!</a></p> </div> </div> <div id="footer"> </div> </div> </body> </html> which yields the following: http://img137.imageshack.us/i/helpv.jpg/ how do i get rid of the gap between the navbar and the heading? (circled in red) thanks! When I set a div overflow on a sentence that is in a set width...if a word is too big it cuts off the whole word. Is there a way to break by character instead of word? See printscreen attached.. (bottom right corner...) and http://www.navigationrus.com/product...76a6b3ebe5b97f Been trying to figure it for a day... Please view in IE and you will notice that the "product descriptions" and "Available Options" are on the top left. FF display its rightly on the bottom of the image.. http://janlevin.com.my/shop/product_...roducts_id=112 Any idea? Hi everyone, I'm creating a fan site for South Park, and I'm attempting to create a kind of layout type thing. I'm not new to HTML, but I'm not too experienced with tables and layouts. So, anywho, there is a break in between my banner image and the table. I want it to look like the banner is part of the table, but I'm not succeeding. I REALLY need help. Could someone PLEEEEEEEAAAAAASE help me?!?!? URL: http://www.freewebs.com/patrickduffylegland/index.htm my site is REALLY rough right now. I just started. If anyone knows, I would like to make the light blue part in the table separate from the dark blue part. Like the light blue part would be a different table if anyone knows how to do that. It would just make it easier since the light blue part will be the menu. Heres my HTML code so far: <html> <head> <title>Patrick Duffy Leg Land - Keeping the World Safe From Crab People since 2007</title> </head> <body> &nbs p; <img src="http://www.freewebs.com/patrickduffylegland/top_banner.png"> <table align="center" width="780" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="72" valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="5" background="http://www.freewebs.com/patrickduffylegland/table_bg.png"> <tr> <td class="espacio2"> <font color="#CCCCCC" face="verdana" size=1><br></font> </td> </tr> </table> </td> </tr> I need a fool-proof method of making a page break for printing purposes. Nice clean break. I tried using the CSS method, but its doenst work in all browswerrs and is very finicky. Any suggestions? Hello all, Thats how my page looks: http://img17.imageshack.us/img17/782/screenshotoey.png But after windows resize top bar "breaks": http://img94.imageshack.us/img94/858...enshot1ltq.png The google.com just iframe. Look at attached files, try resize browser windows and see what about i'm talking about. Hi trying to throw down a couple of buttons along a line, but for some reason my second button gets put down to a second line instead of going right beside the first one. I changed over the <div> tags in the recommended button code to <span> in an attempt to stop the line break, but it persisted. Here is the url for test page: http://yournukes.com/PictureFlow4/test.html And specifically here is the code using for the buttons (I know they are style and there is a css section, but I believe this is an html/semantic question): <style> #rollover a { background: url(http://www.yournukes.com/tester1.gif) 0 0 no-repeat; padding-left: 20px; padding-top: 10px; width: 130px; height: 24px; vertical-align: middle; font-size: 14px; color: #000000; display: block; text-decoration: none; } #rollover a:hover { background-position: -150px 0; color: #FFFFFF; } </style><span id="rollover"><a href="#"></a></span><style> #rollover1 a { background: url(http://www.yournukes.com/parks.gif) 0 0 no-repeat; padding-left: 20px; padding-top: 10px; width: 130px; height: 24px; vertical-align: middle; font-size: 14px; color: #000000; display: block; text-decoration: none; } #rollover1 a:hover { background-position: -150px 0; color: #FFFFFF; }</style> <span id="rollover1"><a href="#"></a></span> ...BUT it might make more sense to view the code on the page to see it in context... Thanks so much... I have a way of complicating simple questions... So i'm helping to work on a website but one issue that has occurred is with tables...here's the issue visually: We don't want that break...it only shows up in internet Explorer (no problem in Firefox). Here is the coding: <body> <div class="divCenteredStuff"> <div><img src="GetInvolvedHeader.jpg" alt="Branches" border="0" usemap="#Map2" /> <map name="Map2" id="Map2"> <area shape="rect" coords="632,136,764,186" href="index.html" alt="Home" /> </map> </div> <div><img src="Banners/Banner6.jpg" alt="Banner" border="0" usemap="#MapMapMap" /> Any tips? THANKS! |