Forums

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

Home Forums CSS Margin not working

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

    Firstly, I am very new to CSS, and I do not have anyone to ask, so if you find this silly, then I can’t help.

    Now, please refer to the image(screenshot from jsfiddle.net), if you see in line 22, I am trying to add 10px margin to the second div with ‘class2’. This margin is not getting applied on top. When I add more pixels to it, both the Divs comes down. So what am I missing here?

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