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
Old 08-31-2006, 09:33 AM Text overlap image ?
tomcat_fo's Avatar
Ultra Talker

Posts: 275
Trades: 0
I want an image behind some of my headlines....

Have tryed to use background= wich works fine except image repeat itself when some table size automaticly changes. .... i there need to use to put it on the website as an ordinary image, so i can fix the size - so i hope someone can tell me how to make it possible to write text over an image in HTML
tomcat_fo is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-31-2006, 09:50 AM Re: Text overlap image ?
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
You can do it, but you'd have to use CSS. With CSS you can use an image as a background for a <div> and then you can put your text on top in the HTML.
__________________
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
 
Old 08-31-2006, 10:10 AM Re: Text overlap image ?
tomcat_fo's Avatar
Ultra Talker

Posts: 275
Trades: 0
do most browsers show it right ?
tomcat_fo is offline
Reply With Quote
View Public Profile
 
Old 08-31-2006, 02:22 PM Re: Text overlap image ?
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Yes, they do.
__________________
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
 
Old 08-31-2006, 02:22 PM Re: Text overlap image ?
funkdaddu's Avatar
Web Design Snob

Posts: 635
Trades: 0
Yup. I'm guessing you're not familiar with CSS? Here is a simple example., but it would be in your best interest to read up on the basics.

HTML Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">

<html>

	<head>
		<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
		<title>Untitled Page</title>
		<style type="text/css" media="screen"><!--h1  {
	color: #fff;
	background: url("http://www.cee.hw.ac.uk/hipr/images/bur1.gif") no-repeat;
	width: 256px;
	height: 256px;
	display: block;
	
	}
--></style>
	</head>

	<body bgcolor="#ffffff">
		<h1>This is a Test</h1>
	</body>

</html>

Last edited by funkdaddu; 08-31-2006 at 02:25 PM..
funkdaddu is offline
Reply With Quote
View Public Profile Visit funkdaddu's homepage!
 
Old 09-04-2006, 03:35 PM Re: Text overlap image ?
Novice Talker

Posts: 7
Trades: 0
Quote:
Originally Posted by funkdaddu View Post
Yup. I'm guessing you're not familiar with CSS? Here is a simple example., but it would be in your best interest to read up on the basics.

HTML Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">

<html>

    <head>
        <meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
        <title>Untitled Page</title>
        <style type="text/css" media="screen"><!--h1  {
    color: #fff;
    background: url("http://www.cee.hw.ac.uk/hipr/images/bur1.gif") no-repeat;
    width: 256px;
    height: 256px;
    display: block;
    
    }
--></style>
    </head>

    <body bgcolor="#ffffff">
        <h1>This is a Test</h1>
    </body>

</html>
yeap its work
BlueM3 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Text overlap image ?
 

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.22550 seconds with 12 queries