|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (10 bit)
|
using a pattern as backround...
say i make a pattern(like 15x15 size), how do i use that as a backround, so keeps repeating?
thanks ^dan |
|
|
|
|
|
#2 |
|
Professional gadfly
|
A background for what? Web page? Wallpaper?
|
|
|
|
|
|
#3 |
|
Member (10 bit)
|
sorry, for a webpage.
|
|
|
|
|
|
#4 |
|
Professional gadfly
|
My ancient HTML knowledge says to use a body tag like this:
<body background="images/back.gif"> But there might be another way with these newfangled CSS and whatnot the punks are talking about today.
|
|
|
|
|
|
#5 |
|
Member (10 bit)
|
what? no CSS for you doctorgonzo?
j/k for some reason i though there was a different command when using a pattern, but i guess not.Thanks |
|
|
|
|
|
#6 |
|
Staff
Premium Member
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
|
The default is for a background to repeat (tile) both horizontally and vertically using Dr.G's method. If you want it to do something else then you will have to use CSS. Here is how to do that.
In the head section of the page. <style> body.back { background-color: #FFFFFF; background-image: url(/images/image_name.jpg); background-position : bottom; (center, top, etc.) background-repeat : no-repeat; (repeat-x, repeat-y) } </style> <body class="back"> or you can use it within table cells(TD) like so: <style> .back { background-color: #FFFFFF; background-image: url(/images/image_name.jpg); background-position : bottom; (center, top, etc.) background-repeat : no-repeat; (repeat-x, repeat-y) } </style> <td class="back"> repeat-x and y or for vertical and horizontal repeats only. No repeat only presents the image once.
__________________
Want to Make $$$$ with your Computer? No Risk! Simply press shift-4 four times in a row |
|
|
|
|
|
#7 |
|
Member (10 bit)
|
thanks for the info, thats what i was trying to find
![]() thanks ^dan |
|
|
|
|
|
#8 |
|
Staff
Premium Member
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
|
You can also make an external stylesheet which is generally preferable since you don't have to change every page if you use the style tags. You can also download the free TopStyle Light that will help you a bit with css.
|
|
|
|
|
|
#9 |
|
Member (10 bit)
|
yea i know basic css, enough for most text options, but ill have to try that program.
Thanks ^dan |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|