HTML - Text Without <p>
I have been making a new website and have come to a point where I cannot decide to take the blue pill or the red pill. I am wondering if I should use the <p> tags on a few of my divs because if I do use <p> I will have to do some formatting to remove the extra space it creates. If I do not use the <p> tags it looks fine. Is it ok to use text without the <p> if the only thing your doing with it is adding links in a straight line?
<div id="navigationmenudiv">Home | Media | Link | Link2 | Link3 <hr></div> Similar TutorialsHi All, I am new to this forum and is expecting an answer for this question. I have implemented a facebook type search to the database which displays the familiar text saved in the database when I type some text in the database. My issue is after I have used the search box for a couple of time the text box starts displaying a similar dropdown from its history which hides my database search. Does anyone know how to disable it using html or css. See the attached Image if my question is not clear. http://www.htmlforums.com/attachment...1&d=1306715905 I have several websites that I maintain and update. A lot of them are just textual changes and I would think my customers can do these themselves by editing a simple .txt file. I was hoping my choices are avalable so that I can just insert this tag into my web pages and then give them login info to their edit page or show them how to upload the .txt file. I hope this is an easy one with several answers. Is it possible these tags could discipline your rankings in the search engines? Thanks, Jason here is the (ineffective) code currently: <img style="float: left; width: 169px; height: 73px;" src="img/logo1.png" alt="" /> <h1 style="text-align: center;">random text</h1> the image shifts the left margin such that the text is centered as though the page width was 169px less than it really is. i'm not debating the code itself; the code above behaves as its meant to. aka no surprises. i just cant figure out the appropriate code to center the text across the entire real width of the page as though there was no image. i've tried div tags & all the things google hunting advised. no luck. other than finding this forum, which seems like it'll be a boon! thanx in advance for advise/comments/feedback/help. i have a lot of text files(2-400) all have quite alot of text inside them so is there some software that can help me convert it all into html pages?? somthing that i am doing right now is: copied all of my text files pasted them into other location and editing each file and giving extention html/htm. now can u tell somthing better?? all the files will open in same frame(obviously one at a time), all have styling n everything same. How do I Link text in a div, h1, h2, p to an external text file or xml file - I don't really know how to ask the question. I think I need an xml file that can be easily edited by a user saved to the server to update an xhtml page text without the user getting bogged down in html. I don't want to use joomla or cms. <Any ideas />? Best wishes, mas Hi Can any one help. I have this form the user is ask to input a message and a number. I want to be able to add a line of text to the message, which the user can not delete. But is sent joined to the message. ie User input Message = "Hi Just would like to share this site with you" with added text: Message "Hi Just would like to share this site with you" + "mydomain.com" Can anyone help? =========================================== Here is my form so far <script language="javascript" type="text/javascript"> function limitText(limitField, limitCount, limitNum) { if (limitField.value.length > limitNum) { limitField.value = limitField.value.substring(0, limitNum); } else { limitCount.value = limitNum - limitField.value.length; } } </script> <html> <body> <form action="stext.php" method="POST" name="number" id="number" style="width: 384; height: 372; "> <input name="number" type="text" id="number" style="position: absolute; left: 123; top: 287; color: #FFFFFF; width: 154px; border: 1px solid #ACC61B; background-color: #000000" size="20" tabindex="2"><p style="margin-top: 0; margin-bottom: 0"> <textarea name="message" cols="17" rows="1" id="message" onKeyDown="limitText(message,countdown,140);" onKeyUp="limitText(message,countdown,140);" style="position: absolute; left: 120; top: 105; width: 162px; height: 154px; color: #FFFFFF; font-family: Agency FB; font-size: 14pt; border: 1px solid #ACC61B; background-color: #000000" tabindex="1"></textarea> <br> </td> <input name="Submit" type="submit" id="Submit" value="!" style="position: absolute; left: 121; top: 329; color: #D95503; width: 157px; height: 23px; border: 1px solid #D95503; background-color: #D95503" tabindex="3"></p></form> <p style="margin-top: 0; margin-bottom: 0"><font size="4" face="Agency FB">Maximum characters: 140. You have <input readonly type="text" name="countdown" size="3" value="140"> characters left.</font> </font></p> <p style="margin-top: 0; margin-bottom: 0">nmgnm,</p> </body> Hi, I hope I'm posting in the right area as this is my first thread. The problem I'm facing is I have 7 links in a row | Link 1 | Link 2 | Link 3 | Link 4 | Link 5 | Link 6 | Link 7 | and below those links I have nothing. What I want is for Text to appear on rollover on Link 1 and stay there until Link 2 or another link is hovered over. Example: Mouse hovers on Link 1 - called Free Home Survey Text appears below row of links about Free Home Surveys that the company does Mouse hovers on Link 3 - called Personalisation Text appears below the row of links about Personalisation etc Any help would be greatly appreciated. Thanks in advance I want to implement a rollover (javascript or css) that changes text when you rollover it. E.g. someone's name and when you rollover it shows their address. I've googled this and found a css rollover which changes the color of the text but is there a way to completely change the text? Any help much appreciated, thanks hi Everyone, I have a html form in which i have a text area.I enter some thing in the text area and when i again request for the same html page i want to now display the html page with the changes i made last in the texta area. Can anyone help me out with this doubt. Thanks in advance 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 have seen this many times but can not figure how to do it. Its the transparent images or text in text boxes, one example of this is http://au.movies.yahoo.com/Coming+Soon/to-cinemas/ At the top right you can see that transparent yahoo image in the text box and when you click it it disappears then comes back? can someone tell me how this works? Thanks hello friends, I want to display the text in a textbox. But I dont want the user to edit it. How can the remove this editing feature in the text box. If possible can you please give me a sample code. ne help pleas with code for text fields am new to html i found this myspace music page where they have the code for one of their banner ads inside some kind of text box. i would like to do the same type of thing but don't know where to start. please help!! So this should be easy but im a beginner at html Theres a page that has a text field then a button next to it _ = Text Field and [Submit] = Button ____________ [Submit] Part 2 Now on the homepage of my site theres something that sais this on the ______________ i want what i typed on the ___________ above Get it? Text _______________ So now if u didnt understand that i hope u understand this ___________[Submit] _______________ (Here i want the text that i put on the ___________ left! Well that should be easy enough to understand I would like to flag a string as text. Is there a tag for this? Essentially, what im trying to do is us the char "<" and ">" in text. However, for pretty obvious reasons, I can't. Yet I'm sure there is a way. Anyone know how? Thanks in advance. With this code: HTML Code: <div style=" width: 220px; float: right; "> sidebar sidebar sidebar sidebar sidebar sidebar sidebar </div> <div> main main main main main main main main main main main main main main main main main main main main main main main main main main main main main main main main main main main main main main main main main main main main main main main main main main main main main main main main main main main main main main main main main main main main main main main main main main main main main main main main main </div> I obtain an output like this: Code: maintextmaintextmaintext sidebarsidebar maintextmaintextmaintext sidebarsidebar maintextmaintextmaintext sidebarsidebar maintextmaintextmaintextmaintextmaintext maintextmaintextmaintextmaintextmaintext maintextmaintextmaintextmaintextmaintext But I want to make that the code of the div of the main text is BEFORE the code of the sidebar div. How can I do? Thanks in advance. I got a problem.... Im not HTML freak but i made this homepage: www.thuroeminigolf.dk The text is sad in Explorer, but works well in Opera........ I used these standard things to help me out alot of the way: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> But in stuck on the text.... The background is a picture and the text is just outside the picture, not attached to it. Anyone got any idea of how to make text be the same on every browser? I dont want to change fundemental things like redesinging the whole picture and box system.... Just some easy text thing... Hope i dont confuse you to much I'd like to change the background colour of "alt" and "title" pop-ups. I've used hotspots with onMouseOver="this.T_BGCOLOR='#123456'; . . . in the past but the images I want to highlight already have rollover effects assigned and the two pieces of code don't seem to want to work together. hi, how do i stop the text (shopshopshopshopshop....) going outside the div and just continue onto the next line? thanks <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> <title>title</title> <meta name="description" content="" /> <meta name="keywords" content="" /> <meta name="robots" content="all,index,follow" /> <link rel="shortcut icon" href="favicon.ico" type="image" /> <link rel="stylesheet" href="style.css" type="text/css" charset="utf-8" /> </head> <body> <div style='width: 100%;'> <div style='width: 900px; margin: 0 auto;' > <div id ="logo" style='height:87px; background: red; padding: 30px; background-image:url(images/head.jpg)'></div> <div id="leftmenu" style='float:left; width: 100px; background: #f8eded ; padding:10px'> item<br> item<br> item<br> item<br> item<br> item<br> item<br> item<br> item<br> </div> <div id="content" style='float:right; width:760px;'> <div id="contentcol1" style = 'float: left; width: 660px; background: #DCEFCF ; '> SHOPSHOPSHOPSHOPSHOPSHOPSHOPSHOPSHOPSHOPSHOPSHOPSHOPSHOPSHOPSHOPSHOPSHOPSHOPSHOPSHOPSHOPSHOPSHOPSHOP SHOPSHOPSHOPSHOPSHOPSHOPSHOP </div> <div id="contentcol2" style = 'float: right; width: 100px; background: #DCEFCF ;'>basket</div> </div> <div id="content" style='float:right; width:760px;'> <div id="contentcol1" style = 'float: left; width: 660px; background: #DCEFCF ;'>SHOP</div> <div id="contentcol2" style = 'float: right; width: 100px;background: #DCEFCF ;'>INFO</div> </div> <div style='clear:both; background: green ; height: 1px; '></div> <div style='background: cyan ; padding: 5px 0 5px 30px;'>Copyright</div> </div> </div> </body> </html> |