What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » some HTML/CSS help.

some HTML/CSS help.
Author: Message:
Ash_
Senior Member
****

Avatar

Posts: 638
Reputation: 31
35 / Male / –
Joined: Aug 2004
O.P. some HTML/CSS help.
ok, how do i put an image Behind some text?

like maybe a div layer with an img src. then end the div, and write some text.

i tried that but it still moves the text down after the image.

code:
<div class="title"><img src='http://shoutbox.menthix.net/images/mp3me/on.gif'></div>
hello


does anyone know how to do this?

thanks in advance.
[Image: jeansiger5.jpg]
03-01-2005 07:03 AM
Profile PM Find Quote Report
Ahmad
Senior Member
****

Avatar
@hmad

Posts: 526
Reputation: 27
40 / Male / –
Joined: Dec 2004
RE: some HTML/CSS help.
Add these to .title ..e.g:
code:
.title {
  background-image:url(images/mp3me/on.gif);
  background-repeat:no-repeat;
}

Then use <div class="title">hello</div>
03-01-2005 07:07 AM
Profile PM Web Find Quote Report
Ash_
Senior Member
****

Avatar

Posts: 638
Reputation: 31
35 / Male / –
Joined: Aug 2004
O.P. RE: some HTML/CSS help.
thank you Very much
[Image: jeansiger5.jpg]
03-01-2005 07:26 AM
Profile PM Find Quote Report
Ahmad
Senior Member
****

Avatar
@hmad

Posts: 526
Reputation: 27
40 / Male / –
Joined: Dec 2004
RE: some HTML/CSS help.
Very welcome :)
03-01-2005 07:26 AM
Profile PM Web Find Quote Report
-dt-
Scripting Contest Winner
*****

Avatar
;o

Posts: 1819
Reputation: 74
35 / Male / Flag
Joined: Mar 2004
RE: some HTML/CSS help.
or you could use css layers if you dont want the image to be trapped in the same div as the text by using this for the background 

code:
z-index:0;


and just use
code:
z-index:1;

for the text

This post was edited on 03-01-2005 at 01:22 PM by -dt-.
[Image: dt2.0v2.png]      Happy Birthday, WDZ
03-01-2005 09:33 AM
Profile PM Web Find Quote Report
fluffy_lobster
Veteran Member
*****

Avatar
Posts: -2

Posts: 1391
Reputation: 23
36 / Male / Flag
Joined: Nov 2002
RE: some HTML/CSS help.
* fluffy_lobster vomits all over css absolute positioning

Never unless you really have to.
03-01-2005 01:48 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On