Log In · Register

 
 
Closed TopicStart new topic
how can imove my div bg img to the corner?
ako si simon
post May 26 2005, 09:39 PM
Post #1


Senior Member
****

Group: Member
Posts: 148
Joined: Apr 2004
Member No: 14,145



how do i move my div bg img. to the corner?
 
Pulchritude
post May 26 2005, 09:47 PM
Post #2


Tu es laid.
*******

Group: Official Member
Posts: 3,913
Joined: Feb 2005
Member No: 106,675



you have to play around with the margin top and margin left on your div. and it would be easier if we saw your code. blink.gif
 
ako si simon
post May 26 2005, 09:52 PM
Post #3


Senior Member
****

Group: Member
Posts: 148
Joined: Apr 2004
Member No: 14,145



[/CODEBOX]<textarea rows=50 cols=50>
<IMG SRC='http://img.photobucket.com/albums/v233/emok1d/a2.jpg' width=380 height=500 BORDER='0' USEMAP='#marc'>
</div>


<!--Blog holder-->
<div style="position:static; float: left; margin-left: -50px; margin-top: -90px; height: 450px; width: 300px; border: 0px solid #000000;background: none; overflow-x: hidden;
overflow-y: scroll;
">

<!--Javascript pop up for credits-->
<script language= "javaScript">
var newwindow;
function get(url)
{
newwindow=window.open(url,'name','height=380,width=500 location=no, left=400, top=0, menubar=yes, status=yes, toolbar=no, scrollbars=yes, resizable=no');
if (window.focus) {newwindow.focus()}
}

</script>

</textarea>
[CODEBOX]
thats the code i use when i div
 
Pulchritude
post May 26 2005, 10:24 PM
Post #4


Tu es laid.
*******

Group: Official Member
Posts: 3,913
Joined: Feb 2005
Member No: 106,675



uhh wheres you div for the image tag? To add a div to the image tag it would look like this

Then you replace the 0 with your own numbers to postion it.

o yea and codebox looks like this
CODE
[CODEBOX]CODE GOES HERE[/CODEBOX]
 

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