diff options
author | Jo Michael <me@mynetx.net> | 2012-03-31 18:50:33 +0400 |
---|---|---|
committer | Jo Michael <me@mynetx.net> | 2012-03-31 18:50:33 +0400 |
commit | 20ddd10911d6d3918ea870db3d62558759a1bbeb (patch) | |
tree | 5823b22bf0885d851e2dbe6eea046dfcf245115b /db_datadict.php | |
parent | fc7a1339fc850291c54e7baaabce415b043e5e07 (diff) |
Replaced HTML nowrap attribute with CSS for HTML5 validity
Diffstat (limited to 'db_datadict.php')
-rw-r--r-- | db_datadict.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/db_datadict.php b/db_datadict.php index 717315e156..53febc7293 100644 --- a/db_datadict.php +++ b/db_datadict.php @@ -189,7 +189,7 @@ foreach ($tables as $table) { $type_nowrap = ''; } else { - $type_nowrap = ' nowrap="nowrap"'; + $type_nowrap = ' class="nowrap"'; } $type = htmlspecialchars($extracted_fieldspec['print_type']); $attribute = $extracted_fieldspec['attribute']; @@ -219,7 +219,7 @@ foreach ($tables as $table) { } ?> <tr class="<?php echo $odd_row ? 'odd' : 'even'; $odd_row = ! $odd_row; ?>"> - <td nowrap="nowrap"> + <td class="nowrap"> <?php if (isset($pk_array[$row['Field']])) { echo '<u>' . htmlspecialchars($field_name) . '</u>'; |