diff --git a/modules/user/user-profile-category.tpl.php b/modules/user/user-profile-category.tpl.php
index 0de7d5d0061ce14d20615b33b016285d4f6f48c3..3e295826c4955f0de22a81a3499c407e0cfad3fe 100644
--- a/modules/user/user-profile-category.tpl.php
+++ b/modules/user/user-profile-category.tpl.php
@@ -24,10 +24,12 @@
* @see template_preprocess_user_profile_category()
*/
?>
-
-
-
+
diff --git a/modules/user/user.css b/modules/user/user.css
index 079ec38abb1b91a3e8e6316513504ab72029f9f8..a3033073345ef0f680dace4b2036ef7def3a2a51 100644
--- a/modules/user/user.css
+++ b/modules/user/user.css
@@ -87,7 +87,7 @@ div.password-suggestions ul {
float: right; /* LTR */
margin: 0 1em 1em 0; /* LTR */
}
-.profile h3 {
+.profile h2 {
border-bottom: 1px solid #ccc;
}
.profile dl {
diff --git a/modules/user/user.pages.inc b/modules/user/user.pages.inc
index 697a82d2c2c5cf132dcc6fa28d3ca11f8f1f9142..09bf33b6bfd74c539bec9bcfd26287e14694f6e2 100644
--- a/modules/user/user.pages.inc
+++ b/modules/user/user.pages.inc
@@ -222,6 +222,7 @@ function template_preprocess_user_profile_item(&$variables) {
*/
function template_preprocess_user_profile_category(&$variables) {
$variables['title'] = check_plain($variables['element']['#title']);
+ $variables['classes_array'][] = 'user-profile-category-' . drupal_html_class($variables['title']);
$variables['profile_items'] = $variables['element']['#children'];
$variables['attributes'] = '';
if (isset($variables['element']['#attributes'])) {