Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Spans overlap when viewport is reduced
- Richard Rundle
March 7, 2006, 1:06 pm
rate this thread
I've got a page
that looks OK to me (at my settings anyway!), but when I try narrowing the
viewport, some of the divs near the bottom of the screen start to overlap in
a rather ugly way.
I've tried playing around with margins and padding, making them divs that
display inline, giving them a height , giving the containing div a bottom
margin and anything else I can think of.
It's not the end of the world, but I'd like to fix it and get it looking and
behaving as I think it should without resorting to a table.
The colours on the items are there for debugging purposes, I may well revert
to not specifiying them when I've finished. Also, CSS is contained within
the file on a temporary basis only to make it easier to see if anyone can
solve the problem - normally it's on a seperate sheet.
I've got hundreds of pages like this for various leagues/seasons, some of
which I have put online when I was less worried about doing things "the
right way", so if I can get it sorted now, I'll need to go back over those.