php forum
php mysql forum
php mysql smarty
 
Topic Options
#109342 - 04/24/02 12:48 PM td non-repeating background image tag
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Little Rock, AR
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.

Top
#109343 - 04/24/02 01:20 PM Re: td non-repeating background image tag
Shark5060 Offline
Junior Member

Registered: 04/21/02
Posts: 24
Loc: Hamburg
Hey, cool thats good. Can you also give me the CSS "Tag", please ?

Top
#109344 - 04/24/02 03:29 PM Re: td non-repeating background image tag
Bookie Offline
Member / Blamoholic

Registered: 01/23/01
Posts: 1296
Loc: Alberta, Canada
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:

</font><blockquote><font size="1" face="Verdana, Helvetica, sans-serif">quote:</font><hr /><font size="2" face="Verdana, Helvetica, sans-serif"> background-image: url(ADDRESSTOIMAGE); background-repeat: REPEAT-TYPE; </font><hr /></blockquote><font size="2" face="Verdana, Helvetica, sans-serif">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.

Top
#109345 - 04/24/02 04:54 PM Re: td non-repeating background image tag
Shark5060 Offline
Junior Member

Registered: 04/21/02
Posts: 24
Loc: Hamburg
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 ).

Top
#109346 - 04/24/02 05:05 PM Re: td non-repeating background image tag
Bookie Offline
Member / Blamoholic

Registered: 01/23/01
Posts: 1296
Loc: Alberta, Canada
Whoops. tipsy Replace repeat-no with no-repeat. laugh

Top
#109347 - 04/25/02 07:29 AM Re: td non-repeating background image tag
Shark5060 Offline
Junior Member

Registered: 04/21/02
Posts: 24
Loc: Hamburg
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 ??

Top
#109348 - 04/25/02 07:45 AM Re: td non-repeating background image tag
Bookie Offline
Member / Blamoholic

Registered: 01/23/01
Posts: 1296
Loc: Alberta, Canada
It does that because <input> 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.

Top
#109349 - 04/26/02 06:43 AM Re: td non-repeating background image tag
Shark5060 Offline
Junior Member

Registered: 04/21/02
Posts: 24
Loc: Hamburg
i've done this:

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

but NOTHING changed...

Top
#109350 - 04/26/02 08:45 AM Re: td non-repeating background image tag
Burak Offline
Addict

Registered: 05/29/00
Posts: 1820
Loc: Istanbul, Turkey
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.
_________________________
one bytecode to rule them all

Top
#109351 - 04/26/02 09:50 AM Re: td non-repeating background image tag
Shark5060 Offline
Junior Member

Registered: 04/21/02
Posts: 24
Loc: Hamburg
ah, hmm ok - but I don't know how to do this. can you help me ?

Top



Who's Online
0 registered (), 35 Guests and 4 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Ubb - Buy It!
best forum software
Latest Posts
[7.2.1] - Naked shoutbox
by MithofOT
08/31/10 01:58 PM
[7.5.5] getting $_COOKIE to work
by gtho4
08/29/10 12:28 AM
Jelsoft Bought
by AllenAyres
08/20/10 04:44 PM
UBBDev Now Running Threads 7.5.6
by AllenAyres
08/18/10 07:59 PM
How do I add another field to the profile page?
by Gizmo
08/05/10 09:24 AM
UBB developer needed.
by AllenAyres
08/03/10 02:57 PM
New Mods
How do I add another field to the profile page?
by Vee
08/05/10 06:02 AM
[7.2.1] - Naked shoutbox
by sirdude
08/17/07 10:36 PM
Newest Members
stevebrummie, Neronrg, Vee, dessy, Manish
13533 Registered Users
Top Posters
AllenAyres 25565
JoshPet 11330
Rick 8373
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438
(Views)Popular Topics
Known public proxy servers 1224347
Finished-[6.5.2] Games Arcade Deluxe v1.9 375009
Integrated Index Page (IIP) 5.3.1 345193
Integrated Index Page (IIP) 5.1.1 322504
TLD Bv2.1 Released - Threads Links Directory 301614
[6.0x] Who's Online 4.0.0 [Finished] 267207
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 244632
[6.3.x] [beta] Hit Hack 2.0 197599
[7.x] Gizmo's Embedding BBCode (Pre UBB.T7.3) 173774
FlashChat & UBB.threads 169520
Forum Stats
13533 Members
59 Forums
37128 Topics
290448 Posts

Max Online: 686 @ 06/28/07 07:04 AM
Featured Member
Registered: 07/03/01
Posts: 811

 

 

 
fusionbb message board php hacks