Jump to content

css vs tables


jwk811

Recommended Posts

i started my site in css but it was a pain trying to get it to work for other browsers so i just did it all over with tables.

 

people are complaining that they cant view the site on their mobile device (psp, etc.) is it bcuz of the tables? if so is there anyway i can make it work or do i need to convert to css.

 

if i do are their any tips to make it work for all browsers without getting all screwed up?

Link to comment
https://forums.phpfreaks.com/topic/197957-css-vs-tables/
Share on other sites

i started my site in css but it was a pain trying to get it to work for other browsers so i just did it all over with tables.

 

people are complaining that they cant view the site on their mobile device (psp, etc.) is it bcuz of the tables? if so is there anyway i can make it work or do i need to convert to css.

 

if i do are their any tips to make it work for all browsers without getting all screwed up?

 

Tables should only be used to display tabular data.  Use CSS for layout.  To help mitigate cross-browser issues, use a CSS reset (google it).  Similarly, research how to serve your pages property on mobile devices with CSS (again, google it).  For the PSP in particular, it uses Sony's horrible browser.  I'm not sure if there's a way to get anything to look right with it, to say nothing of its JavaScript issues.

Link to comment
https://forums.phpfreaks.com/topic/197957-css-vs-tables/#findComment-1038758
Share on other sites

  • 2 weeks later...

css plays a very important role in formatting the webpage in terms of layout and appearance, tables only display the data in tabular format but setting width, height and spacing all can be easily set with just one css for whole website....we should have a website implementing css.......

Link to comment
https://forums.phpfreaks.com/topic/197957-css-vs-tables/#findComment-1043636
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.