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

Home Forums CSS [Solved] CSS Issue for contact form

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

    Hi Guys,

    I just made a contact form and needed to add some 240 margin to get it centered. But now on mobile only the half contact form is shown.

    I already tried this:

    @media (max-width: 1030px) {
    .Contactform {
    margin: -240px!Important;

    But this wont work, is there a better way to get the form centered without using the margins or is there a solution the get this straigt on mobile and ipad?

    Its about this page:

    Thanx a lot!


    Can’t really add much more to this


    Can you maybe give me a good code to do this? I am still learning and that will help me a lot. I also will add the code to my notebook so i dont forget it anymore.

    Isnt it possible to delete the margin in wordpress and add the auto margin to the element in css?

    Sorry for the dumb questions


    I already figured it out! Used a other class, long time searching if you dont use the good id!

    Thanx anyway (Y)

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