The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Stop first accordion tab from automatically opening in browser

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #46463

    I have a page that has two accordion tab sections on it. Which ever tab is first on the page automatically opens on page load. I do not want this to happen.

    I know that it is connected to



    In dreamweaver the code looks like this


    , but when I view in a browser it looks like this


    Where is the `style=”display: block;”` getting added? how can I stop it?

    Here is a link to the page:

    Thank you for your help.


    I suspect that it’s in the Js controlling the accordion.

    Whatever you are using to implement the accordion probably has a setting to control all this.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.