SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Feb 2009
    Location
    Portland, OR
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Tables expanding

    Beating my head against this one. I'm installing a plugin into an existing site and it operates fine in FF and Chrome, but IE8 is not recognizing the width of the plugin. And when you hit "add to cart" the cart is actually pushed out of the background. I don't have a ton of experience with tables and I've tried all sorts of width and positioning to no avail. Does anyone know what IE is doing here? I appreciate any help.

    The site:

    http://www.jessedoud.com/dev/scd/mockups/bulongestate

  2. #2
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,389
    Mentioned
    180 Post(s)
    Tagged
    6 Thread(s)
    Hi, Welcome to Sitepoint

    Add a doctype to your page and re-test.

    Without a doctype all versions of IE go back to the dark ages and render much like IE5 and use the broken box model and forget to inherit font-size into tables (among many other things).

    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    Avoid using presentational tags like Center and attributes like marginwidth="0" as they are depecated in strict documents in favour of CSS.

  3. #3
    SitePoint Member
    Join Date
    Feb 2009
    Location
    Portland, OR
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks Paul! It worked perfectly. Never would have occurred to me to check something so basic. Cheers.


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
  •