Textbox
Moderator: General Moderators
Re: Textbox
Yea thats more or less it!
However how do u color the background of the input...? =)
However how do u color the background of the input...? =)
- hypedupdawg
- Forum Commoner
- Posts: 74
- Joined: Sat Apr 10, 2010 5:21 am
Re: Textbox
You can use css styles on all the inputs by using this syntax:
You could then replace "text" with any other input.
Have fun designing!
Code: Select all
input[type=text] {
width: 300px;
background-color: cyan;
}Have fun designing!
Re: Textbox
input[type=text] doesn't work in IE6, instead you should assign a class to input and use that
Code: Select all
<input type="text" class="text-input" />Code: Select all
input.text-input {
/* Your CSS here */
}- hypedupdawg
- Forum Commoner
- Posts: 74
- Joined: Sat Apr 10, 2010 5:21 am
Re: Textbox
Arghhh! Doe IE6 do this for every input/output type, or is it just this specific one? Are there any other class type things that it won't pick up?
Re: Textbox
ohh yea another question... how do u do so it allways are at a specific position?
Exampel if u scroll down its still at the top... =)
Exampel if u scroll down its still at the top... =)
Re: Textbox
@hypedupdawg IE6 doesn't support attribute selectors. See http://www.quirksmode.org/css/contents.html
@Goofan You can do it with position: fixed; but that doesn't work in IE6, so for it you have to use a workaround http://www.google.com/search?source=ig& ... ixed%20ie6
@Goofan You can do it with position: fixed; but that doesn't work in IE6, so for it you have to use a workaround http://www.google.com/search?source=ig& ... ixed%20ie6
- hypedupdawg
- Forum Commoner
- Posts: 74
- Joined: Sat Apr 10, 2010 5:21 am
Re: Textbox
thanks very much... its nice to know before I implement any of this stuff, so I don't have to do it twice... 