Wikia

Community Central

Collapsible Text Problem

  • Hello all, I'm having a problem with two pages that I used collapsible text markup on. For some reason, the entire right column (with the search bar, ect...) on both pages has been pushed below the content area. The pages are here and here and the section with the collapsible text can be seen here. Help would be much appreciated.

      Loading editor
    • <div class="mw-collapsible mw-collapsed" style="width:100%>

      First, you're missing the closing quote on the style attribute.

      Second, you have not closed any of these DIVs. You open them but never close them.

      <div class="mw-collapsible mw-collapsed" style="width:100%>
      ===Item: Camera===
      <div class="mw-collapsible-content">
      *"Gotcha!"
      *"Hope you're photogenic."
      *"Say cheeseburger!"
      *"Now!"
      *"Say cheese!"
      </div>
      <!-- Where is the </div> ? -->
      <div class="mw-collapsible mw-collapsed" style="width:100%>

      Also, the "width:100%" is completely unnecessary which is why it kind of works even though the style attribute is broken. DIVs are block elements, they have a default of width:auto which is the same as width:calc(100% - borderWidth - paddingWidth).

        Loading editor
    • Oh wow, I can't believe I missed the lack of closure. /: Copy and pasting always multiplies a mistake I guess.

      Anyways, thank you much for the help!

        Loading editor
    • 180.76.5.25
        Loading editor
Give Kudos to this message
You've given this message Kudos!
See who gave Kudos to this message

Around Wikia's network

Random Wiki