Log In · Register

 
 
Closed TopicStart new topic
anyone that is good with tables....., know how to put your background inside of a table?
rubicon
post Aug 30 2006, 05:03 PM
Post #1


Senior Member
***

Group: Member
Posts: 56
Joined: Aug 2006
Member No: 454,246



I have just learned how to make a page adjust to any users display resolution but in order to do that i have to first put the page or image inside of a table and second change the height and with settings to percentages instead of pixels.....here is my current code for my background, thanks!


table, tr, td { background-color:transparent; border:none; border-width:0;}
body {
background-color:ff3100;
background-image: url(http://img245.imageshack.us/img245/6466/orangebackground1hv6.gif);
background-attachment: fixed;
background-position:top left;
background-repeat:repeat;
border-color:000000;
border-width:8px;
border-style: solid;
 
*WHIMSICAL 0NE*
post Aug 30 2006, 05:53 PM
Post #2





Guest






Well, if you just want to put a background in your table use

table, tr, td {background-image: url('http://whatever.com/image.gif');}
 
rubicon
post Aug 31 2006, 09:11 PM
Post #3


Senior Member
***

Group: Member
Posts: 56
Joined: Aug 2006
Member No: 454,246



ok now how do I or can i add in the width and height dimensions into this code but in a % value instead of pixels?
 
GREASEbaby
post Aug 31 2006, 11:12 PM
Post #4


What's my name? Janette. and ily. <3
******

Group: Member
Posts: 2,139
Joined: Apr 2006
Member No: 391,911



Ermm. I'm not sure you can. You should just resize your image in your image editing program.
 
freeflow
post Aug 31 2006, 11:14 PM
Post #5


t-t-t-toyaaa
********

Group: Official Member
Posts: 19,821
Joined: Apr 2004
Member No: 11,270



Width and height of the tables or the image. For the tables its easier in pixels and I don't suggest you do it because of the fact that , those table codes edit NUMEROUS things. Not just one set of tables. If you want to resize then I can suggest a really good code to you. % and myspace don't really get along in my opinion. Possibly, but pinch.gif
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: