Project

General

Profile

« Previous | Next » 

Revision 382

Added by Matthias over 17 years ago

Fixed table width 100% are wrong displayed in container templates when IE is used (#350)

View differences:

trunk/wb/modules/form/add.php
29 29
*/
30 30

  
31 31
// Insert an extra rows into the database
32
$header = '<table cellpadding=\"2\" cellspacing=\"0\" border=\"0\" width=\"100%\">';
32
$header = '<table cellpadding=\"2\" cellspacing=\"0\" border=\"0\" width=\"98%\">';
33 33
$field_loop = '<tr><td class=\"field_title\">{TITLE}{REQUIRED}:</td><td>{FIELD}</td></tr>';
34 34
$footer = '<tr><td>&nbsp;</td>
35 35
<td>
trunk/wb/modules/news/add.php
32 32
.post_date { text-align: right; font-weight: bold; }
33 33
.post_short { text-align: justify; padding-bottom: 5px; }
34 34
</style>
35
<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"100%\">';
35
<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"98%\">';
36 36
$post_loop = '<tr class=\"post_top\">
37 37
<td class=\"post_title\"><a href=\"[LINK]\">[TITLE]</a></td>
38 38
<td class=\"post_date\">[TIME], [DATE]</td>
......
44 44
</td>
45 45
</tr>';
46 46
$footer = '</table>
47
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="display: [DISPLAY_PREVIOUS_NEXT_LINKS]">
47
<table cellpadding="0" cellspacing="0" border="0" width="98%" style="display: [DISPLAY_PREVIOUS_NEXT_LINKS]">
48 48
<tr>
49 49
<td width="35%" align="left">[PREVIOUS_PAGE_LINK]</td>
50 50
<td width="30%" align="center">[OF]</td>
51 51
<td width="35%" align="right">[NEXT_PAGE_LINK]</td>
52 52
</tr>
53 53
</table>';
54
$post_header = addslashes('<table cellpadding="0" cellspacing="0" border="0" width="100%">
54
$post_header = addslashes('<table cellpadding="0" cellspacing="0" border="0" width="98%">
55 55
<tr>
56 56
<td height="30"><h1>[TITLE]</h1></td>
57 57
<td rowspan="3" style="display: [DISPLAY_IMAGE]"><img src="[GROUP_IMAGE]" alt="[GROUP_TITLE]" /></td>
......
75 75
.comment_title, .comment_info { border-top: 1px solid #DDDDDD; background-color: #EEEEEE; }
76 76
</style>
77 77
<h2>Comments</h2>
78
<table cellpadding="2" cellspacing="0" border="0" width="100%">');
78
<table cellpadding="2" cellspacing="0" border="0" width="98%">');
79 79
$comments_loop = addslashes('<tr>
80 80
<td class="comment_title">[TITLE]</td>
81 81
<td class="comment_info">By [DISPLAY_NAME] on [DATE] at [TIME]</td>

Also available in: Unified diff