You are viewing our Forum Archives. To view or take place in current topics click here.
Making a website help?
Posted:

Making a website help?Posted:

ICR7I
  • Prospect
Status: Offline
Joined: Apr 23, 201410Year Member
Posts: 645
Reputation Power: 25
Status: Offline
Joined: Apr 23, 201410Year Member
Posts: 645
Reputation Power: 25
I have a problem whenever I position an image lets say I choose it relative or absolute. The problem that occurs is I put the image in the top right hand corner of my page then when I preview it in my browser it goes somewhere different on the page which is a pain. Static is exact to the point but I can't change any co ordinates does anybody have any idea. Much appreciated will rep.
#2. Posted:
Larph
  • TTG Addict
Status: Offline
Joined: Oct 01, 201112Year Member
Posts: 2,921
Reputation Power: 162
Status: Offline
Joined: Oct 01, 201112Year Member
Posts: 2,921
Reputation Power: 162
Well, here is what i use to set div's to absolute positions

HTML -

<div id="imageSet" name="imageSet">
<img src="your_image_link" />
</div>

CSS -

#imageSet {
position: absolute;
margin-left: 0px;
margin-right: 0px;
margin-top: 0px;
margin-bottom: 0px;
}

try this and tell me what happens after you test.
#3. Posted:
ICR7I
  • Prospect
Status: Offline
Joined: Apr 23, 201410Year Member
Posts: 645
Reputation Power: 25
Status: Offline
Joined: Apr 23, 201410Year Member
Posts: 645
Reputation Power: 25
DestinyDude wrote Well, here is what i use to set div's to absolute positions

HTML -

<div id="imageSet" name="imageSet">
<img src="your_image_link" />
</div>

CSS -

#imageSet {
position: absolute;
margin-left: 0px;
margin-right: 0px;
margin-top: 0px;
margin-bottom: 0px;
}

try this and tell me what happens after you test.


Thanks mate I tried that and it worked rep to you
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.