Viewing 4 replies - 1 through 4 (of 4 total)
  • All the default margins are set to zero in the body tag CSS in siteNEW.css — so then you would need to put back margins on every element where you want them. Some do have margins added back, but some don’t — hence spacing problems.

    Also be aware about how floated elements behave — subsequent elements won’t go below them unless they have “clear” (or there is a clear empty element in between them).

    If you are not using FireFox and FireBug, you should.

    Thread Starter loco2402

    (@loco2402)

    I tried Firebug, but it only showed me that some of the CSS was not working as I wanted. With my limited CSS experience, I could not see a solution thru that.

    However, that would not have helped anyway, as it turns out I had to change the <!DOCTYPE>.

    Not sure why, but my pages have to have
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

    I originally had <!DOCTYPE HTML> as was in the WP pages I copied to modify.

    Any ideas why that is?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘All padding and margins are not working in created theme’ is closed to new replies.