I'm new to using CSS (just leaving the table era) so excuse my naive sense of things. I'm trying to move an image vertically (via margin-top) in CSS and it's working in IE but not in firefox. I've tried padding-top and that won't work either. Below is my code for both the CSS and the HTML.
Technically your html is empty of content. You're using css to add background images, but the divs themselves in the html have nothing inside them. That would give them a height of 0, which would also give your entire page a height of 0.
on errorbkg you have the margin-top set as 10%. 10% of 0 is still 0, which is what I think might be the problem.
Is this online? If so feel free to post a link. I find it easier to troubleshoot if I can see the page.
I'm not entirely sure the above is the problem, but it's easy enough to test by changing the margin-top of errorbkg to something absolute like px. If that gets the image to move down then it will probably also move down once you add more content to the page.
__________________ l Search Engine Friendly Web Design | Please login or register to view this content. Registration is FREE
l Tips On Marketing, SEO, Design, and Development | Please login or register to view this content. Registration is FREE
Yes, that was my problem...I was trying to apply style effects to an object that wasn't really in the html. Sorry, i really didn't even think about that. So problem is solved.