Log In · Register

 
 
Closed TopicStart new topic
Tables, Can someone help?
h3AV3N3Y3Z
post Aug 26 2004, 07:24 PM
Post #1


Member
**

Group: Member
Posts: 22
Joined: Aug 2004
Member No: 42,972



You know those div tables on those layouts where you can put down anything you want like your profile and stuff? When I put on my layout, the image always overlaps the div stubborn.gif Does anyone know how to make the table overlap the image?
 
DrNick311
post Aug 26 2004, 08:52 PM
Post #2


.
******

Group: Member
Posts: 1,488
Joined: Feb 2004
Member No: 3,625



Use Z-indexes.

For example, say this is the DIV for your image:

CODE
<!-- begin code provided by createblog.com -->

<div style="margin-left: 300px; margin-top: 200px; width: 200px; height: 100px;">
<img src="">
</div>

<!-- end code provided by createblog.com -->


Add a Z-index to it:
CODE
<!-- begin code provided by createblog.com -->

<div style="margin-left: 300px; margin-top: 200px; width: 200px; height: 100px; z-index: 1;">
<img src="">
</div>

<!-- end code provided by createblog.com -->


Now, the higher the Z-index, the closest to the front the div will be. So for your profile div, just add "z-index: 2;" and you should be OK.
 

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