Jump to content
Eternal Lands Official Forums
Sign in to follow this  
Aranka

website bug - bots.php

Recommended Posts

the link

http://el.other-life.com/bots.php

 

displays some margin bugs in internet explorer 6(windows)

as well as opera 9.25

 

screenie1.JPG

 

 

other than that the website works perfectly :hiya:

Edited by Melisande

Share this post


Link to post
Share on other sites

If you can identify what the problem is in more detail that can help. The site is developed & tested under FireFox & IE, and it looks fine on those.

Share this post


Link to post
Share on other sites

i think the problem is the following: ( i am not a website expert so i can only guess what the bug is)

 

the background image body_top (for example) is 630 x 34 pixels

 

but the table in which the text is placed has a width of 660 :

 

<!-- Body -->

<TD Align=Center VAlign=Top Class="Main">

 

(the width of the class "Main" is specified as 660 pixels in the css file)

 

.Main

{

width: 660px;

 

because the align of the table is centered, 15 pixels go over each border (15 pixels over the left border, 15 over the right)

 

which also explains everything that comes on the right side of the table is moved

 

 

-- however the funny thing is; i opened it in firefox and it worked (like you said :hiya: )

but Opera gives smaller problems than (my version of) Internet Explorer

 

screenie2.JPG

 

so i think its better to ask someone who knows more about website programming than me,

where exactly the problem lies.

 

i hope this helps a bit; :wub:

 

Melisande

Edited by Melisande

Share this post


Link to post
Share on other sites

Actually, for some reason

.MainBody
{
 width: 649px;
}

bubbles down to the table node in IE (IE6 here).

When removed, it looks fine in both IE and FF for me.

 

I leave the answering of the why question to a real expert. :hiya:

 

 

Btw, do these css definitions serve any purpose here?
.NarrowBody
{
background-image: url("http://www.eternal-lands.com/page/images/body_middle.gif");
 background-repeat: repeat-y;
background-position: center;
}

The body_middle.gif picture is already set as background for the MainBody.

Share this post


Link to post
Share on other sites

IE and Firefox have a different implementation of the css padding keyword:

 

IE:

 

|---------- width ----------|
|[padding]<content>[padding]|

 

Firefox:

 

		 | width |
[padding]<content>[padding]

 

 

edit: typo

Edited by gp_

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×