Forums

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

Home Forums CSS Using the pre and code HTML tags

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #43057
    posterity576
    Participant

    I’m trying to recreate the code modules that Chris has on this site, but I can’t seem to get the actual code to kiss the edge of the code module itself (i.e., kiss the edge of the pre tag). For reasons unknown to me, the content seems to be defaulting to the middle.

    Here is a link to an example of what I’m referring to: (http://codepen.io/anon/pen/ciuCj “Codepen”)

    I’d appreciate any help.

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