[Webkit-unassigned] [Bug 34758] New: TD width in precentage doesn't work.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 9 08:55:08 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=34758

           Summary: TD width in precentage doesn't work.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows 7
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Tables
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: swifteg at mail.ru


Created an attachment (id=48422)
 --> (https://bugs.webkit.org/attachment.cgi?id=48422)
Safari and google chrome

I tried to set width in TD in precents (in HTML and in CSS), but it doesn't
works(In newest Safari and google chrome), or works unnormal. In other browsers
it works as i need.

There it is
HTML:
<table width="80%" height="100%" align="center" class="main">
<tr><td colspan="3" class="header" height="150"><table width="1000"
height="100%"><tr align="center"><td
align="center"> </td></tr></table></td></tr>
    <tr valign="top"><td class="block1">s<? echo $menu; ?></
            <td class="block2"><? echo $zareg;echo $content; ?></td>
                    <td class="block3"><table width="100%" cellspacing="0"
cellpadding="0"><tr align="center"><td><div class="frame_top"><b><? echo $user;
?></b></div></td></tr><tr align="center"><td><div class="frame_main"><? echo
$umenu; ?></td></tr></table></td></tr></table>

class="block1" - left block
class="block2" - center block
class="block3" - right block
class="header" - header works correctly, but it could be one of reasons of the
trouble.

CSS:
.block1 {
    border: 1px solid black;
    width:15%;
}
.block2 {
    border: 1px solid black;
    width:50%;
}
.block3 {
    border: 1px solid black;
    width:15%;
}
.header {
    background-image: url('header2.jpg'); 
    border: 1px solid black;
    width:80%;
    background-repeat: no-repeat;
}


I attached screen how it looks in Safari and Google Chrome, and here
http://img692.imageshack.us/img692/2519/othere.jpg how it looks in other
browsers.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list