1
Dylan55468
Browser Issues
  • 2006/1/31 3:59

  • Dylan55468

  • Just popping in

  • Posts: 10

  • Since: 2005/12/2


Ok, so I own the site http://www.eClearly.com. And I have spent the last few weeks messing around in photoshop getting it to look nice and having everything I want. But to fit the new size of the image, I had to change the width of the main section. Now when it is viewed in Internet Explorer it shows up fine, but when it is viewed in firefox, the width of the main section is too wide. Also, in Internet Explorer, it seems that some of the image is cut off at the left.

The code that controls the width of the main section is in a file called stlye.css . This is the code:

#contenu{
background:url(images/content.jpg) repeat-y;
margin-left: -21px;
width: 825px;
padding: 0px 65px 0px 65px;
}


If anyone knows why this is happening and how I can fix it, let me know. Thanks.

2
m0nty
Re: Browser Issues
  • 2006/1/31 4:14

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


a negative left margin will cause the image to cut off on the left..

3
Dylan55468
Re: Browser Issues
  • 2006/1/31 4:20

  • Dylan55468

  • Just popping in

  • Posts: 10

  • Since: 2005/12/2


Thanks, but what is causing the change in width when using different browsers?

4
m0nty
Re: Browser Issues
  • 2006/1/31 4:35

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


i'm not entirely up on differences but ie and firefox seem to battle each other.. padding isn't always rendered properly in IE from what i have experienced in the past.

i found trhat using as little table elements as possible helps, and try to use divs where possible, unless you need tabular layout of course..

it's a big heartache matching firefox and IE, and it's more IEs fault than firefox..

check some opf the tables content widths and experiment. if you can on that theme try to use fixed width where necessary..

Login

Who's Online

322 user(s) are online (261 user(s) are browsing Support Forums)


Members: 0


Guests: 322


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits