diff --git a/modules/profile/profile.css b/modules/profile/profile.css deleted file mode 100644 index fee1f370f08..00000000000 --- a/modules/profile/profile.css +++ /dev/null @@ -1,17 +0,0 @@ -/* $Id$ */ - -.profile { - clear: both; - margin: 1em 0; -} -.profile .picture { - float: right; - margin: 0 1em 1em 0; -} -.profile dt { - margin: 1em 0 0.2em 0; - font-weight: bold; -} -.profile dd { - margin:0; -} diff --git a/modules/profile/profile.module b/modules/profile/profile.module index 39a7060de74..2994838d75e 100644 --- a/modules/profile/profile.module +++ b/modules/profile/profile.module @@ -421,9 +421,6 @@ function profile_admin_overview() { * Menu callback; display a list of user information. */ function profile_browse() { - // Add CSS - drupal_add_css(drupal_get_path('module', 'profile') .'/profile.css', 'module', 'all', FALSE); - $name = arg(1); list(,,$value) = explode('/', $_GET['q'], 3); diff --git a/modules/user/user.css b/modules/user/user.css index 20721e6f3c6..068893e19d7 100644 --- a/modules/user/user.css +++ b/modules/user/user.css @@ -31,3 +31,19 @@ clear: right; } +// Generated by user.module but used by profile.module: +.profile { + clear: both; + margin: 1em 0; +} +.profile .picture { + float: right; + margin: 0 1em 1em 0; +} +.profile dt { + margin: 1em 0 0.2em 0; + font-weight: bold; +} +.profile dd { + margin:0; +}