Jump to content

Recommended Posts

Posted

I am working on a new template for my school's website.

It looks nice in IE6, but awful in IE7. I have tried a few things, but nothing has worked.

 

The problem is that the center CSS main area (where all the main text is) does not auto change the height in IE7, like IE6 does. Part of the left hand navy column also does not auto change the height (in IE6, it goes all the way to the bottom of the page, like it needs to).

 

If anyone has any ideas, I'd GREATLY appreciate it! I am stumped right now.

 

 

If you want to take a look, here is the webaddress (Add http to the beginning):

 

claridenfundraisers.com/tcsweb2

 

and here is the css file:

 

--DELETED--

Posted
It also has the same problems in firefox. Not sure why though, I -hate- cross browser compatibility issues, i'm still trying to iron out mine.
Posted

Your #content height is what is defining the bottom mis-placed border - remove 'height: 600px' to see what I mean.

 

It also left justifies in Firefox.

 

Sorry I don't have IE6 here to try 6 & 7 together. It'd be more helpful to post small screen shots I think.

 

IE6 is badly un-compliant re web standards, and IE7 isn't much better, due, I think, to MS trying to keep backwards compatability with poorly coded IE6 sites.

Posted

IE6 is badly un-compliant re web standards, and IE7 isn't much better, due, I think, to MS trying to keep backwards compatability with poorly coded IE6 sites.

 

Heh... i'd say IE6 and IE7 together have caused me about 12 hours worth of troubleshooting. At least IE7 supports transparent PNG files... if IE6 did, I wouldn't have had half the problems with my site as I am having now, as I installed a very dodgy PNG work around script (removing it is not an option as the GIF versions of the images just weren't good enough). Out of the four browsers I tested my site in, firefox and opera both passed without issue... IE6 and IE7 both failed... go figure.

Posted

I tried taking out the height tag from #content, no luck :(

 

I am posting screenshots from IE6 and IE7. Sorry they are different resolutions (the only computer I have IE7 installed on is a new Vista laptop we just got, and it is a lot different resolution from my desktop computer).

ie7.gif

screenhunter_01_feb._24_21.10.gif

Posted
Thank you so much for your help, everyone (especially Mark). I uploaded the revised style tags and everything works perfect in both IE6 and 7 now! Thanks! :)
Posted

OK, I thought it might be a good idea to install Firefox and test my site in it, since several of you said the alignment is left, rather than centered, like it is supposed to be.

 

I tried a few alignment tweaks and was able to get it to move over in Firefox, but then it also moves the already centered IE design to, making it too far to the right.

 

Anyone have any ideas on this? I am fairly new to CSS, until recently I had never used CSS for any of my sites.

Posted

Try this:

 

Change this line:

 

#margin {width: 790px; text-align: left; align: center; }

 

to this:

 

#margin {margin-left: auto; margin-right: auto; width: 790px; text-align: left}

 

 

 

The top border to the #content is missing in FF too - you need to add border-top: 3px solid navy;

Posted
#margin {margin-left: auto; margin-right: auto; width: 790px; text-align: left}

 

You can consolidate that even further:

 

#margin{ margin:0 auto; ... etc}

 

Top and Bottom is 0, Left and Right is auto.

  • 2 weeks later...
Posted

OK this is odd now. My page text displays perfectly in Netscape and Firefox, but the left margin in not lined up properly in IE6. This is just a normal space in a sentence, no special formatting used.

 

Attached are two screenshots.

 

If anyone has any ideas on this, I'd be very happy :D

Luckily, I am starting to figure out how to fix CSS problems, but I am still a ways from really understanding CSS entirely.

screenhunter_02_mar._09_22.15.gif

screenhunter_01_mar._09_22.15.gif

Posted

OK, found another odd bug.

 

If you go to claridenfundraisers.com/tcsweb2/forum/gallery.php?cid=1 (add http to the beginning) in Netscape of Firefox, you will notice the page is off centered, the navigation bar does not go all the way down, and the bottom bar does not move down like it should.

 

What is odd is that I already corrected several of these issues on the other pages (click on Mainpage for example). I have copied and pasted the coding from the mainpages to the template (it is powered by PunBB forums), but it should appear correctly.

 

Any ideas? The PunBB forum was useless for this (no one responded in over two weeks).

Posted

Plugged_in, thanks. Removing the height did fix the problem with the bottom border. This also led me to discover I have copied part of the style changes from the old template, bringing back all of the old problems :oops: Oops.

 

I now copied the correct code and everything is looking good again. :D

 

Thanks for the help!

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



×
×
  • Create New...