Previous Thread
Next Thread
Print Thread
Rate Thread
#268003 01/25/2004 5:17 PM
Joined: Aug 2000
Posts: 1,290
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,290
Okay class pay attention. Here's a lil tip for all the shadetree style sheeters here. Mods and admins, go watch TV, we know you know this already

If you are placing an image in a cell for a wrapper or whatever other idea you have, you need to establish a few things in your css tag setup.

.tag-name {
background-image: url(/path/to/image.gif,jpg,png,jpeg); <= path to image.

background-position: left middle; <= if you do NOT want the image to repeat, or have a special place for it to start from before it repeats, this is very important.

background-repeat: no-repeat; <= this will only show the complete image (TD width/height permitting) and not "repeat" it all over the cell and/or table. The default is to repeat, so yes-repeat; is not used. You can also repeat it in one direction only. To repeat it horizontally and NOT vertically use repeat-x; To repeat it vertically and NOT horizontally, use repeat-y; .

background-color: #ffffff; <= this is fairly straight forward.

height: 25px; <= size of image used.

width: 25px; <= size of image used.
}

Hope this helps

Last edited by J.C.; 01/25/2004 5:38 PM.

- Custom Web Development
http://www.JCSWebDev.com
Sponsored Links
Entire Thread
Subject Posted By Posted
CSS 101 J.C. 01/26/2004 12:17 AM
Re: CSS 101 scroungr 01/26/2004 1:52 AM
Re: CSS 101 J.C. 01/26/2004 2:14 AM
Re: CSS 101 AllenAyres 01/26/2004 3:00 AM
Re: CSS 101 J.C. 01/26/2004 3:09 AM
Re: CSS 101 J.C. 03/17/2004 4:46 AM
Re: CSS 101 JoshPet 03/17/2004 8:25 AM
Re: CSS 101 J.C. 03/19/2004 9:02 AM
Re: CSS 101 J.C. 03/24/2004 10:16 PM
Re: CSS 101 scroungr 05/13/2004 8:24 PM
Re: CSS 101 kristiet 10/24/2004 9:48 AM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Shock Hosting
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Zarzal
Zarzal
Berlin, Germany
Posts: 808
Joined: July 2001
Forum Statistics
Forums63
Topics37,583
Posts293,955
Members13,824
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 2658
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 24
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260108)