Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: May 2001
Posts: 1,042
Likes: 7
Moderator
Moderator
Offline
Joined: May 2001
Posts: 1,042
Likes: 7
Does anyone know the tag that can be used in the td tag so background images do not repeat. I don't want to use CSS tags, please.

Thanks in advance.

Sponsored Links
Joined: Apr 2002
Posts: 24
Junior Member
Junior Member
Offline
Joined: Apr 2002
Posts: 24
Hey, cool thats good. Can you also give me the CSS "Tag", please ?

Joined: Jan 2001
Posts: 1,309
Member / Blamoholic
Member / Blamoholic
Offline
Joined: Jan 2001
Posts: 1,309
You can make backgrounds stick with javascript. Check out this link . Im not sure if it will work within a TD, but it is worth a try.

It is really easy to do with CSS too. First set your backgound image using style="CSS stuff" or, define it in the head or other file. In that put this:

quote:
background-image: url(ADDRESSTOIMAGE); background-repeat: REPEAT-TYPE;
ADDRESSTOIMAGE should be replaced with... thats right, the address to the image. and Repeat type can be replaced with no-repeat, repeat-x, repeat-y to prevent from tiling, or just horizontal/vertical tiling.

Joined: Apr 2002
Posts: 24
Junior Member
Junior Member
Offline
Joined: Apr 2002
Posts: 24
ehm, is it correct like this:

[code][/code]because the image is shown, but it is repeating in horizontaly AND verticaly (oh my damn english laugh ).

Joined: Jan 2001
Posts: 1,309
Member / Blamoholic
Member / Blamoholic
Offline
Joined: Jan 2001
Posts: 1,309
Whoops. tipsy Replace repeat-no with no-repeat. laugh

Sponsored Links
Joined: Apr 2002
Posts: 24
Junior Member
Junior Member
Offline
Joined: Apr 2002
Posts: 24
jeah! Thanks! That is what i'm looking for... another Question, you CSS Prof laugh :

INPUT, TEXTAREA, BUTTON {
border:1px solid #FFFFFF; font-family: Verdana;
font-size: 10pt;
color: #FFFFFF;
background-color: #000000;
}

Thats inside my style.css too - it makes the text-areas, the Buttons and the input boxes in Black & White. But the Option & Check fields are B&W too. why ??

Joined: Jan 2001
Posts: 1,309
Member / Blamoholic
Member / Blamoholic
Offline
Joined: Jan 2001
Posts: 1,309
It does that because tags are used for all that type of stuff. ie: [code][/code]What you could do is make a class in your header for the radio/checkbox buttons with no background color or anything, and go through the template files with checkbox and radio fields and assign that class to them. That is about all you can do to fix that.

Joined: Apr 2002
Posts: 24
Junior Member
Junior Member
Offline
Joined: Apr 2002
Posts: 24
i've done this:

CHECKBOX, OPTION, RADIO {
border:1px invisible; font-family: Verdana;
font-size: 10pt;
color: #111111;
background-color: #111111;
}

but NOTHING changed...

Joined: May 2000
Posts: 1,356
Addict
Addict
Joined: May 2000
Posts: 1,356
read Bookie' s post again. You can not do this. You can set the "input" properties and this applies to all (checkbox radio etc..) or add a new class to your css and edit the html.

Joined: Apr 2002
Posts: 24
Junior Member
Junior Member
Offline
Joined: Apr 2002
Posts: 24
ah, hmm ok - but I don't know how to do this. can you help me ?

Sponsored Links

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:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)