Results 1 to 8 of 8

Thread: Problem with layer's in page!

  1. #1
    Join Date
    Jan 2009
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Problem with layer's in page!

    Hello!
    I have a problem with my site. I`ve build a site in macromedia cs2. Site looks like this http://isniqi.altervista.org/prova/
    I have build this site all will layers (i mean insert>layot objects>layers) the reason is because i can move this layers in every part of page like an image. Its to easy to build great websites. But i have a problem because in my browser or in my dimensions of screen looks in center this web. But in others users or pc the site is not in center of page/browsers. It depends from the dimensions of screen to others pc. Can somebody tell me how to fix problem. To set the web in center to every one because it looks horrbile!

    Thnx!

  2. #2
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Try adding:
    Code:
    margin: 0 auto;
    To the container element, or:
    Code:
    margin-left: 45%;
    Jeremy | jfein.net

  3. #3
    Join Date
    Jan 2009
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    thnx for reply!

    I have try this but it doesnt work =(

  4. #4
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Which div have you tried applying this effect to hologram?
    Jeremy | jfein.net

  5. #5
    Join Date
    Jan 2009
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    in every div ?? because if i apply it in just one div, just selected div moved!

  6. #6
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    I tried to remake it the best I could - it doesn't use layers anymore. If you want me to remake the nav to I would need to see how they show up.
    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
    <html xmlns="http://www.w3.org/1999/xhtml"> 
    <head> 
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> 
    <title>Untitled Document</title> 
    <style type="text/css"> 
    * {
    padding: 5px;
    }
    body {
    margin: 40px 0 0 0;
    font-family: Verdana
    }
    #container {
    margin: 0 auto;
    width: 45%;
    height: auto;
    padding-bottom: 50px;
    background-color: #CCC;
    }
    #header {
    margin: 10px auto;
    width: 95.3%;
    height: 115px;
    background-color: #FFF;
    color: #000;
    font-size: 35px;
    font-weight: bold;
    padding-top: 10px;
    }
    </style> 
    </head> 
     
    <body> 
    <div id="container">
    <div id="header">
    Your name here
    </div>
    <div id="content">
    <img src="http://www.dynamicdrive.com/forums/designfiles/logo.gif" width="297" height="42" />
    </div>
    </div>
    </body> 
    </html>
    Jeremy | jfein.net

  7. #7
    Join Date
    Jan 2009
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Oh great it works. But can u tell me how can u convert all layers i`ve used in my site to make looks like this. What should i change in css?

  8. #8
    Join Date
    Jan 2009
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    another reply?

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
  •