Log In · Register

 
 
Closed TopicStart new topic
I NEED HELP WITH MY DIV OVERLAY LAYOUT PLZ!
desakatao
post Oct 22 2007, 02:29 PM
Post #1


Senior Member
***

Group: Member
Posts: 57
Joined: Oct 2007
Member No: 583,227



I am making a custom layout for MySpace i position all my images,links,ect. and it looks very good when i view it in my computer ...but.... when i view my page in some one else's computer all my images are in a totally diffrent position wich looks very disorganized and ugly. All my divs are not were i positioned them heres a picture of what my page looks like on my computer and what it is supposed to look like
<BR>

<br>
and this is what my page looks like on someone elses computer
<br>


<br>
please help me ASAP PLEASE!
 
IVIike
post Oct 22 2007, 03:42 PM
Post #2


Hey, I'm Mike
******

Group: Staff Alumni
Posts: 1,272
Joined: May 2006
Member No: 406,241



are you positioning the elements in % or px?
 
desakatao
post Oct 22 2007, 04:06 PM
Post #3


Senior Member
***

Group: Member
Posts: 57
Joined: Oct 2007
Member No: 583,227



QUOTE(IVIike @ Oct 22 2007, 04:42 PM) *
are you positioning the elements in % or px?

yes i positioned all the divs in 50% why? is it wrong?
 
IVIike
post Oct 22 2007, 04:37 PM
Post #4


Hey, I'm Mike
******

Group: Staff Alumni
Posts: 1,272
Joined: May 2006
Member No: 406,241



no, but percents vary by the computer and px will be the same on all screens thumbsup.gif
 
desakatao
post Oct 22 2007, 04:41 PM
Post #5


Senior Member
***

Group: Member
Posts: 57
Joined: Oct 2007
Member No: 583,227



QUOTE(IVIike @ Oct 22 2007, 05:37 PM) *
no, but percents vary by the computer and px will be the same on all screens thumbsup.gif

nice thank you very much im going to give it a try
 
Insurmountable
post Oct 22 2007, 04:58 PM
Post #6


Cornflakes :D
*******

Group: Staff Alumni
Posts: 4,541
Joined: Dec 2005
Member No: 322,923



Well to get it all centered, I really suggest using percent 50% and regular way of positioning things.

 
desakatao
post Oct 22 2007, 05:13 PM
Post #7


Senior Member
***

Group: Member
Posts: 57
Joined: Oct 2007
Member No: 583,227



Ok so "Mike" told me that i have to change the 50% into pixels and this is what i got

wich is much better now...but my div that covers my original myspace page is out of positon and on as you can see i also have the div positioned in "px" not "%". what do i do now?

the setup for the cover looks like this

.cover{
position:absolute;
top:90px;
left:50px;
margin-left:181px;
width:800px;
height:1000px;
z-index:2;
padding:0px;
border:0px solid black;
background-color:000000
}
 
Insurmountable
post Oct 22 2007, 06:23 PM
Post #8


Cornflakes :D
*******

Group: Staff Alumni
Posts: 4,541
Joined: Dec 2005
Member No: 322,923



Change it to this:

.cover{
position:absolute;
top:90px;
left:50%;
margin-left:181px;
width:800px;
height:1000px;
z-index:2;
padding:0px;
border:0px solid black;
background-color:000000
}

then change the margin left to position it just right
 
desakatao
post Oct 22 2007, 07:40 PM
Post #9


Senior Member
***

Group: Member
Posts: 57
Joined: Oct 2007
Member No: 583,227



QUOTE(Insurmountable @ Oct 22 2007, 07:23 PM) *
Change it to this:

.cover{
position:absolute;
top:90px;
left:50%;
margin-left:181px;
width:800px;
height:1000px;
z-index:2;
padding:0px;
border:0px solid black;
background-color:000000
}

then change the margin left to position it just right

thanks bro i got it i switched all my divs to 50% and positioned them man thats alot of calculating but i got it thanks!
 
IVIike
post Oct 22 2007, 08:01 PM
Post #10


Hey, I'm Mike
******

Group: Staff Alumni
Posts: 1,272
Joined: May 2006
Member No: 406,241



alright... sorry I wasn't here to further help you, but my trusty partner Holly took care of you biggrin.gif

Anyway Topic Closed
PM me if you need it re-opened
 

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