diff --git a/code/nel/src/gui/group_html.cpp b/code/nel/src/gui/group_html.cpp
index 5d8e8014e..2a898fa41 100644
--- a/code/nel/src/gui/group_html.cpp
+++ b/code/nel/src/gui/group_html.cpp
@@ -5799,10 +5799,9 @@ namespace NLGUI
{
if (elm.hasNonEmptyAttribute("style"))
{
- _Style.Root = _Style.Current;
- _Style.applyRootStyle(elm.getAttribute("style"));
- _Style.Current = _Style.Root;
+ _Style.applyStyle(elm.getAttribute("style"));
}
+ _Style.Root = _Style.Current;
applyBackground(elm);
}