diff options
| author | Nigel Osborne <kiwi3685@me.com> | 2011-11-19 03:41:44 +0000 |
|---|---|---|
| committer | Nigel Osborne <kiwi3685@me.com> | 2011-11-19 03:41:44 +0000 |
| commit | 230ae89d122e1fd3c68cc3562302f7401b55163f (patch) | |
| tree | 081d7da533a8751def0a2bc35473531d90d5422f /individual.php | |
| parent | 886960baf8d648ae05b773d82d991667af42d62e (diff) | |
| download | webtrees-230ae89d122e1fd3c68cc3562302f7401b55163f.tar.gz webtrees-230ae89d122e1fd3c68cc3562302f7401b55163f.tar.bz2 webtrees-230ae89d122e1fd3c68cc3562302f7401b55163f.zip | |
Remove inline style elements
Diffstat (limited to 'individual.php')
| -rw-r--r-- | individual.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/individual.php b/individual.php index 5dba430cec..ea889dac96 100644 --- a/individual.php +++ b/individual.php @@ -261,7 +261,7 @@ foreach ($controller->tabs as $tab) { // own <div title="">, but jQueryUI gives the <a> element padding, which // shows the correct title on the text but the wrong title on the padding. // So,... move the padding from the <a> to the internal <div> - echo '<li class="'.$greyed_out.'"><a style="padding:0;" title="', $tab->getName(), '" href="'; + echo '<li class="'.$greyed_out.'"><a title="', $tab->getName(), '" href="'; if ($tab->canLoadAjax()) { // AJAX tabs load only when selected echo $controller->record->getHtmlUrl(),'&action=ajax&module=', $tab->getName(); @@ -269,7 +269,7 @@ foreach ($controller->tabs as $tab) { // Non-AJAX tabs load immediately echo '#', $tab->getName(); } - echo '"><div style="padding:0.5em 1em;" title="', $tab->getDescription(), '">', $tab->getTitle(), '</div></a></li>'; + echo '"><div title="', $tab->getDescription(), '">', $tab->getTitle(), '</div></a></li>'; } } echo '</ul>'; |
