SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Zealot
    Join Date
    Feb 2008
    Posts
    159
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    how to design input and text beside to it ? with out using float or tables ??

    hi

    i want make input with text name like :

    usernme : <input...
    password : <input..

    i want make username tex and username input in the same line and also password text and password input

    i can do it using float or tables ... but i don't want make it using fload or tables ,
    i want make it using method by web2.0 and css to be proportional with page direction (rtl or ltr)

    thanks,

  2. #2
    doing my best to help c2uk's Avatar
    Join Date
    May 2005
    Location
    Cardiff
    Posts
    1,832
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    float is CSS?!? And never ever heard anybody referring to Web 2.0 in this context.

    If you want help with converting LTR to RTL, then Google might be your best friend, here's one result: http://janschneider.de/news/5/319 - but basically you have to create an alternative css file for rtl.

  3. #3
    Are You There? KDesigns's Avatar
    Join Date
    Oct 2003
    Location
    Your Monitor
    Posts
    1,147
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm thinking that you are saying that you don't want to use floated div's. Is that right? The best way to do this would be to put your fields in a list format and use the <label> tag. Of course, that would have to be floated, but you should be using the label tag anyways. From your question, I'm not sure whether you know exactly what you want but are having a problem explaining it or that you actually don't know "exactly" what it is you want to do (in terms of using proper terminology).
    ChooseDaily.com - Follow on Twitter
    Top Resources for Web Designers and Developers Every Day!

  4. #4
    Design Your Site Team bronze trophy Erik J's Avatar
    Join Date
    May 2007
    Location
    Countryside, Sweden
    Posts
    3,407
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Jason4Ever View Post
    ... and css to be proportional with page direction (rtl or tr)
    You can put them in paragraphs to pair them in rows. The html attribute dir will arrange them accordingly.
    Code:
    <form method="post" action="*">	
    	<p><label for="user">Username: </label><input id="user" type="text"></p>
    	<p><label for="pass">Password: </label><input id="pass" type="password"></p>
    	<p><input type="submit" value="Submit"></p>
    </form>
    Happy ADD/ADHD with Asperger's


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •