UberPooner Posted February 10, 2009 Share Posted February 10, 2009 Hi, I have a texbox, select and textarea all in one div written out one after the other. In css, what would I need to do to get them to show up stacked as opposed to inline. I tried calling the div and giving it a "display:block", that didn't work. thanks for helping. Link to comment Share on other sites More sharing options...
eerabbit Posted February 10, 2009 Share Posted February 10, 2009 I think using a line break is probably the best way.. Link to comment Share on other sites More sharing options...
jeffman Posted February 10, 2009 Share Posted February 10, 2009 A div's default is display:block, so that would do nothing. Set all the inputs to display:block.Call me an iconoclast, but I dislike linebreaks in anything other than text, and even there I prefer to use <p> elements (with a little CSS). Link to comment Share on other sites More sharing options...
jlhaslip Posted February 10, 2009 Share Posted February 10, 2009 Please post the code you are using. HTML and CSS. Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.