twilitegxa Posted June 5, 2009 Share Posted June 5, 2009 Can anyone help me with the way to fix this problem? I have a website that is displaying differently between different browsers. For example, the text in the box on the right is off in Internet Explorer but looks fine in Firefox. I know there is a code you can put that says something like if ie, use these measurements or something like that. Can anyone help me with this? Here is the link to the page: http://www.palmermarchese.com.au/ Quote Link to comment Share on other sites More sharing options...
twilitegxa Posted June 5, 2009 Author Share Posted June 5, 2009 Okay, I found the script I need to use: <!--[if IE]> Code goes here... <![endif]--> But, I can't get the measurements right. Can anyone help? What do I need to change? I tried making a class for the table and changing the width of the table in the class, but it isn't working. What am I doing wrong? Quote Link to comment Share on other sites More sharing options...
PFMaBiSmAd Posted June 5, 2009 Share Posted June 5, 2009 Your page contains a number of HTML markup and CSS errors that you must fix before you can even think about how it behaves in different browsers - http://validator.w3.org/check?uri=http%3A%2F%2Fwww.palmermarchese.com.au%2F&charset=(detect+automatically)&doctype=Inline&group=0 http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.palmermarchese.com.au%2F&profile=css21&usermedium=all&warning=1&lang=en Quote Link to comment Share on other sites More sharing options...
twilitegxa Posted June 5, 2009 Author Share Posted June 5, 2009 Okay, now I have the validation under control, but here is the new url: http://webdesignsbyliz.com/palmer/index.html Can someone help me to adjust the coding to support IE 6-8 and Safari on the Mac, and Firefox 1.5-3? Quote Link to comment Share on other sites More sharing options...
twilitegxa Posted June 5, 2009 Author Share Posted June 5, 2009 And now my contents aren't centered. What did I mess up now? Quote Link to comment Share on other sites More sharing options...
Axeia Posted June 6, 2009 Share Posted June 6, 2009 Add the following to your css, #table18 { margin: 0 auto; } No idea about the text as I can't use internet explorer being on linux and all. PS disabling the rightclick menu via javascript does no good what so ever, I can still steal all your images/sourcecode/what not if I want to.. all I need to do is disable javascript. And I don't know which editor you're using but the sourcecode looks like a mess nothing is named properly and it's spread in a zillion different pieces containing unnecessary clutter. Quote Link to comment Share on other sites More sharing options...
twilitegxa Posted June 6, 2009 Author Share Posted June 6, 2009 This is a site I've taken over from someone else, so the previous coding isn't mine. I just need to clean it up a bit, but I wanted to get the cross-browser thing working first. That's the most important thing. Can anyone help me with the conditional statements? I'm not having too much luck getting the text to line up within the box in Internet Explorer. I know it's within a table, but I have tried using a conditional statement to lessen the width of the table, but that doesn't work. If I widen it, that seems to make it bigger, so tit doesn't make sense. Any help would be greatly appreciated! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.