This is a discussion on "Margin top IE" within the Web Page Design section. This forum, and the thread "Margin top IE are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Margin top IE
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
Margin top IE
Currently my navigation lines up nicely in the middle of the Quick Search area in FireFox, but despite adding a margin-top to try and get this working in IE, the nav appears to the top of the div.
http://www.tedbakerart.co.uk/march06/indexnew.html What have I done wrong? Thanks
|
|
|
|
#2
|
||||
|
||||
|
Re: Margin top IE
This is a quick reply, but have you instead tried padding top?
|
|
#3
|
|||
|
|||
|
Re: Margin top IE
It kinda works! In IE the page now looks as I would like, however in FF the navigation now appears just under the centre and as a consequence the text Fine Art Reproductions and the image of the frame are touching the images above.
|
|
#4
|
||||
|
||||
|
Re: Margin top IE
Hooray for IE. I hate that browser. Keep fudging with it, and remember that padding and margin produce entirely different results in IE.
|
|
#5
|
|||
|
|||
|
Re: Margin top IE
Are us saying, there's not much else I can do in order to get this working correctly in both browsers?
The clients using FF on a Mac, so I need to make sure it looks spot on for him, however the majority of people will be looking at the site in IE. Should I always be able to get a site working exactly as it should in both browsers? I thought the answer to this was yes. Thanks |
|
#6
|
||||
|
||||
|
Re: Margin top IE
Quote:
I've been doing this for years and years and I've come really close, but it is never exactly the same in all browsers. The short answer is 'no', you can't get a site to look the same in every browser (unless it's a giant .jpg with image maps). A lot of purists say that since all browsers are different, the world needs to accept the fact that sites will render differently in them. This doesn't give you the right to make crap code and then claim, "well, the browsers are different, so I won't bother to tighten my code up", because as I said above, it's possible to get the VERY close. It would be like asking you to get into a porsche, take it for a spin, then hop into a pickup truck and take it for the same spin, all the while expecting the results to be THE EXACT SAME THING. The source might be the same, but the medium isn't; things will be different. |
![]() |
| Tags |
| margin, top |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Web page margin | dhall | Website Planning | 1 | Sep 2nd, 2007 04:23 |
| Odd little image margin in FF | Zonglars | Web Page Design | 8 | Jul 24th, 2007 20:48 |
| Strange Padding/Margin | MaxCurrent | Web Page Design | 2 | Jul 24th, 2007 10:36 |
| Why am I getting a margin when not specified | AdRock | Web Page Design | 4 | Mar 14th, 2007 22:06 |
| margin? | nasumaru | Web Page Design | 14 | Jan 30th, 2007 21:52 |