Forums

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

Home Forums CSS CSS grid template areas won't work!

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #275437
    cabaka
    Participant

    Hello,

    I can’t seem to be getting the CSS Grid template areas working with both of these pens below. The grid templates areas are supposed to be changing but they don’t. Does anyone have any idea?

    https://codepen.io/cagribkasap/pen/GBbexY

    https://codepen.io/cagribkasap/pen/zLVbjN

    Best,
    Cagri Kasap

    #275457
    Paulie_D
    Member

    You’re missing some HTML (there is no #content) div and then you have obsolete elements like center and font in there that should be replaced with current standards.

    The primary reason though is that the grid you defined is, as I said, based on the #content div which isn’t there.

    I’d review your code.

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