I have a small freelance job given to me by a friend a mine. My job is to copy their first website's layout and style. So, it doesn't matter how I build the site, just as long as they look somewhat similar. I've been playing around with CSS DIVs and was wondering if it'd be easier/faster to do this with simple html tables over css divs. If it's a decision based on preference, then I would PREFER to do this with CSS mainly without tables (I just like it better). But, as you can see, I'm having a bit of trouble brainstorming how to convert the site to simple css. The current site is using tables and javascript. The css file I'm building right now can be located here and the html page is here (view the source). Any input is appreciated. Thanks
Its always better to use CSS if you are comfortable with it. Moreover make sure that your css works with all types of browsers, atleast with IE, Mozilla, and Firefox. It is said that your page that is designed using CSS loads much faster than a page that is designed with tables. Any guyz there to support this?
Use CSS for all presentational aspects of your page. Use tables when it makes sense in terms of the semantics of your page.
Yes, as the others have said CSS is the best but if you're having trouble then stick with tables - if you want to write the site completely yourself. If you're happy to use another designers CSS style sheet then that may be an option too. There are plenty of free CSS style sheets out there to choose from. You could always just stick to the table positioning and just use the CSS to add styles - that way you'll be learning the simpler bits of CSS without stressing over the hard stuff! Good luck, Cheers, p.
Well, CSS is the right way to do it, or so we're told, but tables are easier but then they also say that nothing that is easy is worth it. Remeber to test your css layout in different browsers.