Jump to content

[SOLVED] Display different between browsers


twilitegxa

Recommended Posts

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/

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.