HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
Table alignment problem -- please help!
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Table
View previous topic :: View next topic  
Author Message
Brigit



Joined: 08 Jan 2005
Posts: 2

PostPosted: Sat Jan 08, 2005 3:56 am     Table alignment problem -- please help! Reply with quote

Okay, here's what I'm trying to accomplish (the problem is simple though, don't fret--at least, I hope it's simple!!)...
I'm trying to use javascript to toggle between color schemes on the same page.
I've figured it out, but I'm not so good with tables.
I've got a table for a sliced graphic I made, and it works fine. What I'm trying to accomplish is changing the background colors, which I'm going to have to do with tables, because I can think of no other way. I want the bg color to cover the entire page, but fit to whatever size window there is.
I was trying to use width and height at 100%, but if I add a tr to the existing table for the graphic (which was generated by a graphic program), it spaces out between each tr. If this is making any sense... What I did was make the table width 100%, then I added a tr with a td of width * at the end, thinking it would fill in any space. Instead it just stretched. Then I tried just making the table width 100% with out the added tr, did the same exact thing.

This is what I've tried...
-- Make separate table and use position: absolute left: 0 right: 0 so that it would act as a layer under the graphic -- didn't work
-- Tried what I described above -- didn't work
-- Tried to make a separate table that would butt up right against the graphic, but it added a br -- obviously didn't work right

Any solution you can think of??? I have the trial here... http://trickitten.net/6ix/design/trickitten/02
Click on "cotton candy" and you can see that the table has spaced out the graphic.
I'm trying to get it to look like this http://trickitten.net/6ix/design/trickitten/02/cotton%20candy but I can't do it the same way because I've got 5 other color schemes (another example http://trickitten.net/6ix/design/trickitten/02/earth ), so if I try putting the *body bgcolor=whatever* for each one within ONE page, it will only allow one background color, and not interchangeable.

Okay... I know that came out really scatter-brained, but PLEASE HELP ME!!! AHH!!! lol
ing0



Joined: 14 Jan 2005
Posts: 2

PostPosted: Sat Jan 15, 2005 11:26 am     Somthing with loading Reply with quote

I don't know if you noticed yet, but whin i go to the site where you can pick between "cotton candy" and the others, you see "items downloading" in the status bar below. And that are more then 200 items. If you then click cottoncandy when it's not finished loading, you see spaces between images. But if you wait until all items are loaded, and then pick cotton candy link, the sites loads fine.

But i don't know anything about java, just noticed it.
Brigit



Joined: 08 Jan 2005
Posts: 2

PostPosted: Sun Jan 16, 2005 4:22 am     Reply with quote

Thanks.
Yes, I noticed that. If you load it using Safari (Mac) though, it completes the load, regardless of whether or not you click the links first.
*sigh* I just wish it worked the same for IE.
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Table All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial