Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Technical Support » Other » HTML Question
HTML Question [message #132167] Fri, 14 January 2005 21:37 Go to next message
glyde51 is currently offline  glyde51
Messages: 1827
Registered: August 2004
Location: Winnipeg
Karma: 0
General (1 Star)
In my quest to make a HTML page using only notepad, I have stumbled upon a problem. Does anyone know how to make non-repeating backgrounds for tables that stretch to fit? I know someone does...

And does anyone have any tips?


No. Seriously. No.
HTML Question [message #132177] Fri, 14 January 2005 23:51 Go to previous messageGo to next message
csskiller is currently offline  csskiller
Messages: 522
Registered: April 2004
Karma: 0
Colonel
lol glyde you aren't going to believe this. I had all you wanted to know written out and ready to submit, but then I couldn't submit it. The connection kept timing out. Razz Very Happy

Well, here it is AGAIN

To make an image not tile you do this is the css part of your page internal or external:

#what you named the div {background-image: url(image.whatever); background-repeat: no-repeat;}

Then in html you could just resize the image like so:
<img src="whatever.whatever" width="size.px" width="width.px">


Yes, it is confusing Razz


When history witnesses a great change, Razgriz reveals itself,
First as a dark demon,
As a demon it uses its power to reign death upon the land;
and then it dies.

However, after a period of slumber, Razgriz returns.
This time as a great hero...
HTML Question [message #132179] Sat, 15 January 2005 00:06 Go to previous messageGo to next message
icedog90 is currently offline  icedog90
Messages: 3483
Registered: April 2003
Karma: 0
General (3 Stars)
If you can't submit a message, just copy the text onto a notepad and try again later.
HTML Question [message #132181] Sat, 15 January 2005 00:26 Go to previous messageGo to next message
csskiller is currently offline  csskiller
Messages: 522
Registered: April 2004
Karma: 0
Colonel
Yeah, I'll keep that in mind next time.

When history witnesses a great change, Razgriz reveals itself,
First as a dark demon,
As a demon it uses its power to reign death upon the land;
and then it dies.

However, after a period of slumber, Razgriz returns.
This time as a great hero...
HTML Question [message #132184] Sat, 15 January 2005 01:41 Go to previous messageGo to next message
IRON FART
Messages: 1989
Registered: September 2003
Location: LOS ANGELES
Karma: 0
General (1 Star)
I was going to suggest the same as csskiller.

Add the background via CSS and just slap the "no-repeat" attribute somewhere on it.


http://www.baclan.org/albums/album05/dasmodell.jpg
Quote:


Quote from IRC
<[Digital]> get man_fucking_a_car.mpg
<[Digital]> ah fuck wrong window

HTML Question [message #132237] Sat, 15 January 2005 09:42 Go to previous messageGo to next message
cheesesoda is currently offline  cheesesoda
Messages: 6507
Registered: March 2003
Location: Jackson, Michigan
Karma: 0
General (5 Stars)

This should work:

<td style="background-image: url(iframebg.png); background-repeat: no-repeat; background-attachment: fixed">


whoa.
HTML Question [message #132263] Sat, 15 January 2005 12:52 Go to previous messageGo to next message
Sir Phoenixx is currently offline  Sir Phoenixx
Messages: 2510
Registered: February 2003
Location: Behind You!
Karma: 0
General (2 Stars)

j_ball430's way is the best/easiest/etc. way with the smallest amount of code, and it's even smaller when you consider the fact that "background-attachment: fixed" needs to be removed since that's only for the body background (keeps the background stationary as you scroll) and doesn't do anything in <TD>.

So this would be all that you need:
j_ball430

<td style="background-image: url(iframebg.png); background-repeat: no-repeat">



.:Red Alert: A Path Beyond Modeler:.
E-mail: sirphoenixx@gmail.com
AIM: Sir Phoenixx
ICQ: 339325768
MSN: sirphoenixx@hotmail.com
Yahoo: sirphoenix86
If anyone needs any help with using 3dsmax, or gmax feel free to contact me.

My Gallery: sir-phoenixx.deviantart.com/gallery
HTML Question [message #132268] Sat, 15 January 2005 13:24 Go to previous message
cheesesoda is currently offline  cheesesoda
Messages: 6507
Registered: March 2003
Location: Jackson, Michigan
Karma: 0
General (5 Stars)

Yeah, I figured that wasn't supposed to be in there. Oh well, now it's even smaller as Sir Phoenixx said. Smile

whoa.
Previous Topic: Hard Drive Swapping Problem still unresolved
Next Topic: Win XP Shells
Goto Forum:
  


Current Time: Sun Nov 24 03:06:05 MST 2024

Total time taken to generate the page: 0.00749 seconds