Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

javascript resize columns not resizing Netscape properly

Status
Not open for further replies.

shaunacg

Programmer
Aug 1, 2003
71
GB
Hi,

I have a site that uses a resize javascript to get the left column to match the length of the right column. This works and looks fine when viewed in IE, but not in Netscape.

The page can be viewed here:

The Style sheets are at:

and


Also, does height not work for Netscape? I thought maybe I could make the div a specified height as a last resort (although this isn't the best solution for the dynamic pages that will change in length).

Any ideas?

Thanks,

Shaunacg
 
Hi Shaunacg,

I tried to run an online validation of your page. There are some problems with it. It's way too large to debug quickly for me.

However, here's a few things to fix:

[tt]<STYLE>[/tt] is only valid inside [tt]<HEAD>[/tt] and [tt]</HEAD>[/tt]...

There cannot be anything between the [tt]</HEAD>[/tt] and [tt]<BODY>[/tt] tags...

Also, I believe that you'd be better off with all your scripts EITHER in seperate .js files OR in the HEAD section.

Remember that HTML is an interpreted scripting language. This means that if the code isen't compliant to the standard there is no way to guarantee the outcome.

Good Luck with your project


Jakob
 
Thanks Jakob,

I'll make those changes now and see what happens.

Shaunacg
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top