HTML - Want To Simply Make A Container For Text
What code do I need to place some text in some type of table or container?
thanks Similar TutorialsI want to know how to make a div stretch to the full height of a container! Here is the html: 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> <title>This site is currentely out of order! Chack back later.</title> <link href="style.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="container" style="display:block"> <div id="leftside" style="display:block"><img src="images/leftside.gif" alt="" /></div> <div id="logo" style="display:block"> <img src="images/logo.gif" alt="" width="315" height="140" title="" /> </div> <div id="content" style="display:block"> <br /> <br /> <br /> <br /> <br /> <br /> </div> </div> </body> </html> And then the css: Code: /* START - Master */ div {display:none} /* Keep NO MATTER what - Keep at top */ body {background-color:#000000; background-image: url('images/watermark.gif'); background-repeat: no-repeat; background-attachment: fixed} #container {width: 85%; margin-left: 7.5%; background-color: #666666; color: #030303} #leftside {float: left; min-height: 100%; height: 100%; background-image: url('images/leftside.gif'); background-repeat: repeat-y} /* END - Master */ /* START - Header - No change */ #logo {width: 85%; margin-left: 7.5%; background-color: #7B7B7B; text-align: left; font-size:15pt; border: none} /* END - Header - No change */ /* START - Content */ /* END - Content */ /* START - Footer - No change */ /* END - Footer - No change */ The "leftside" image is supposed to be the full length of the header + content. Thanks! Hello I was wondering can anyone help me to show where to put a background image at on my simpleviewer page. do i erase the imagepath and simply put backgroundimagepath="back.jpg= thumbpath=""> I just would like to know exactly where to put my jpg. and what to erase? here is what the script looks like <?xml version="1.0" encoding="UTF-8"?> <simpleviewergallery maxImageWidth="480" maxImageHeight="480" textColor="0xFFFFFF" frameColor="0xFFFFFF" frameWidth="20" stagePadding="40" navPadding="40" thumbnailColumns="3" thumbnailRows="3" navPosition="left" vAlign="center" hAlign="center" title="SimpleViewer Gallery" enableRightClickOpen="true" backgroundImagePath="" imagePath="" thumbPath=""> <image> <filename>banner-1.jpg</filename> <caption><![CDATA[Photomanipulations, Vectors, Cd Design and Logos]]></caption> </image> <image> http://www.l2-wow.com/ is the link. As you can see, on a 1027x768 resolution there's this bar that drags into nothing.. nothing is there. I have been all over the HTML/CSS and I can not simply figure out what in the world is doing it. I had to re-do it again because things weren't lining up right when people with higher than 1024x768 resolutions viewed it.. any insight on these issues on what causes them and how to fix them before a computer gets thrown down the stairs? Nevermind: It's been resolved. Apparently I forgot to set the width on the navigation in my first stylesheet and it was making it obnoxiously long for w/e reason. Writing code and being tired don't mix well. 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!! 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? 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 read title 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. 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! 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. 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. 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 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/. 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! 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! 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 am trying to move my title text further to the right. However, when I do (by adding more  , the title breaks into another line instead of moving further to the right. I have tried manipulating the margin px, but it isnt changing. I am not familiar with manipulating floating text. How do I accomplish this? Here is my current code: <td align="center" valign="top"><table width="655" border="0" cellspacing="0" cellpadding="0"> <div style="background:url(/offices.jpg);margin:0;"><br/><br/><span style="float:right;margin:0px 150px 198px 0px;"><font type="Arial Narrow" size="5"><b> &nbs p; &n bsp; <font color="#4E4848">My title</font></b></font> </span> I was wondering how to make text bold, italicized, and underlined using css. I am new at css. Thanks 4 the help! Hi All, Nice site BTW, my problem is i want to add some text with a background colour behind it but i want the background colour to stretch the full width of the page ? Can anybody help me out Thanks |