Margin Issue in IE

I’m having a margin issue with an element in this page.

In Firefox it seems to have a nice 25px margin on both left and bottom.

But in IE … the bottom margin is not there.

As a side note, I DO recognize how much easier it would be not to have this “bottomleft” div laid out in html, but as a png instead. It’s just what I’ve received so far from the designer. And it might possibly be part of what the problem is here … Thx

Hi,

I’m not sure where I am looking but of you mean at the bottom of the viewport then just add some padding bottom to the body element to give a little breathing space at the base of the layout.

I notice you have some empty elements at the end with a class of .small-gap. IIRC I mentioned before that you should never do that because you can always make space with exisitng elements and empty elements should be avoided at all costs. Just use margin or padding on the elements above to make space where needed.

There’s also some sort of script error on that page in IE and its crashing my browser so I couldn’t get to test properly :slight_smile: (back tomorrow going offline now)

There is sort of an explanation for that. When I received this project, most of the pages had already been created … in TABLES :eek: and with all sorts of bad practice. I was brought on presumably just for PHP but ended up spending first two weeks creating tableless layouts and an MVC framework for everything. But in certain cases I left that .smallgap when it seemed to work.

Like with that scrolling marquee, until you guys helped me streamline the header elements, that marquee didn’t take up space so I was having either to create a margin-top:25px; or just leave 3 of those .smallgaps in my html elements at the top of the page.

I’ve sort of been brushing up against the limits of my good practice CSS experience. And pretty close to the end.

The forum has been extremely helpful in helping me get there. I’m learning a lot :slight_smile:

Ok, That explains it :slight_smile: It’s always hard to take on an old site and know how much to change and whether its worth the effort.

We tend to say the same things over an over again on the forum I’m afraid because we forget who we said it to last time so don’t worry if I said the same things twice:) (It’s when I say different things that you have to worry ;))

Glad you are making progress anyway :slight_smile: