summaryrefslogtreecommitdiff
path: root/individual.php
diff options
context:
space:
mode:
authorNigel Osborne <kiwi3685@me.com>2011-11-19 03:41:44 +0000
committerNigel Osborne <kiwi3685@me.com>2011-11-19 03:41:44 +0000
commit230ae89d122e1fd3c68cc3562302f7401b55163f (patch)
tree081d7da533a8751def0a2bc35473531d90d5422f /individual.php
parent886960baf8d648ae05b773d82d991667af42d62e (diff)
downloadwebtrees-230ae89d122e1fd3c68cc3562302f7401b55163f.tar.gz
webtrees-230ae89d122e1fd3c68cc3562302f7401b55163f.tar.bz2
webtrees-230ae89d122e1fd3c68cc3562302f7401b55163f.zip
Remove inline style elements
Diffstat (limited to 'individual.php')
-rw-r--r--individual.php4
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(),'&amp;action=ajax&amp;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>';