![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
So Fucking Banned
Join Date: Oct 2007
Posts: 393
|
Who's good with CSS layout positioning - help
<div style="position:absolute;left:65px;top:60px;height :400px;">
i'am using the above code to position an image on a page... it's always out of position when you look at it in different resolutions. for Example.. in 1024x768 I can line it up ok.. then if you look at the page in a higher resolution it's all off position... wtf? ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Jan 2006
Location: Gringo in Puerto Rico
Posts: 4,200
|
Its because you probably don't have a "container" for it. You need to have that code inside some other div tag that has something like
Code:
position: relative; width: 500px; height: 600px; so in the end you'll have code thats like this (if your are putting all yoru css code inline: Code:
<div style="position:relative;width:600px;height:600px;"> <div style="position:absolute;left:65px;top:60px;height :400px;"> </div> </div> |
![]() |
![]() ![]() ![]() ![]() ![]() |