Wrap - I am trying to wrap text after a textbox

free web hosting
Free Web Hosting > Computers & Tech > Designing > Web Design and HTML

Wrap - I am trying to wrap text after a textbox

soleimanian
I am trying to wrap text after a textbox. It is working fine on IE. but it doesn't work on Netscape 7.0 and Firefox 1.0.1 huh.gif
Following is the code:

CODE

<table cellpadding="0" cellspacing="0" width="430;">
<tr>
<td>
<div>
<span style="display:inline;float:left;width:160;" >
<input type="text" id="departure" name="DepartureAirportCode" size="20" maxlength="30" style="width:100px;margin-right:10px;"/>
</span>
<span style="display:inline;float:none;">
<input type="text" id="departure" name="DepartureAirportCode" size="20" maxlength="30" style="width:100px;"/>
</span>
<span style="width:120;vertical-align:bottom;">
Airport/city name or 3 letter code.
</span>
</div>

</td>
</tr>
</table>


The "Airport/city name or 3 letter code. " text waps around in IE by not in NN or firefox.
Do somebody tell me how to do it?


Notice from m^e:
Please put your code between CODE tags from next time onwards. That does make your code part stand out and makes up for better readability of your post.

 

 

 


Reply

Tobias
Here you go buddy. You didn't need to have it all in a table or even in a div. You can mess around with this stuff, just though I'd fix the wrapping problem.

CODE

<HTML>
<HEAD>
<TITLE></TITLE>
<META name="description" content="">
<META name="keywords" content="">
<META name="generator" content="CuteHTML">
<style type="text/css">
#container {
 width: 400px;
 margin: 0;
 padding: 0;
 }

#span1 {
 width: 160px;
 margin: 0;
 }

#departure {
 width: 100px;
 margin: 0 10px 0 0;
 }

#span2 {
 position: absolute;
 width: 120px;
 }
</style>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#800080">
<div id="container">
<span id="span1">
<input type="text" id="departure" name="DepartureAirportCode" size="20" maxlength="30">
</span>
<span>
<input type="text" id="departure" name="DepartureAirportCode" size="20" maxlength="30">
</span>
<span id="span2">Airport/city name or 3 letter code.</span>
</div>
</BODY>
</HTML>


Hope all goes well from here on out. cool.gif

 

 

 


Reply

iGuest
#departure {
width: 100px;
margin: 0 10px 0 0;
}


This is not

Input type="text" class="departure" id="departure" name="DepartureAirportCode" size="20" maxlength="30">

Reply


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.

Recent Queries:-
  1. firefox span wrap text - 3.75 hr back. (1)
  2. zedge - 9.14 hr back. (1)
  3. wrapping a text in span or div - 10.18 hr back. (1)
  4. wrap text input=text - 14.20 hr back. (1)
  5. span text wrap - 68.81 hr back. (1)
  6. wrap input type text - 80.41 hr back. (1)
  7. every 20 letters wrap in php - 93.56 hr back. (1)
  8. html span does not wrap - 100.75 hr back. (1)
  9. html span wrap - 119.93 hr back. (1)
  10. how to wrap the text in html span and css - 125.13 hr back. (1)
  11. wrap text in html using span - 128.80 hr back. (1)
  12. css textbox text wrap - 137.33 hr back. (1)
  13. wrapping text in a span or div - 139.93 hr back. (1)
  14. wrap text input - 140.01 hr back. (1)
Similar Topics

Keywords : wrap, wrap, text, textbox

  1. Help With Making A Textbased Game
    im new to text based games (2)
  2. Problem With Selecting A Textbox Content
    (0)
    What i want to do is to first enabled a disabled text box, and then focus and select all the
    contents of this text box after the user clicks on a checkbox, i have it working with simple HTML
    and Javascript but how can i do to get the similar result using the DOM??? For simplicity i only
    include this code that works: CODE <html> <head> <script
    type="text/javascript"> function toggle(formname,checkname) { var
    c="CantField"; if(checkname.checked==true) {     checkname.value="on";
        document.f[c].d....
  3. Animated Favicon With Scrolling Text!
    Free Animated FavIcon With Scrolling Text! (12)
    Anybody needs Animated FavIcon with your site address scrolling on that along with your logo?
    Check this site! Thats the site without any customization Options! But if you need to
    customize the Animated Icon, please reply here (In the sense, Fonts & Color Customization) Im
    doing it for Free! Example is here: checkOut the fav icon for: www.niranvv.com and
    www.fun.niranvv.com You can see one Icon along with one Scrooling Text: NiranVv.Com in the
    icon! So, if you need that one, ask here! I'll give you the animated ....
  4. Css For Input Text Only
    I don't think there is a solution but... (16)
    I have read (or glimse through) all the CSS 2 specification and google a lot but found no solution
    for the following problem. Anyone can help? The basic idea is the input field for the type text ,
    password is quite small, so I want to change its width by CSS CODE input {   width :
    400px; } However, this affects the width of the radio button too (in most current browser). Is
    there anyway that I can apply this CSS to input field which is of the type text or password
    ONLY? The tricky part is I MUST NOT use any additional attribute in input fie....
  5. Hiding/showing Text On Click
    is it possible with css/javascript (2)
    Ok, I got an question: I want to make a site with a news box or something similar. It's gonna be
    a table with a small piece of text and an "read more" button. Now I want to make it so that if
    people click on the "read more" there will appear an other piece of text underneath it. How do I do
    this? thanks in advance, -=jeroen=-....
  6. Xhtml Is Not Suppose To Be Text/html
    IE not planning to support XHTML yet (8)
    I am quite disappointed in IE's development as with keeping up but still if they feel they need
    to fully work on current things that they have already attempted to resolve and perfect then that is
    a good thing, but development should have never got so messy and only the developer would know that
    it's his fault and not MS's. This isn't to bad mouth IE, but it's so sad to know
    that even after 5 years or more of IE6, IE7 has no intention of supporting XHTML and I don't
    think I can wait for IE8 if development takes such a long time. They should also....
  7. Html: Alt Text For Objects
    Is it possible? (8)
    My site is going to use a lot of Flash files pluged into the page. I embed it into the page like
    this: CODE <object width="550" height="400"> <param
    name="movie" value="flashfile.swf"> <embed src="flashfile.swf"
    width="550" height="400"> </embed> </object> What I want to
    know is: Is it possible to give the object an alt text? Something like the alt="The Flash File" that
    is used in IMG tags is what I want. I've tried putting it inside the object tag, param tag and....
  8. Game Website
    text base (4)
    I want to make a online game website, can I do with astohost? I been trying to get a free website
    but it's seems to harder then I thought, I hope this one work, everytime I apply they never send
    a confirmation email. Will the site I get from astohost be able to do what I want, a text base game
    with some animation, like flash, I need help so if anyone can help let me know.....
  9. Good Text Html Editor
    (24)
    Does someone know good text HTML editor for web page creation?(sure, I mean text editor, not
    WYSWYG). There is no reason to stick with Notepad when there is a set of the various special html
    editors much more convenient than ms Notepad. No any of microsoft products does not not suit for
    html editing, and Frontpage is absolute rotten.....
  10. wut is html?
    hyper text (4)
    wut is html? well html is a kind of languge i think and it is used to make website? i think thats
    html is one of thy best website making languges....
  11. Text-Based HTML Editors
    (5)
    1st Page 2000 1st Page 2000 is the tool that lets you create powerful, great looking websites
    fast, easier and on-time. AceExpert In addition to being an excellent HTML editor, AceExpert
    also greatly assists you with predefined Java applets and JavaScripts. AceExpert is the solution for
    developers who want to integrate the latest technologies into their Web pages. Simple and easy to
    use, AceExpert gives you the full power of a complete HTML Editor. Arachnophilia Arachnophilia
    lets you use two methods to create Web pages: The 'old-fashioned way' with th....

    1. Looking for wrap, wrap, text, textbox

*RANDOM STUFF*





*SIMILAR VIDEOS*
Searching Video's for wrap, wrap, text, textbox
advertisement




Wrap - I am trying to wrap text after a textbox



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute your information that might help someone here.
Ask your Doubts & Queries to get answers.. "Together, We enlight each other!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE