Log in

View Full Version : window size and position :S



runnerjp
02-22-2007, 11:21 AM
Hi,

I'm facing problems setting up CSS for simple layout:

What I have now works ok, when working in full screen, but when I make window smaller, all the content seems to get messed up... can any 1 help fix this



div#logo
{
position:absolute;
left:20%;
top: 5%;

}
div#register
{
position:absolute;
left:81%;
top: 2%;
}
div#content
{
position:absolute;
left:20%;
top: 50%;
}
div#trainingpic
{
position:absolute;
left:4%;
top: 2%;
}
div#info
{
position:absolute;
left:81%;
top: 5%;
}
div#login
{
position:absolute;
left:82%;
top: 8%;
}
div#menu
{
position:absolute;
left:2%;
top: 27%;
} that is what i have got for my css layout.....

Tristan S.S.
02-23-2007, 08:30 PM
Can you give a reference to the page? or supply the pages code?

BLiZZaRD
02-23-2007, 09:37 PM
remove the size variables (%) and make them fixed (i.e. 30px or 400px etc)

What do you mean "gets messed up"?