]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
using divs for group profile fields to work around html validation issues with the...
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sun, 12 Jun 2011 01:33:23 +0000 (01:33 +0000)
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sun, 12 Jun 2011 01:33:23 +0000 (01:33 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@9188 36083f99-b078-4883-b0ff-0f9b5a30f544

mod/groups/views/default/groups/css.php
mod/groups/views/default/groups/profile/fields.php

index 06b86d1eeee0a9048fe56937ae8b04186c8039f4..37fc5dc10bac3d880c61490c3b3a48cfde255384 100644 (file)
        margin-bottom: 7px;
 }
 
+.groups-profile-fields .elgg-output {
+       margin: 0;
+}
+
 #groups-tools > .elgg-module {
        float: left;
        margin-bottom: 40px;
index 5cd06025f39c31a656ee83af20b84b65bdbecd75..14827f11ac4aad47257c33f41ad7e44a50d256b1 100644 (file)
@@ -26,12 +26,12 @@ if (is_array($profile_fields) && count($profile_fields) > 0) {
                        $options['tag_names'] = $key;
                }
 
-               echo "<p class=\"{$even_odd}\">";
+               echo "<div class=\"{$even_odd}\">";
                echo "<b>";
                echo elgg_echo("groups:$key");
                echo ": </b>";
                echo elgg_view("output/$valtype", $options);
-               echo "</p>";
+               echo "</div>";
 
                $even_odd = ($even_odd == 'even') ? 'odd' : 'even';
        }