diff --git a/css/swad22.105.css b/css/swad22.105.css
index 13fcdd27..9d9e821a 100644
--- a/css/swad22.105.css
+++ b/css/swad22.105.css
@@ -1362,30 +1362,23 @@ a:hover /* Default ==> underlined */
{
box-sizing:border-box;
width:148px;
- border-style:solid;
- border-width:1px;
- border-color:#8cbcce;
padding:5px;
- border-radius:2px;
font-size:11pt;
}
#MFU_actions ul
{
display:inline-block;
box-sizing:border-box;
- width:138px;
- margin:2px 0;
- padding:6px 0 0 0;
- border-style:solid;
- border-width:1px 0 0 0;
- border-color:rgba(140,188,206,0.2);
+ width:134px;
+ margin:0;
+ padding:0;
list-style-type:none;
text-align:left;
vertical-align:middle;
}
#MFU_actions li
{
- width:138px;
+ width:134px;
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
diff --git a/swad_HTML.c b/swad_HTML.c
index 9fadbf22..021fe58d 100644
--- a/swad_HTML.c
+++ b/swad_HTML.c
@@ -70,6 +70,7 @@ static unsigned HTM_DT_NestingLevel = 0;
static unsigned HTM_DD_NestingLevel = 0;
static unsigned HTM_A_NestingLevel = 0;
static unsigned HTM_SCRIPT_NestingLevel = 0;
+static unsigned HTM_FIELDSET_NestingLevel = 0;
static unsigned HTM_LABEL_NestingLevel = 0;
static unsigned HTM_BUTTON_NestingLevel = 0;
static unsigned HTM_TEXTAREA_NestingLevel = 0;
@@ -100,6 +101,8 @@ static void HTM_LI_BeginWithoutAttr (void);
static void HTM_A_BeginWithoutAttr (void);
+static void HTM_FIELDSET_BeginWithoutAttr (void);
+
static void HTM_LABEL_BeginWithoutAttr (void);
static void HTM_TEXTAREA_BeginWithoutAttr (void);
@@ -1001,14 +1004,49 @@ void HTM_PARAM (const char *Name,
/********************************* Fieldsets *********************************/
/*****************************************************************************/
-void HTM_FIELDSET_Begin (void)
+void HTM_FIELDSET_Begin (const char *fmt,...)
+ {
+ va_list ap;
+ int NumBytesPrinted;
+ char *Attr;
+
+ if (fmt)
+ {
+ if (fmt[0])
+ {
+ va_start (ap,fmt);
+ NumBytesPrinted = vasprintf (&Attr,fmt,ap);
+ va_end (ap);
+ if (NumBytesPrinted < 0) // -1 if no memory or any other error
+ Err_NotEnoughMemoryExit ();
+
+ /***** Print HTML *****/
+ HTM_TxtF ("