Forum Moderators: not2easy
I have a slight problem. I started workin for a company not that long ago and they have a set of client specific web pages, all of them written in PHP. There is absolutely no CSS being used anyplace, just a ton of html tables. I know that with CSS you can get rid of most if not all html tables. Well, instead of diving right in the deep end and trying to rewrite their whole set of web pages I decided to start with one particular page that contains a Form. Here is the url to a pic of the form...
<Sorry, no personal URLs, etc.
See Forum Charter [webmasterworld.com]>
I took over this page creation from someone else so I haven't quite got things situated correctly on the page. The form is supposed to be centered on the page. Right now it's done completely with tables and since I took it over from someone else it's not done very well. I believe that CSS, if done correctly, could really make this page not only look good but make the code a lot easier to read and maintain.
What I don't know is how to go about implementing this with CSS. I mean, should I have each major section a div? If so then how do I align the things inside of the div correctly?
Any advice would really be appreciated!
Thanks,
Paithar
[edited by: tedster at 4:57 pm (utc) on Aug. 19, 2005]
You need to remove the URL from your post as per the TOS.
I took a look though, and frankly I would use a table for that, but take all the table styling and positioning and so on out with CSS.
I know there are plenty of people doing form layouts with CSS, but quite honestly with a long form like that I do not think there is much advantage. You can cut the table markup down a lot by using CSS.
This gives you a lot of flexibility for styling, and is a structurally sound way of doing it.
good luck
if you decide to take benihana's good advice :)
you might then like to take a look at this thread [webmasterworld.com] on Styling Forms
Suzy