PDA

View Full Version : div aligned side by side do not line up


richcodesign
11-27-2009, 12:07 PM
can some one see why the previous and next buttons are not lining up with the top of my div on the tree pit page?

as you can see on this page it does: http://www.colourchips.co.uk/anti_slip_coloured_quartz.htm

but this page it does not
http://www.colourchips.co.uk/rubber_bark_treepit.htm

i have looked at my code and css 1000s of times and can not see the issue, all the maths and number are correct!

please help.
Thanks

edbr
12-01-2009, 12:20 AM
i cant see the problem , maybe i need more coffee

richcodesign
12-01-2009, 08:00 AM
i cant see the problem , maybe i need more coffee

sorry... it has seemed to sort itself out!
all i did was close dw for the day and the next day it worked!?!?!?!?!

edbr
12-02-2009, 12:32 AM
ah good, maybe it was a cache problem in your berowser

richcodesign
12-02-2009, 12:27 PM
okay.... same issue.

It has something to do with the right and left classes but i can not see what!?

Again all the maths adds up, but does not line the boxes up.

I think that it may have something to do with the H1 Tag, as you can see pages that have a H1 tag, the box drops down. See examples at:

http://www.colourchips.co.uk/antislip_surface_dressing.htm
http://www.colourchips.co.uk/wood_deck.htm
http://www.colourchips.co.uk/richco_systems_antislip.htm

i have played around removing the H1 tag and it brings the box up to the correct position (like the last example).

any ideas?

Corrosive
12-02-2009, 12:39 PM
Have you tried zeroing the margins and padding on h1 at all? They have defaults.

richcodesign
12-02-2009, 01:00 PM
Have you tried zeroing the margins and padding on h1 at all? They have defaults.

yeah... done all that and it still seems to not line up????

richcodesign
12-02-2009, 01:25 PM
so.. it cant be from the H1 tags??? Really stumped with this one