|
Tailslide -> RE: Am real stuck here. I've upload a test page to my space. (11/28/2007 11:22:46)
|
Paul I'm seeing the same thing in FF, Opera and IE7 - just two photos of gates.... Anyway - generally, although it might be displaying how you want in IE it's probably displaying correctly (i.e. according to your code) in Opera and Firefox. Without being able to see what the problem actually is, to ensure cross-browser compatibility you need to do the following: 1. Use a DOCTYPE - must be the very first thing on the page (which might not be possible using free space as they tend to insert other stuff before it - if it's for a commercial site I'd get some better hosting). If you don't know which one then try HTML 4 transitional. If you don't use a full DOCTYPE or if it's not the first thing on the page then you end up relying on various browsers' error handling routines to produce your page and these routines are all different (such as IE using incorrect rules about margins and padding). 2. Use valid code. Without using proper code again you're relying on browsers to guess what you want - they might get it right, they might not. Go here to check your code: http://validator.w3.org/ 3. If you're using divs for layout rather than tables (which you really should) then ensure you don't use Absolute Positioning to position them on the page - it looks like it should be easier, but it's not! Use the normal flow of the page and floats to get what you want. In the end - if you want a site to work well cross-browser then you really need to be producing good markup/CSS (and any WYSIWYG editor is likely to NOT produce that for you without you checking it). So apart from the things above you really need to be able to understand the markup - have a look at www.htmldog.com for some excellent, easy to understand tutorials on HTML and CSS.
|
|
|
|