rv20 Posted May 22, 2009 Share Posted May 22, 2009 Spent ages on this, appreciate some help, it works great in IE but all jumbled up in FF, I am trynig to create a sign-up form using divs and inline styles, although i can "port" the styles to a SS later, <div style="width:400px;height:20px;"> <input style="float:right;height:15px;" id="username_sign" type="text" name="username_sign" /> <div style="width:180px;height:20px;"> Username: </div> </div> <div style="width:400px;height:20px;"> <input style="float:right;height:15px;" id="username_sign1" type="text" name="username_sign1" /> <div style="width:180px;height:20px;"> Password: </div> </div> <div style="width:400px;height:20px;"> <input style="float:right;height:15px;" id="username_sign2" type="text" name="username_sign2" /> <div style="width:180px;height:20px;"> Confirm Password: </div> </div> <div style="width:400px;height:20px;"> <input style="float:right;height:15px;" id="username_sign3" type="text" name="username_sign3" /> <div style="width:180px;height:20px;"> E-mail </div> </div> Quote Link to comment https://forums.phpfreaks.com/topic/159313-what-is-wrong-with-this-code/ Share on other sites More sharing options...
Hybride Posted May 23, 2009 Share Posted May 23, 2009 Not sure what you're talking about, am on FF (3.0 specifically, and I checked 3 other browsers), and it's all fine. Btw, instead of hard coding all of those divs, since they are all the same width/heights, you could just create a style, like: #divbox{width:400px;height:20px} <div id="divbox"><input>...</div> Quote Link to comment https://forums.phpfreaks.com/topic/159313-what-is-wrong-with-this-code/#findComment-840430 Share on other sites More sharing options...
DarkSuperHero Posted May 23, 2009 Share Posted May 23, 2009 the input box hight is too small, text does not fit inside. Your going to need to adjust the font-size inside the input, and style the label text.....but if its part of larger page it might already be done.... What are you exactly trying to get this to display ? Maybe post an image of the expected output and we canhelp you make it look like it 'should'. Quote Link to comment https://forums.phpfreaks.com/topic/159313-what-is-wrong-with-this-code/#findComment-840445 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.