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

misaligned pages (table trouble?) 1

Status
Not open for further replies.

fxcolin

Technical User
Joined
Oct 14, 2001
Messages
169
Location
CA
I'm hoping someone can help me.
The problem i'm having seems to be with nested tables
When I check my pages on the web it seems that a nested table will drop down leaving a gaping hole (blank space).
When I click refresh or if I click a few links and go back to the page it goes back to normal. Also sometimes the tables will change sizes horizontally.
Should I maybe put in spacers (transparent images) to prevent the squishing.
My other 3 Web sites were pretty straight forward and did not have any problems. This one though is powered by MySQL database and php4.
Other info:
I tend to use % for width instead of pixels
(I understand that this is better for scalability-different size monitors)
Anyone have any ideas -this is becoming very annoying
Thank you!

 
Have a look for a tables/trouble uttorial on the net. There are many.

I suspect the problem is to do with your database, not the nesting of tables.

Dreamweaver when building tables, puts a nbsp in every empty cell to stop it collapsing. if you are sending data to tables, but leaving some cells empty, this may not be happening. Empty cells means the table cells will appear, then collapse if empty.

% is fine, but in netsrap 4.7 it has problems with mixed tables(eg some cells set exact width, some set by %)

Have a look at (Don't laugh, they have a great web development team, the UK site is redone very three weeks with a new flash splash page.

Have a peek at their code for their tables. It will help.
 
Thanks for your help nippi,
i was thinking that i should probably add maybe some transparent spacer gifs to fill the void
Seems to be running alot better more stable
thanks for the tip
also the avon site looks good
very clean coding :-V
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top