Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
background image no repeat
Old 05-29-2006, 04:55 AM background image no repeat
coldturkey's Avatar
Extreme Talker

Posts: 211
Name: Rachel
Location: Spain
Trades: 3
Doh!!
How do i get this back ground image not repeat???
Quote:
<td background="images/exlong.gif" class="extras3" width="446" height="241">
Thanks
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE

coldturkey is offline
Reply With Quote
View Public Profile Visit coldturkey's homepage!
 
 
Register now for full access!
Old 05-29-2006, 05:15 AM Re: background image no repeat
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,383
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
use CSS

http://www.w3schools.com/css/css_ref...asp#background
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 06-01-2006, 04:50 PM Re: background image no repeat
GoWFB_SEO's Avatar
Novice Talker

Posts: 8
Trades: 0
.extras3{
width:446px;
height:241px;
background-repeat:no-repeat
}

if you define a class, you don't need to put width and height in your html but define them in your calss attribute
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
GoWFB_SEO is offline
Reply With Quote
View Public Profile Visit GoWFB_SEO's homepage!
 
Old 06-02-2006, 11:02 AM Re: background image no repeat
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,935
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
Be careful with that trick, though. Specifically, if you need an image to show up because you need to use its alt attribute.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 06-02-2006, 04:40 PM Re: background image no repeat
kIDJOE's Avatar
Extreme Talker

Posts: 186
Location: Hollywood, CA
Trades: 0
You can add an ALT TAG as well as a Background-Image.

Simply add your image as a background:url with no-repeat and in the image SRC to be able to add an ALT tag use a transparent pixel image with the width and height of the spec image. its a little trick and it works just fine, nothing ilegal about it
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE

kIDJOE is offline
Reply With Quote
View Public Profile Visit kIDJOE's homepage!
 
Old 06-02-2006, 05:49 PM Re: background image no repeat
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,935
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
True dat, but it ends up being excess code and graphic use in the end. Why download two images when one would suffice?
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 06-02-2006, 06:01 PM Re: background image no repeat
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Quote:
You can add an ALT TAG as well as a Background-Image.
There is no ALT TAG -- it's an atrribute

If an image is merely decorative and has nothing to do with the content, filling in the alt attribute isn't necessary - alt="" will suffice for 'fluff' graphics.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to background image no repeat
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.25157 seconds with 12 queries