diff --git a/stylesheets/hostDetails.xsl b/stylesheets/hostDetails.xsl
index c9a9b66..fc2a7b4 100644
--- a/stylesheets/hostDetails.xsl
+++ b/stylesheets/hostDetails.xsl
@@ -222,7 +222,7 @@ $('.ui.dropdown').dropdown()
       class="ui inverted card {$color}">
       <div class="content">
         <div class="header">
-          <div class="ui {$color} ribbon label">
+          <div class="ui {$color} ribbon label" title="{state/@state}">
             <div class="detail" style="text-transform: uppercase">
               <xsl:value-of select="@protocol" />
               <xsl:text>:</xsl:text>
diff --git a/stylesheets/lanTable.xsl b/stylesheets/lanTable.xsl
index cdadf63..ba429a7 100644
--- a/stylesheets/lanTable.xsl
+++ b/stylesheets/lanTable.xsl
@@ -212,17 +212,16 @@ $('.ui.dropdown').dropdown()
 
   <xsl:template match="port">
     <xsl:param name="hostAddress" />
-        <xsl:param name="initHost" />
-        <xsl:param name="currentHost" />
-        <xsl:variable
+      <xsl:param name="initHost" />
+      <xsl:param name="currentHost" />
+      <xsl:variable
       name="portid" select="@portid" />
-        <xsl:variable
-      name="initPort" select="$initHost/ports/port[@portid=$portid]" />
-        <xsl:variable
-      name="currentPort" select="$currentHost/ports/port[@portid=$portid]" />
+      <xsl:variable name="initPort"
+      select="$initHost/ports/port[@portid=$portid]" />
+      <xsl:variable name="currentPort"
+      select="$currentHost/ports/port[@portid=$portid]" />
 
-        <a
-      target="_blank">
+      <a target="_blank">
       <xsl:attribute name="class">
         <xsl:text>ui mini label </xsl:text>
                 <xsl:if