# Problem There are a number of places where inline style attributes have been used instead of using the correct element. - [singleCheckbox.scala.html](https://github.com/hmrc/play-ui/blob/6bbe1af39b225fb7ff69bacbcaf108c4ca86fd49/src/main/twirl/uk/gov/hmrc/play/views/helpers/singleCheckbox.scala.html#L25) - [simpleFieldConstructor.scala.html](https://github.com/hmrc/play-ui/blob/6bbe1af39b225fb7ff69bacbcaf108c4ca86fd49/src/main/twirl/uk/gov/hmrc/play/views/helpers/simpleFieldConstructor.scala.html#L24) - [dropdown.scala.html](https://github.com/hmrc/play-ui/blob/6bbe1af39b225fb7ff69bacbcaf108c4ca86fd49/src/main/twirl/uk/gov/hmrc/play/views/helpers/dropdown.scala.html#L31) - [dropdown.scala.html](https://github.com/hmrc/play-ui/blob/6bbe1af39b225fb7ff69bacbcaf108c4ca86fd49/src/main/twirl/uk/gov/hmrc/play/views/helpers/dropdown.scala.html#L49) # Solution Change the `span` elements to `div` elements and remove the `style` attributes
Problem
There are a number of places where inline style attributes have been used instead of using the correct element.
Solution
Change the
spanelements todivelements and remove thestyleattributes