Log In · Register

 
 
Closed TopicStart new topic
div positioning
mezzanine
post May 20 2005, 04:32 PM
Post #1


i am displaced.
****

Group: Member
Posts: 100
Joined: Aug 2004
Member No: 44,860



does anyone know how to position things in a way that they'll move with the screen... when i resize the window it puts scroll bars because the div layers don't move with the screen...

can anyone help me? -->XANGA<--
 
hi-C
post May 20 2005, 06:30 PM
Post #2


Amberific.
********

Group: Staff Alumni
Posts: 12,913
Joined: Jul 2004
Member No: 29,772



Hmmm...if anything, it might be because you've defined a position in the div tag, but I'm not sure.

You'll have to post your codes.
 
nymph
post May 22 2005, 08:08 AM
Post #3


faerie
**

Group: Member
Posts: 23
Joined: Feb 2004
Member No: 2,762



you have to specify them in percentages then...instead of pixels
 
YourSuperior
post May 22 2005, 11:09 AM
Post #4


;)
*******

Group: Staff Alumni
Posts: 9,573
Joined: Feb 2005
Member No: 99,124



QUOTE
does anyone know how to position things in a way that they'll move with the screen... when i resize the window it puts scroll bars because the div layers don't move with the screen...

can anyone help me? -->XANGA<--

Try editing your div height and width..
 
*mona lisa*
post May 22 2005, 05:24 PM
Post #5





Guest






QUOTE(alvin_ward155 @ May 22 2005, 12:09 PM)
Try editing your div height and width..
*

That won't do anything....

Percentages as nymph stated is your best option.
 
jeri-kay
post May 22 2005, 05:57 PM
Post #6


Jeri-KAY
**

Group: Member
Posts: 21
Joined: May 2005
Member No: 142,531



QUOTE(gotnoheart @ May 22 2005, 5:24 PM)
That won't do anything....

Percentages as nymph stated is your best option.
*

ditto. wut he said.
 
mezzanine
post May 24 2005, 06:03 PM
Post #7


i am displaced.
****

Group: Member
Posts: 100
Joined: Aug 2004
Member No: 44,860



how do you specify them in percentages? like this...?

margin-left = 85%; <-- would that work?
 
*mona lisa*
post May 26 2005, 07:29 PM
Post #8





Guest






I think it should. Try it.
 

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