Topic: Background Image only appearing where there is text (or spaces) (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=28190" title="Pages that link to Topic: Background Image only appearing where there is text (or spaces) (Page 1 of 1)" rel="nofollow" >Topic: Background Image only appearing where there is text (or spaces) <span class="small">(Page 1 of 1)</span>\

 
Stackelberg
Neurotic (0) Inmate
Newly admitted

From:
Insane since: Jul 2006

posted posted 07-08-2006 20:43

Hi all,
I've searched around on this forum but can't find the answer to my question. With

code:
#splashtitle   
	{
	background-image:url(../Images/Splash/Title.gif);
	font-family: Verdana, Geneva, Arial, sans-serif;
	margin-left: -350px;
	position: absolute;
	top: -100px;
	left: 50%;
	width: 700px;
	height: 191;
	z-index:15;
	overflow: visible;
	visibility: visible;
	padding: 0 0 0 0;
	}



The doctype is
<!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

The image is only showing up where I have text. It has the highest Z-index. There are no other layers in the HTML. What is going on? There must be a simple solution - syntax or something.
Thanks!!

DL-44
Lunatic (VI) Inmate

From: under the bed
Insane since: Feb 2000

posted posted 07-08-2006 20:49

have a link?

what type of element is this ID applied to?

Stackelberg
Obsessive-Compulsive (I) Inmate

From:
Insane since: Jul 2006

posted posted 07-08-2006 22:03

www.fusedeffects.com/Test/index.php
The text in that gif should be fully visible.
Any ideas?
Thanks..

divinechaos
Nervous Wreck (II) Inmate

From:
Insane since: Dec 2001

posted posted 07-08-2006 22:38

You're missing a "px" on your height definitions. I think that should fix it.

- DC

reisio
Paranoid (IV) Inmate

From: Florida
Insane since: Mar 2005

posted posted 07-08-2006 22:55

http://reisio.com/temp/stackelberg/

Stackelberg
Obsessive-Compulsive (I) Inmate

From:
Insane since: Jul 2006

posted posted 07-09-2006 00:47

Fabulous! Thanks so much guys I knew it was something basic like that.

DL-44
Lunatic (VI) Inmate

From: under the bed
Insane since: Feb 2000

posted posted 07-09-2006 05:35

Always remember to validate your code before trouble shooting!

Validator would have caught that nice and easy. My eyes might have caught it if the code block text wasn't so damn small here

Steve
Maniac (V) Inmate

From: Boston, MA, USA
Insane since: Apr 2000

posted posted 07-09-2006 14:26

"enter julie's clothes"

I wonder whose dreams that would make come true...

Stackelberg
Nervous Wreck (II) Inmate

From:
Insane since: Jul 2006

posted posted 07-09-2006 18:44

lol



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu