change from div to span for background color in cell_spec
diff --git a/docs/use_kableExtra_with_formattable.Rmd b/docs/use_kableExtra_with_formattable.Rmd
index d145e31..72650cd 100644
--- a/docs/use_kableExtra_with_formattable.Rmd
+++ b/docs/use_kableExtra_with_formattable.Rmd
@@ -46,8 +46,8 @@
 ```{r}
 iris[1:10, ] %>%
   mutate_if(is.numeric, function(x){
-    cell_spec(x, "html", bold = T, color = spec_color(x), font_size = spec_font_size(x))
+    cell_spec(x, "html", color = spec_color(x), bold = T)
   }) %>%
   kable("html", escape = F, align = "c") %>%
-  kable_styling(full_width = F)
+  kable_styling("condensed", full_width = F)
 ```