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

Home Forums Design How does CSS-Tricks display PHP snippets?

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
  • #260619
    Joanne Masterson

    I want to display PHP snippets similar to the way they show up on this page.

    In WordPress, I have been using <pre></pre> and <code></code> tags, but
    – the lines of code are long and the window does not scroll
    – WordPress moves the tags around when I view the page on the front end (auto formatting)

    I would be glad to embed it, for example, using CodePen, but the tab says “HTML” and it’s a PHP script.

    Thanks for your help

Viewing 1 post (of 1 total)
  • The forum ‘Design’ is closed to new topics and replies.