|
-
Feb 22nd, 2003, 08:48 AM
#1
Thread Starter
Fanatic Member
positioning div layers..
I want to use four <div> in my page but dont know how to give an" id "for each div..help me please.
..my second question is about positioning an image..ok I can place a background image but I want to use another (second) but not background image...how can I locate the second image in CSS...
thanks..
-
Feb 22nd, 2003, 09:31 AM
#2
Re: positioning div layers..
Originally posted by merhaba
I want to use four <div> in my page but dont know how to give an" id "for each div..help me please.
<div id="kefhallak">
..my second question is about positioning an image..ok I can place a background image but I want to use another (second) but not background image...how can I locate the second image in CSS...
thanks..
You'll have to be a little more clear with this one.
-
Feb 22nd, 2003, 11:43 AM
#3
Thread Starter
Fanatic Member
two images
I have two images...I use one of them as a "background-image" and I want to place the second image onto the first one...we use position:100,200; to locate the background image..can we do the same for the second image..how can we place the sdecond image anywhere of our pge? can we use position:50,100; for any image? <img src="aaa.gif"--(50,80 ------>like this..
-
Feb 22nd, 2003, 01:47 PM
#4
Lively Member
<div style="position:absolute;left:50;top:80">
if you choose not to decide you still have made a choice!
RUSH rocks!
-
Feb 22nd, 2003, 01:48 PM
#5
Frenzied Member
Yes, try this:
Code:
<img alt="" src="image.png" style="position: absolute; top: 50px; left: 100px;" />
-
Feb 22nd, 2003, 01:50 PM
#6
Frenzied Member
Whoops Joe beat me! Remember you need a unit though, otherwise it's likely to only work in IE, so your exampe should be this
Code:
<div style="position:absolute;left:50px;top:80px">
-
Feb 22nd, 2003, 02:33 PM
#7
Lively Member
if you choose not to decide you still have made a choice!
RUSH rocks!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|