can i code a webpage without tables?

Discussion in 'Web Design & Programming' started by roy92, May 22, 2007.

  1. roy92

    roy92 CSS HAXOR

    Likes Received:
    0
    Trophy Points:
    0
    can i code a webpage with just css?
     
  2. edijs

    edijs Programmer

    Likes Received:
    9
    Trophy Points:
    38
    just css - i don't think so.

    without tables - yes - use div tags and format them with css
     
  3. roy92

    roy92 CSS HAXOR

    Likes Received:
    0
    Trophy Points:
    0
    argh.. that takes ages for me... oh well...
     
  4. Matt555

    Matt555 iMod

    Likes Received:
    98
    Trophy Points:
    48
    You can code a webpage layout without tables!

    Tables aren't meant to be used for layouts, I used to use them when I didn't know about CSS and divs.

    Tables are to be used for data (tabulated obviously) and you can use CSS and divs to construct a layout for the page, it may take some more work but it's more accessible and generally a better practice :)
     
  5. Sniper

    Sniper Administrator Staff Member

    Likes Received:
    59
    Trophy Points:
    63
    you will also have take into consideration that, when using CSS not all browsers will display correctly, you might have to resort to CSS hacks or even javascript to make your code compatible across browsers.
     
  6. Matt555

    Matt555 iMod

    Likes Received:
    98
    Trophy Points:
    48
    Indeed, not all browsers are CSS compliant, for example my site which I'm working on currently displays differently in Firefox, Opera, Safari and IE - meaning I need to work on the CSS to make it display correctly in all of the browsers (an easier way would be to use JS or PHP to find the browser type and include a working stylesheet for that specific browser...)
     

Share This Page