Log In · Register

 
 
Closed TopicStart new topic
trouble with div-layering, need help!
xXLoveGoddessXx
post Oct 19 2005, 04:04 PM
Post #1


Senior Member
***

Group: Member
Posts: 37
Joined: Oct 2004
Member No: 56,487





that's the div-layering code, i changed the color into image and this is what it looks like now:


i don't know why, but it doesnt work. am i missing something or doing something wrong?? please help
 
*digital.fragrance*
post Oct 19 2005, 04:18 PM
Post #2





Guest






Okay, what you need to do is make two div layers. One with the picture and one that has all of your content. Then position them so your content div layer is on top of your picture div layer.

To have an image in a div layer, look at this...
CODE
<div align="left"><div style="position:static; margin-top:-94px; margin-left:-10px; overflow:auto; border:0"><img src="URL OF PICTURE HERE">
</div>
 
xXLoveGoddessXx
post Oct 19 2005, 04:30 PM
Post #3


Senior Member
***

Group: Member
Posts: 37
Joined: Oct 2004
Member No: 56,487



i really don't understand. i tried, but the image comes out on top of the content in one div layer
 
*digital.fragrance*
post Oct 19 2005, 04:32 PM
Post #4





Guest






QUOTE(xXLoveGoddessXx @ Oct 19 2005, 4:30 PM)
i really don't understand. i tried, but the image comes out on top of the content in one div layer
*


Okay, use the div layer I gave you, then use this other one:

CODE
<div align="left"><div style="position:static; margin-top:-94px; margin-left:-10px; overflow:auto; border:0">
TYPE YOUR TEXT CONTENT STUFF HERE...........
</div>

play with the margin-top and margin-left numbers and it will position that one on top of the image div layer. Make sure you paste this one after the image div layer.
 
xXLoveGoddessXx
post Oct 19 2005, 04:40 PM
Post #5


Senior Member
***

Group: Member
Posts: 37
Joined: Oct 2004
Member No: 56,487



that does work, but how come the content is under the div layer?
 
*digital.fragrance*
post Oct 19 2005, 04:42 PM
Post #6





Guest






Can you post the codes in your header? Then I can look at them.
 
xXLoveGoddessXx
post Oct 19 2005, 04:44 PM
Post #7


Senior Member
***

Group: Member
Posts: 37
Joined: Oct 2004
Member No: 56,487





that's the code
 
*digital.fragrance*
post Oct 19 2005, 04:47 PM
Post #8





Guest






you don't have anything typed in your second div layer, so nothing is going to show up becuase nothing's there...

Right before the </div> in the second div layer, type something, anything, and then see if it works. Your probably gonna have to mess with the numbers again to get in the right spot.
 
xXLoveGoddessXx
post Oct 20 2005, 04:05 PM
Post #9


Senior Member
***

Group: Member
Posts: 37
Joined: Oct 2004
Member No: 56,487



no...it still doesn't work..
 
*digital.fragrance*
post Oct 20 2005, 04:07 PM
Post #10





Guest






can you post a link to your site? I'd like to look at it.
 
xXLoveGoddessXx
post Oct 20 2005, 04:11 PM
Post #11


Senior Member
***

Group: Member
Posts: 37
Joined: Oct 2004
Member No: 56,487



My Webpage
 
xXLoveGoddessXx
post Oct 20 2005, 04:40 PM
Post #12


Senior Member
***

Group: Member
Posts: 37
Joined: Oct 2004
Member No: 56,487



My Webpage

that's my webpage
 
Latina Babii
post Oct 20 2005, 04:54 PM
Post #13


Proud to be an Anime Otaku
*****

Group: Member
Posts: 667
Joined: Jul 2005
Member No: 165,004



If it's appearing below the image doesn't that mean you need to put the postion? SOmething like that.

Oh and try not to double post please.
 
Retrogressive
post Oct 20 2005, 05:10 PM
Post #14


Don't wake ghostie.
*******

Group: Official Member
Posts: 3,546
Joined: Jan 2004
Member No: 2,405



This is my exact same problem. What are you supposed to TYPE IN??
 
*digital.fragrance*
post Oct 20 2005, 05:39 PM
Post #15





Guest






QUOTE(Retrogressive @ Oct 20 2005, 5:10 PM)
This is my exact same problem. What are you supposed to TYPE IN??
*


There are attributes in the div layer code such us "margin-top: 0px; margin-left: 0px;" These codes position the div layer.

Now, xXLoveGoddessXx, I didn't see the div layers on your page, but other than positioning, I don't know what could be wrong. It's possibel that your content div layer is off of the page.
 
talcumpowder
post Oct 20 2005, 07:23 PM
Post #16


You'll find me in your dreams.
*******

Group: Official Member
Posts: 8,536
Joined: Mar 2005
Member No: 114,010



..... If it's for content, you put it at the bottom of your header and DON'T CLOSE IT! For everything else, close it.
But then you put this in webstats, </div>, to close the content layer. Make sure everything you want under the content is ABOVE THE </DIV>, otherwise it shows up after.
 
xXLoveGoddessXx
post Oct 21 2005, 06:24 PM
Post #17


Senior Member
***

Group: Member
Posts: 37
Joined: Oct 2004
Member No: 56,487



okie, thank u very much for everyone's help!!!!!!
 
Kenado
post Oct 21 2005, 06:28 PM
Post #18


Senior Member
*******

Group: Member
Posts: 3,551
Joined: Feb 2005
Member No: 102,857



Topic Closed.
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: