Blog Communities Publishing Magazines

« Foxie | Main | College Day #1 »

September 05, 2005

Always Learning About CSS

It would be great if CSS worked the same everywhere.

I had the ID “content” set to a zero margin and padding, but when I went to preview the results there was about 10 pixels of margin above the DIV. I started to play with negative margins to shrink this gap down, but I was getting different results in both IE and FireFox. After a lot of fiddling around, I finally set the margin on the paragraph tag to zero and suddenly things fell into place. Strange, but I would have expected there to be space between the paragraph and the DIV.


Related Products:
Visit our store

Read more from this blogger:
Always Learning About CSS

Posted on September 5, 2005 02:36 AM by Firefo84.
Filed in Firefox under firefox.
Permalink permalink | Comments (0)
Share |


Post a comment

Remember Me?

We welcome your feedback: Contact us!