Re: [css-d] beginner's issues with spacing

2008-01-21 Thread David Laakso
Stuart Walsh wrote: David Laakso wrote: I've got a homepage with a header which is a jpg. I'm using HTML Kit to write the code and in that, and in IE there is no space above and below the header jpg. But in Firefox and Opera there is space above and below. I'm doing something wrong but

Re: [css-d] beginner's issues with spacing

2008-01-21 Thread Stuart Walsh
David Laakso wrote: Stuart Walsh wrote: I've got a homepage with a header which is a jpg. I'm using HTML Kit to write the code and in that, and in IE there is no space above and below the header jpg. But in Firefox and Opera there is space above and below. I'm doing something wrong but I

[css-d] beginner's issues with spacing

2008-01-20 Thread Stuart Walsh
I've got a homepage with a header which is a jpg. I'm using HTML Kit to write the code and in that, and in IE there is no space above and below the header jpg. But in Firefox and Opera there is space above and below. I'm doing something wrong but I can't think what it is. Also the bottom jpg

Re: [css-d] beginner's issues with spacing

2008-01-20 Thread Valerie Wininger
Try adding a universal selector at the beginning of your css to zero out all margins and paddings across browsers. Different browsers have different default margins and padding, so this is a good way to clear your slate at the beginning. Try something like * {margin:0; padding:0;}. Valerie On

Re: [css-d] beginner's issues with spacing

2008-01-20 Thread David Laakso
Stuart Walsh wrote: I've got a homepage with a header which is a jpg. I'm using HTML Kit to write the code and in that, and in IE there is no space above and below the header jpg. But in Firefox and Opera there is space above and below. I'm doing something wrong but I can't think what it