HTML - A 2-line Button ?
Hi:
I've got a narrow but high button. Question: What do I place in the Value="???" option to ensure that I get two lines in a button For Example, I wish to put the following in the value of the button: Edit /Del Of course, I tried ' Value="Edit<br />/Del" ' --- but that didn't work, I also tried : 'Value="Edit\n/Del"' - also , no joy ( Thanks, -Mel Smith Similar TutorialsI am creating a website that has a search button with an image. I would like to know if there is some simple code that I can include that would display the same basic image with a different color when the user mouses over the button. Here is the code: <FORM name="searchform" onSubmit="return validateSearch();" METHOD="POST" ACTION="search_results_lt.asp"> <INPUT TYPE="text" NAME="Search" VALUE="" SIZE="20" > <INPUT TYPE=IMAGE SRC="images/search_button.gif" Name="SearchButton" Value="Submit"> </FORM> **** Thanks for your help, Robin Can you please help me? I am making a website in MS SharePonit designer 2007. The site will be in 2 languages, Croatian and English. On the home page of the site I have put two radio buttons to give the choice to go to English version or Croatian version. And below those 2 radio buttons i want to put a button with text "ENTER SITE". But I don't know how to do this: If the Croatian radio button is checked, a click on the "ENTER SITE" must take you to the Croatian version of the site, and if English radio button is checked, click on "ENTER SITE" must take you to the English version. Can you please tell me how to do that? I have this div: Code: <div> Last Name <input name="data[Provider][last_name]" type="text" class="input_style" maxlength="100" value="" id="ProviderLastName" /> <input class="submit_style" type="submit" value="Search" /> </div> The way it's being displayed is having the last name string first and then the input and submit (both of them) under that last name string. I would like for all of these values to be on the same line. How can I do that? <p> doesn't work, tried it. Anything I can do in CSS? Hello can anybody help my with html about a vertical line with wat codeyo can make a vertical line for your website in html. Erwin Hey, as you can tell, I'm a new guy. And I'm having a bit of a problem... For some reason, in between 2 buttons I have on my site, there is a little, underscore line. I don't know why it's there, as it's not in my code, it's not a part of the image, and it wasn't there before I added the second button. It's hard to explain, it's easier to see it for yourself. http://nickisawesome.izfree.com/meec...igns/index.php Any help would be appreciated Can anyone tell my why an extra line is appearing on this site in IE but not Firefox? And what's causing it, how to get rid of it? http://www.jnsitedesign.com/zenphoto/weddings/ It's the line above the menu. Also why is the menu centering in IE and how do I get it to align to the right? ***nevermind, I figured out the menu. But the line is driving me insane and I can't figure out what's causing it Thanks for any pointers! I'm a complete newbie I have been told to edit a script in html editor on line No. 235. I put the script into an editor and it fills the page as one big paragraph and not in a line format. Is this a common thing Can it be changed? Neil Just learning this stuff. I am having trouble controlling space between lines. My HTML coding is resulting in too much space between lines. I am afraid I have no idea how to control spacing. I have fiddled with different coding. Here is the current version: <td class="headerbg" colspan="2" width="600"> <div align="left"><p style="font-family:verdana; color:00bfff; font-size:30px;" >the amazing alexander technique </p><p style="font-family:verdana; color:00bfff; font-size:20px;" >so much more than 'posture' and pain relief </p> </div> </td> Thanks for any help. Pointing me to resource where I can read the solution would be great. hello, Im a noob at HTML and was wondeirng if you guys/gals could help me. Im trying to make a bracket and I am not sure how to make the line centered with the other lines. here is the code Code: td { vertical-align: middle; width: 10em; margin: 0; padding: 0; } See how each horizontal lines are centered with the 2 horizontal lines that come before it in this example? http://sharkspage.com/jpgs3/2007bracket2.gif my problem is the code i'm using centers the horizontal line with the words on the lines, not the actual 2 horizontal lines. So if the word on the top line is 50 characters taking up 3 rows, and the word on the bottom line it 5 characters using 1 row, the line is way off-centered. Here is my messed up Bracket http://warchant.0catch.com/WarchantBracket.html here is the HTML, couldn't fit the whole thing here so I only went as far as Region 1 HTML Code: Warchant Movies <html lang='en'> <head> <meta http-equiv='Content-Type' content='text/html; charset=ISO-8859-1'> <title>Page Title</title> <!-- link rel='stylesheet' href='style.css' type='text/css' --> <style type="text/css"> <!-- table { border-collapse: collapse; border: none; font: small arial, helvetica, sans-serif; } td { vertical-align: middle; width: 10em; margin: 0; padding: 0; } td p { border-bottom: solid 1px black; margin: 0; padding: 5px 5px 2px 5px; } --> </style> </head> <body> <table summary="Tournament Bracket"> <tr> <td><b>Region 1</b><p>1. Star Wars: Episode IV - A New Hope</p></td> <td rowspan="2"><p></p></td> <td rowspan="4"><p></p></td> <td rowspan="8"><p></p></td> <td rowspan="16"><p></p></td> <td rowspan="32"><p></p></td> <td rowspan="64"><p></p></td> <td rowspan="128"><b>Champion</b><p></p></td> </tr> <tr> <td><p>32. Wizard of Oz</p></td> </tr> <tr> <td><p><br>16. Fight Club</br></p></td> <td rowspan="2"><p></p></td> </tr> <tr> <td><p>17. Old School</p></td> </tr> <tr> <td><p><br>9. Blazing Saddles</br></p></td> <td rowspan="2"><p></p></td> <td rowspan="4"><p></p></td> </tr> <tr> <td><p>24. Deer Hunter</p></td> </tr> <tr> <td><p><br>8. Tombstone</br></p></td> <td rowspan="2"><p></p></td> </tr> <tr> <td><p>25. Clockwork Orange</p></td> </tr> <tr> <td><p><br>4. Saving Private Ryan</br></p></td> <td rowspan="2"><p></p></td> <td rowspan="4"><p></p></td> <td rowspan="8"><p></p></td> </tr> <tr> <td><p>29. Star Trek II: The Wrath of Kahn</p></td> </tr> <tr> <td><p><br>13. The Longest Day</br></p></td> <td rowspan="2"><p></p></td> </tr> <tr> <td><p>20. The Longest Yard (Original)</p></td> </tr> <tr> <td><p><br>12. Apocalypse Now<br></p></td> <td rowspan="2"><p></p></td> <td rowspan="4"><p></p></td> </tr> <tr> <td><p>21. Jaws</p></td> </tr> <tr> <td><p><br>5. Raiders of the Lost Ark</br></p></td> <td rowspan="2"><p></p></td> </tr> <tr> <td><p>28. Boyz in the Hood</p></td> </tr> <tr> <td><p><br>2. Braveheart</br></p></td> <td rowspan="2"><p></p></td> <td rowspan="4"><p></p></td> <td rowspan="8"><p></p></td> <td rowspan="16"><p></p></td> </tr> <tr> <td><p><br>31. Say Anything</br></p></td> </tr> <tr> <td><p><br>15. Bridge Over the River Kwai</br></p></td> <td rowspan="2"><p></p></td> </tr> <tr> <td><p>18. The Magnificent Seven</p></td> </tr> <tr> <td><p><br>10. The Incredibles</br></p></td> <td rowspan="2"><p></p></td> <td rowspan="4"><p></p></td> </tr> <tr> <td><p>23. The Quiet Man</p></td> </tr> <tr> <td><p><br>7. The Godfather</br></p></td> <td rowspan="2"><p></p></td> </tr> <tr> <td><p>26. Tora, Tora, Tora</p></td> </tr> <tr> <td><p><br>3. The Big Labowski</br></p></td> <td rowspan="2"><p></p></td> <td rowspan="4"><p></p></td> <td rowspan="8"><p></p></td> </tr> <tr> <td><p>30. Return to Me</p></td> </tr> <tr> <td><p><br>14. Young Frankenstein</br></p></td> <td rowspan="2"><p></p></td> </tr> <tr> <td><p>19. Rocky IV</p></td> </tr> <tr> <td><p><br>11. A Bridge Too Far</br></p></td> <td rowspan="2"><p></p></td> <td rowspan="4"><p></p></td> </tr> <tr> <td><p>22. A Few Good Men</p></td> </tr> <tr> <td><p><br>6. Full Metal Jacket</br></p></td> <td rowspan="2"><p></p></td> </tr> <tr> <td><p>27. Goodfellas</p></td> </tr> <br> Appreciate any help Okay, so here's what I'm trying to do- This is a short excerpt of my page, the part that is causing the problem: HTML Code: <font color=#333333><b>Category: <div id="category" align="left">Category</div></b></font> I want to DISPLAY the Html code on my site, so I'm using < and > to achive this. Its working perfectly. Now, in the code that is being displayed- is an actual HTML code, that I want to turn into html. Here's where the problem is. As you can see- the actual Html code is: HTML Code: <div id="category" align="left">Category</div> I made sure not to change the tags, so that the browser will accept it as html. Now- my problem is that when I publish this on my site, an ugly page break appears before & after the real html code. I want to be able to copy the code that appears, and just simply paste it onto another part of the site- BUT, because of the line break that occurs, the HTML isn't displayed properly. Normally, a simple line break like this one won't affect anything- but I'm using WORDPRESS for my pages, and wordpress recognizes every time a line break happens, it makes a <br> code. So even if you press the enter key in HTML, it automatically ends up being a <br> code and breaks the whole html code. How will I make it so that the line break DOESN"T happen? TL;DR: I want to display HTML code on my site, but I want to have an ACTUAL HTML CODE inside the html code to be displayed. When I do this, a line break happens before and after the ACTUAL HTML CODE. How do I get rid of this? What my page currently looks like: HTML Code: <font color=#333333><b>Category: <div id="category" align="left">Category</div></b></font> Please help, everything is greatly appreciated! hi, how can i set td just single line.for long texts, td makes new line.how can i achieve in making td single line no matter how the text is long? Forgive me for this rather elementary question...I'm a T-shirt printer and I've learned enough html to build my own website, but I have a lot more to learn about it...Anyway the problem I'm having is when I add an image and want the next paragrah, or headline to display below the image, I've been accomplishing it by adding line breaks until it appears below rather than off to one side. Sometimes I have to add as many as seven or eight <br />'s to achieve my purpose. Is there a better way to make something appear below an image? I am trying to build a page using drupal CMS but I have a problem. Whenn add checkbox, text and submit button together, each of them gets in a different line. It looks like i use <br> although i don't. Adding content with a WYSIWYG editor seems to be working into the editor content area. But when I save it, it appears again in different lines,no matter in which place of the frontpage I add it. So I guess I guess the reason is the style.css file. But I can't find the exact line that damages my code. In pictures below you can see 1)the content correctly presented into WYSIWYG editor 2)The content in frontpage (awful) 3)The simple html i use 1) http://www.teicrete.gr/libsite/files...wyg_editor.JPG 2) http://www.teicrete.gr/libsite/files...page_error.JPG 3) http://www.teicrete.gr/libsite/files/3_simple_html.JPG Any help would be great... Thanks in advance! how can i add onto an html file using php? for example. if i was making a forum chat or something similar, how would i add onto the char using a form, a PHP file, and the main html file that stores the conversation? the thing with this html file is this... Code: <html> <other stuff> <body> PHP file will add text here! <------------------- </body> </html> how do i make the php file add stuff in the middle of the html file? Hi: I'm a newbie and am designing my 1st screen using Transistional HTML. Without using CSS, is there a simple way to draw a horizontal line across the screen ? TIA -Mel Smith http://credmond8.awardspace.com/home.phtml How can I get "Site Theme" and "Time" on the same line? For the life of me, I cannot get rid of the small white line on either side of the dark blue in the following: http://www.toddcary.com/test/viewpoi...ew_design.html Any suggestions are welcomed! Todd Hi, I am making my own HTML homepage and I would like to have a button/text saying: 'Close', at the top-right. But I don't seem to be able to work out how to have multiple DIVs on one line. I have tried floating but it doesn't seem to work. By the way, I am editing with SuperEdi. How make all of this on one line? (The div is the element that is not on the line) Thanks! HTML Code: <input type=image value="Click Me!" src="http://sites.google.com/site/sam01110011/Home/face-grin.png" id="butCount" onClick="buttonClicked()"> <input type=image value="Reset" src="http://sites.google.com/site/sam01110011/_/rsrc/1258518796363/Home/face-sad.png" id="butReset" onClick="resetCounter()"> <div id="content_div" style=""></div> I am setting up a non-profit web page and they are going to want a donation page for on line donation using credit cards. other than knowing that they need a "merchant account", is there some kind of software that interacts with the merchant account. I don't think it's necessary to go and set up a store, because of the cost and it seems like over kill. |