Thread: HTML table background
Results 1 to 7 of 7
Related
-
setting table background Forum: Myspace Forum
Replies: 2 -
Table background image Forum: HTML Forum
Replies: 3 -
table cell background Forum: CSS Forum
Replies: 3 -
Newbie can't specify background for specific table Forum: CSS Forum
Replies: 2 -
Table/cell background image in CSS Forum: CSS Forum
Replies: 7
-
12-15-2000, 12:19 AM #1
How do you...
...make the background of a table a certain size. Instead of just the real size of the picture. And how do you make a background, in anything, stretched out? instead of the same picture repeated? I mean like the picture of a background just one single picture. Do you know?
-
12-16-2000, 11:44 AM #2
You will need togo into your graphics editor and edit the image.
-
12-16-2000, 08:25 PM #3
If you want to set a non-tiled picture as your background, you can use the following rule in your <head>
<style type="text/css">body { background-image: url(image.gif); background-repeat; no-repeat }</style>
Experiment with the url bit. I have never used this myself.Not a big fan of background images.
------------------
QuietDean-
-
12-18-2000, 09:22 PM #4
whats the "text/css"? I'll try to experiment with it. I can't get it to work. How about putting it in copy-and-paste situation, like what you would put. Except I'll change the location of the image.
-
12-19-2000, 04:20 PM #5
Sorry.My Fault.It should be in your <head>.
Heres an example from my website that DOES work!
<style type="text/css">
<!--
body { background: white url(qdglow.png) no-repeat fixed center }
-->
</style>
Put it in your head.Painful, I know.This works if the image is in the same folder/directory (See your Show It Off! entry).
Brief explanation: text/css means that these are style rules written in text.
'white' in the rule is your background colour.
'fixed' means it wont scroll.
'center' change that to wherever you want it.
'no-repeat' means it wont tile.
Cascading Style Sheets (css) seemed very difficult to me when I started, but to be honest they are actually easier, more reliable, less hassle, more powerful and funkier than 'font' tags etc. Changing fonts and text size with <font> tags etc has been dropped in favour of Style-Sheets.
Godamn I write a lot once I start!
------------------
QuietDean-
-
12-19-2000, 07:34 PM #6
Bingo. Now is there any possible way to make the picture bigger or smaller as needed? By any html standards? If not, thanks for your help anyway !
-
12-21-2000, 02:56 AM #7
No easy way!
Best thing is to resize it. Even MSpaint has a resize option.
Sorry!
------------------
QuietDean-