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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to reload web page one time

Status
Not open for further replies.

therod0308

Technical User
May 23, 2007
1
US
I have a web page that works fine in IE but causes problems in Firefox. It displays a 3-column table. The first row of the table (colspan=3) contains descriptive text. Rows 2-160 displays 3 columns of information. The first time the page is displayed there is a huge gap between row-1 and row-2. If I manually reload the page (and it caches) the table displays correctly by closing the gap between row-1 and row-2. Once the page has been cached, it displays correctly. I still don't know why it is acting so strangely but I suspect it may have something to do with mixing <td> and <div> in the same code.

I tried several ways of auto-reloading the page using onload() but I really only need it to load one time and one time only.

Anyone know how I can accomplish this?
 
I think this is more of a HTML/CSS question. There should not be a gap like that.

forum215


[monkey][snake] <.
 
Validate your rendered HTML code at the (free) Validator Service. If that runs clean, then post an example of the table (the start of the tabe, the first few rows and the last few rows - leave out the repeating 150-odd rows in the middle)... and explain exactly how the divs and tds are being mixed [smile]

Cheers,
Jeff


[tt]Jeff's Page [!]@[/!] Code Couch
[/tt]

Make sure your web page and css validates properly against the doctype you have chosen - before you attempt to debug a problem!

FAQ216-6094
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top