Results 1 to 3 of 3

Thread: window size and position :S

  1. #1
    Join Date
    Feb 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default window size and position :S

    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


    Code:
    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.....

  2. #2
    Join Date
    Nov 2006
    Location
    90 miles north of Las Vegas
    Posts
    37
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Can you give a reference to the page? or supply the pages code?

  3. #3
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    remove the size variables (&#37 and make them fixed (i.e. 30px or 400px etc)

    What do you mean "gets messed up"?
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •