SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Zealot
    Join Date
    Jul 2003
    Location
    Murfreesboro, TN
    Posts
    113
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Using tables inside CSS-P

    I am trying to experiment with CSS-P for a new site, but not sure that I am ready for some of the advanced (debugging) things yet.

    I am planning to use a simple two column layout, but occasionally may want to layout some things within those main divs. Are there any issues with using tables for layout WITHIN CSS-P divs?

    Right now, the other option would be to not use divs at all...

  2. #2
    SitePoint Guru quenting's Avatar
    Join Date
    Dec 2002
    Location
    Switzerland
    Posts
    735
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    well i use tables within div for tabular data and haven't experimented much problems so far.
    I keep using tables for form contents too cause i haven't found out a nice way to do things really properly and in a cross browser fashion with css, although i wish i could do it using divs as well.
    I'd say go on as much as you can with css-p, once you reach either your technical limits or those of the browsers (or of course for tabular data) go on with tables.

    Quentin
    The largest message boards on the web !
    unblog.fr, hosting 700000 french blogs

  3. #3
    SitePoint Enthusiast Gombul's Avatar
    Join Date
    Aug 2003
    Location
    Australia
    Posts
    31
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    IE5 and 5.5 handle embedded tables vastly different to IE 6. Beware. I just came here to ask about this, hopefully someone has a solution.

  4. #4
    SitePoint Enthusiast WebLight's Avatar
    Join Date
    Oct 2003
    Location
    US
    Posts
    60
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Watch out for margin overflows with mozilla.

    If your table contents won't fit into the space available in the browser window by default it will overflow into the margin.

    IE doesn't do this. Instead it pushes the margin outside the viewable area.

    I got around it using min-width to make mozilla act similar to IE. You can also use the css overflow property.

    If anyone knows of a different way around it, I'd love to hear it. I don't like having to worry about setting min-width
    J.S. Ferguson - Illumit
    Makers of WebLight and Tart - tools for pragmatic web developers.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •