Log In · Register

 
All black? What am I doing wrong?, My first Div.
ReverseMyCurse
post Jul 13 2007, 04:07 AM
Post #1


Member
**

Group: Member
Posts: 19
Joined: Jul 2007
Member No: 544,954



I have tried making my first Div.
OK; it looks fine in Dreamweaver;
And in preview it looks fine.

But when I place it in the profile it just shows all black.
:/.

Can anyone help?

This is a link to both the HTML file and a TXT showing the DIV + CSS codes.

http://www.fileden.com/files/2007/5/27/111.../Untitled-1.rar

Please tell me if you can fix it?
 
 
Start new topic
Replies
*SinfullySweet*
post Jul 14 2007, 09:12 PM
Post #2





Guest






Why didnt you just put the code into a code box? wink.gif

I can see alot of problems with the coding. There are alot of div layers that arent needed. Also, I see that you have a div covering the ad. That is a no stubborn.gif . Everything is black becuase you have all of the div bg colors set to 000000. That is black.
You should go back to to where you set the div layers, and change the property :background-color:000000 to background-color:_____ what ever so color you desire. Also, your bg image isnt showing up becuase its not placed in the proper area of the codes.

CODE
<div style="left:0; top:166; width: auto;height:auto; position: absolute; z-index:0; background-color:ffffff; background-image: url("http://img.photobucket.com/albums/v707/Shamuki/LAYOUTcopy.gif");>
This code would be alot better for how you want the bg image to be placed.

Okay. So the text isnt showing? Alot of the divs you have placed arent visible because they arent placed right. You should set the left properties to a number of pixels, or if you want the div centered, change the left property of the div to 50%. I didnt spend much time on fixing it. But I got basic things to show up. thumbsup.gif
 

Posts in this topic


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