supergrame Posted October 28, 2009 Share Posted October 28, 2009 my site layout is setup with divs, finaly. I am trying to create a login area in one of my layout divs, the sidebar. Now since i will be needing to put a few elements in there such as password and login label, A password and login text area and some text that says please login. etc should i use a table for this as I can see that trying to create or set up a div with css for this would be hard! But if you guys think it should be done inside a div with no table then I will go ahead and play around with it. Quote Link to comment Share on other sites More sharing options...
haku Posted October 28, 2009 Share Posted October 28, 2009 Different people look at it different ways, but the way I see it, login forms are often tabular. You are cross referencing a label with an input. So a table isn't the worst thing. But it wouldn't be wrong to do it with CSS either. Quote Link to comment Share on other sites More sharing options...
supergrame Posted October 28, 2009 Author Share Posted October 28, 2009 ok well I'm looking for the way it will be don't in the future since I'm learning. my thinking is I should learn the most recent way so I don't start off with BAD/OLD coding hobbits Quote Link to comment Share on other sites More sharing options...
seanlim Posted October 28, 2009 Share Posted October 28, 2009 Using tables in this case isn't bad. Like what haku said, the nature of a login form is tabular. While it is possible to do it with DIVs, it is, IMHO, avoiding the use of tables just for the sake of it, and may even complicate a rather simple form. I agree that tables should be avoided in laying out your page, but i think the use of it in forms is very reasonable. Quote Link to comment 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.