HTML - Need Do Make Text Red And Underlined In A Script
My code:
Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=windows-1250"> <meta name="generator" content="PSPad editor, www.pspad.com"> <title></title> </head> <body> <script type="text/javascript"> value1 = prompt("an article of clothing", ""); value2 = prompt("plural noun", ""); value3 = prompt("a kind of relative ", ""); value4 = prompt("an animal ", ""); value5 = prompt("a plural noun", ""); document.write("This tale is is about a girl called Little Red Riding Hood, after the red " + value1 + " she always wears. The girl walks through the woods to deliver " + value2 + " to her sick " + value3 + ". A " + value4 + " wants to eat the girl but is afraid to do so in public. He approaches the girl, and she naively tells him where she is going. He suggests the girl pick some flowers, which she does. In the meantime, he goes to the " + value3 + "'s house and gains entry by pretending to be the girl. He eats the " + value3 + ". When the girl arrives, he eats her whole too. A hunter, however, comes to the rescue and cuts the " + value4 + " open. Little Red Riding Hood and her " + value3 + " emerge unharmed. They fill the wolf's body with heavy " + value5 + ", which kill him.") </script> </body> </html> Thanks BillyGalbreath showed how to do it. Similar TutorialsI was wondering how to make text bold, italicized, and underlined using css. I am new at css. Thanks 4 the help! Hello all, i created a link & made it non underlined, & i need to make it underline after i clicked on it can anyone tell me how i can do this? the code for my link is <a href="frontpage.view.php" style=text-decoration>Home</a> hello I am trying this <a href="http://www.yahoo.com" tyle="text-decoration: none" >erer</a> but still tehre is underline under the text I want to remove it help thanks In IE this code (not underlined link in table at the end of page) <TABLE width="300" border="1"cellspacing="2" cellpadding="2"> <TR> <TD ALIGN="center"> <style type="text/css"> <!--A:link {text-decoration:none; color="white"} A:visited {text-decoration:none; color="white"} A:hover { text-decoration: none; color="RED"} --></style><font face="ARIAL" size="3" ccolor="white"> <a href="index.html" style="cursor:crosshair"><b>HORARY SPORTS ASTROLOGY</b></a> </TD></tr></table> works fine (regarding colors) but when I look same page in Mozilla Firefox colors does not works. In IE color of "HORARY SPORTS ASTROLOGY" is white in Mozilla color is light green? Page:http://www.astrosport07.webs.com/kimitrue.html Is there something that I could add (and where? I am not expert) to make that colors works in Mozilla too? Thanks for answer. Hi, this is appleguy.......6142! I was wondering how to make a text box display something somewhere else for example (This does not work)---- ------------------------------------------------------------------ [page1.html] (Pretend this is a text box)>>> [Text Text Text...] [page2.html] -This is the text displayed in the text box->>>Text Text Text... HOW DO I DO THAT PLEASE HELP!! is there a better way than this (below) to style Script and Code, to look like script and code when written/typed in html? For instance how does the [ HTML ] [ /HTML ] in this forum work? HTML Code: <style type="text/css"> .csslook { font-family: "Courier New", Courier, monospace; font-size: 12px;} .darkpink {color:#990099;} .green {color:#006600;} .pink {color:#FF00FF;} .darkblue {color:#000099;} .blue {color:#0000FF;} </style> <div class="csslook"> <span class="darkpink"><style type=<span class="green">"text/css"</span>></span><br> <span class="pink">#mainContent {</span><br> <span class="darkblue">padding</span><span class="pink">:<span class="blue">0px 1px 0px 1px</span>;</span><br> <span class="darkblue">border-width</span><span class="pink">:<span class="blue">1px 2px 2px 1px</span>;</span><br> <span class="darkblue">border-style</span><span class="pink">:<span class="blue">solid</span>;</span><br> <span class="darkblue">background</span><span class="pink">:<span class="blue">#faf6f6</span>;</span><br> <span class="darkblue">color</span><span class="pink">:<span class="blue">#000</span>;</span><br> <span class="darkblue">border-color</span><span class="pink">:<span class="blue">#edd #baa #baa #eed</span>;</span><br> <span class="darkblue">font-family</span><span class="pink">:<span class="blue">Arial, Helvetica, sans-serif</span>;</span><br> <span class="darkblue">size</span><span class="pink">:<span class="blue">12px</span>;}</span></span><br> <span class="darkblue"></div></span> </div> I want to create a form with a text box that has a specific answer. If the correct answer is typed in, the submit button redirects to one page. If the wrong answer is typed, the form redirects to another page. Is there any way to do this? read title Hello, I want to create a large text box. I have the following code: Code: <td class="CellInput"> <input type="text" size="150" textarea style="height:200px" name="information" id="informationId"> And here is the relevant CSS: Code: .CellInput { background-color: white; border: none; color: black; font-family: verdana,Arial,tahoma,sans-serif; font-size: 9.0pt; font-style: normal; font-weight: normal; margin: 0px; padding: 2px 2px; text-decoration: none; text-align: left; vertical-align: bottom; white-space: normal; } .CellInput INPUT, .CellInput SELECT, .CellInput TEXTAREA { border: none; margin: 0px; padding: 0px; } The box that my code generates is nice and tall...but you can only type in the first horizontal row...you can't press enter and go down to lower rows. I don't know whether there's something wrong with the box, and/or there's something somewhere preventing me from using enter. Does anyone have any ideas on how I could modify the above to make a nice, tall, usable box? I don't see anything that specifies height in the CSS above! I am still an HTML newbie, so it is very possible (probable?) that I am missing something obvious. Thanks in advance! I need to have this text in html. I need only the text, no table. My problem was, that when i changed the fontsize, a new paragraph was created. But i want it on one line. Thanks for your help. I would like to have some text and/or image appear on a page. And at a date/time have it disappear/expire. Is this possible? Is it html or a script? Any direction would help THANKS! Dave how to make java script (countdown) like rapidsahre/4shared? please...the code..!! to insert in blogger post? I just need a basic code for this. For what I presume is basic anyway. On MySpace, I'll insert links, and MySpace will automatically make it a hyperlink, but won't allow you to visit certain links that you click on. How do you prevent it from being a link and so that it's just text? I thought <nohtml> worked, but apparently it doesn't exist. Would help me out loads, thanks, Sam/. What code do I need to place some text in some type of table or container? thanks http://atomicwm.50webs.com/index.html I started my website yesterday but this is only my 2nd time making a layout. I want to make the dog's paws go over the text in the box when it reaches that far. I have a separate, transparent picture of the dog saved, but I don't know how to put it up/position it. Can someone help me? Sorry that I didn't explain this very well. I want to make a text box that looks like so: http://benjaminpotter.org/prototype.jpg and I need it to expand no matter how much text I place in there... I have got these 3 images: http://benjaminpotter.org/top.png http://benjaminpotter.org/middle.png http://benjaminpotter.org/bottom.png I need some way of making the middle one repeat itself down the x axis, so that the box can hold infinite text. Can anyone help me here? I'm using a jquery plugin that creates a grid view using a table. Inside the cells i have text areas that i'm manually sizing using the rows attribute, to fill the td. It's not working very cleanly though. Does anyone know of a way to get text areas to automatically size themselves to a containing td? thanks, max Hey guys, im completely new to web development, as in, i've literally never tried it before so im hoping you guys can help me I have a local HTML and, basically, it has 2 text boxes and one button. now the button currently takes you to another page, but i want that button to copy the text from the second text box to my clipboard, so i can paste it into another document i have adobe dreamweaver cs5 but im willing to pick up any other software i might need to pull this off all help appreciated! Hello all, I'm a newb at html, just started some basic coding last week. I've made my first site, though as you can see, the images and text (even if it's a placeholder right now) aren't lined up, and I'm not sure how to tell it to do that. Anybody with more expertise understand my situation, and how to fix it? Thanks! http://elliottetzkorn.com I've looked all over the web and can't find an effective way to do this. Can someone please help? I need to make text drop down menus when you mouseover my links. This is a perfect example: http://www.stpatrick.org/ Thanks a lot! |