Really need to see the rest of the
css and your
html so we can make a judgement as to what might be influencing what.
As a standard opening bit of
css, always start with;
- Code: Select all
* {padding: 0; margin: 0}
The reason for this is that different browsers apply different default padding and margins to various elements. This code sets everything to zero so you know where you are starting from.