PDA

View Full Version : Div tags butting up - browser differences


tommisauce
07-26-2007, 03:43 PM
Hi folks,
I have a quick questions which should be easily resolved. I have created sites using Div tags, the usual 'masterhead' / 'navi' / 'content' / 'footer'. The Divs margins are set to 0 for for top and bottom. My querie is, in IE the Divs 'butt up' to each other however in FF/Safari/Mozilla there is a gap - is there a way to get the pages to appear the same? I have tried playing with the margins and had no joy. I have even attempted to create another Div tag to include the 'navi/content' to see if that would 'squeeze up' the elements - that didn't work in the desired browsers either - any ideas?

Many thanks in advance

tommisauce
07-26-2007, 06:07 PM
I was persistent in trying to solve this problem and worked it out !! Oh happy days! ;p

Question, why on earth cant all browsers have the same protocols and viewing behaviours?? Although I must admit there is a certain amount of satisfaction gained when you work stuff out!

kate
07-26-2007, 07:33 PM
Nice one!

Did you come up against the ie float bug..what?

:D

tommisauce
07-27-2007, 10:38 AM
I tried everything, then on the h1 tag I made the padding 0 and increased the top margin - and hey presto - got it sussed! It's all about swings and roundabouts. Like I said before - its great when you can work something out!

edbr
07-28-2007, 04:33 AM
It looks like you pasted in design view.delete your form and in code view paste after "donations may be made....
can be made <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but04.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHTwYJKoZIhvcNAQcEoIIHQDCCBzwCAQExggEwMIIBLAIBAD CBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYD VQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW 5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2 ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQ AwDQYJK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2ODdCyFkJ5Y3eDk2lTQYU7CGzYWmdh/nBY6bu0uKlHr0KxPavY2LdfCA1ibWfW224XeIwXe6Ll3xLx5BJ ig+CyLhyzEoJPxoQ8q0w9eV92+Rx4a3/zLC/3j-----END PKCS7-----
">
</form>

kate
07-28-2007, 07:25 AM
Edbr,

For future reference please wrap code in this # - thanks!

:mrgreen: