SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Apr 2006
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Need a fix for Safari

    Hi,

    Here is my code.
    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
    <title></title>
    <meta name="generator" content="Bluefish 1.0.7"/>
    <meta name="author" content="Venkat"/>
    <meta name="date" content="2008-07-13T14:54:23+0530"/>
    <meta name="copyright" content=""/>
    <meta name="keywords" content=""/>
    <meta name="description" content=""/>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
    <meta http-equiv="content-style-type" content="text/css"/>
    <style type="text/css">
    div.wallpapers {
    border: 1px solid #f00;
    width: 400px;
    }
    div.thumb {
    clear: left;
    float: left;
    border: 1px solid #0f0;
    width: 78px;
    }
    div.links {
    height: 78px;
    display: table-cell;
    vertical-align: middle;
    padding-left: 10px;
    border: 1px solid #00f;
    }
    
    </style>
    
    </head>
    <body>
        <div class="wallpapers">
            <div class="thumb">
                <img src="images/wallpaper1.jpg" width="78" height="78" alt="" />
            </div>
            <div class="links">
                WALL PAPER1<br />800x600 &nbsp;1024x768 &nbsp; 1600x1200</p>
            </div>
        </div>
        <div class="wallpapers">
            <div class="thumb">
                <img src="images/wallpaper1.jpg" width="78" height="78" alt="" />
            </div>
            <div class="links">
                WALL PAPER1<br />800x600 &nbsp;1024x768 &nbsp; 1600x1200</p>
            </div>
        </div>
        <div class="wallpapers">
            <div class="thumb">
                <img src="images/wallpaper1.jpg" width="78" height="78" alt="" />
            </div>
            <div class="links">
                WALL PAPER1<br />800x600 &nbsp;1024x768 &nbsp; 1600x1200</p>
            </div>
        </div>    
    </body>
    </html>
    Works fine in FF and Opera ff.png

    Not In Safari.safari.jpg

    Please help!!!!!!!!!!!!!!!!
    Kirtan

  2. #2
    SitePoint Member
    Join Date
    Apr 2006
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Never Mind. Solved. Safari won't support table-cell unless otherwise it is in table.
    Kirtan


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
  •