CSS Logo position problem

Hello
I have been recently working on a web project. In the project I have a css file Thats suppose to position the logo image.
This is the css code:
/** LOGO */
#logo {
width: 830px;
height: 90px;
margin: 0 auto;
margin-top: 10px;
margin-left: 200px;
background: url(images/img04.jpg) no-repeat left top;
Margin-top moves the logo down and margin-left moves the logo in alignment. The problem is that when I view the
page on different screen sizes margin-left makes the logo image automatically move to the middle of the page.
Instead of staying in the required position.
Can any one help.
Thanks.

Hi Thanks so much for the reply.
I want to add more information.
This is the css:
body {
    margin: 0;
    padding: 0;
    background: url(images/img01.jpg) repeat-x left top;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #66665E;
h1, h2, h3 {
    margin: 0;
    text-transform: uppercase;
    font-family: "Trebuchet MS", Georgia, "Times New Roman", Times, serif;
    font-weight: normal;
    color: #0C95C9;
h1 { font-size: 44px; }
h2 { font-size: 18px; }
h3 { }
p, ul, ol {
    margin-top: 0;
    line-height: 240%;
    text-align: justify;
ul, ol { }
blockquote { }
a { color: #0C95C9; }
a:hover { text-decoration: none; }
a img {
    border: none;
img.left {
    float: left;
    margin: 7px 30px 0 0;
img.right {
    float: right;
    margin: 7px 0 0 30px;
hr { display: none; }
.list1 {
.list1 li {
    float: left;
    line-height: normal;
.list1 li img {
    margin: 0 30px 30px 0;
.list1 li.alt img {
    margin-right: 0;
#wrapper {
/* Header */
#header-wrapper {
#header {
    width: 920px;
    height: 45px;
    margin: 0 auto;
/* Menu */
#menu {
    float: left;
    width: 640px;
    height: 45px;
#menu ul {
    margin: 0;
    padding: 10px 0px 0px 5px;
    list-style: none;
    line-height: normal;
#menu li {
    display: block;
    float: left;
#menu a {
    display: block;
    float: left;
    margin-right: 3px;
    padding: 3px 25px 2px 25px;
    text-decoration: none;
    text-transform: capitalize;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #FFFFFF;
#menu a:hover { text-decoration: underline; }
#menu .current_page_item a {
    height: 20px;
    background: #FEC200 url(images/img02.jpg) repeat-x left top;
    color: #FFFFFF;
#menu .first {
    background: none;
/* Search */
#search {
    float: right;
    width: 250px;
    height: 45px;
#search form {
    float: right;
    margin: 0;
    padding: 12px 30px 0 0;
#search fieldset {
    margin: 0;
    padding: 0;
    border: none;
#search input {
    float: left;
    font: 12px Georgia, "Times New Roman", Times, serif;
    border: none;
#search-text {
    width: 135px;
    height: 18px;
    padding: 3px 0 0 5px;
    border: 1px solid #333333;
    background: #ECF9E4;
    color: #000000;
#search-submit {
    height: 25px;
    margin-left: 10px;
    padding: 1px 10px;
    background: #C0C0C0 url(images/bg_grey.jpg);
    color: #000000;
/* Page */
#page {
    width: 920px;
    margin: 0 auto;
#page-bgtop {
    padding-top: 30px;
    /** LOGO */
#logo {
    width: 920px;
    height: 90px;
    margin: 0 auto;
    background: url(images/img04.jpg) no-repeat left top;
#logo h1, #logo p {
    margin: 0px;
    line-height: normal;
    text-transform: lowercase;
    font-weight: normal;
    color: #FFFFFF;
#logo p {
    text-transform: lowercase;
    font-size: 10px;
#logo h1 {
    padding-top: 54px;
    font-size: 34px;
#logo a {
    text-decoration: none;
    color: #FFFFFF;
/* Content */
#content {
    float: center;
    width: 920px;
    height: 800px;
    padding-top: 0px;
    padding-right: 0px;
/* Post */
.post {
    background: url(images/img07.jpg) repeat-x left bottom;
    margin-bottom: 25px;
.post .title {
    height: 30px;
    color: #549900;
.post .title a {
    text-decoration: none;
    color: #585D60;
.post .date {
.post .meta {
    margin-top: -10px;
    padding: 2px 30px 2px 16px;
    background: url(images/img03.gif) no-repeat left 8px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: normal;
    font-size: 10px;
    color: #66665E;
.post .meta span {
    display: block;
    margin-top: -10px;
.post .meta a { }
.post .entry {
    padding: 10px 0;
.post .links {
    margin: 0 250px 0 0;
    padding: 0 0 0 0px;
.post .links .comments {
.post .links .permalink {
    padding-left: 17px;
/* Sidebar */
#sidebar {
    float: left;
    width: 177px;
    padding-left: 22px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #585D60;
#sidebar ul {
    margin: 0;
    padding: 0;
    list-style: none;
    line-height: normal;
#sidebar li {
    margin-bottom: 30px;
    padding: 0 0 10px 0px;
#sidebar li ul {
#sidebar li li {
    margin: 0;
    padding: 7px 10px 10px 7px;
    background: url(images/img07.jpg) repeat-x left bottom;
#sidebar p {
    margin: 0;
    padding: 0px 10px;
#sidebar h2 {
    height: 26px;
    margin: 0 0 10px 0px;
    padding: 12px 0 2px 7px;
    text-transform: capitalize;
    font-size: 18px;
    font-weight: normal;
    color: #464F54;
#sidebar p {
    line-height: 200%;
#sidebar a {
    text-align: left;
    text-decoration: none;
    font-weight: normal;
    color: #585D60;
/* Calendar */
#calendar {
#calendar caption {
    padding-bottom: 5px;
    font-weight: bold;
#calendar table {
    width: 100%;
    border-collapse: collapse;
    border-bottom: 1px solid #24130F;
    border-left: 1px solid #24130F;
    border-right: 1px solid #24130F;
#calendar thead th {
    padding: 5px 0;
    text-align: center;
    border-top: 1px solid #24130F;
    border-left: 1px solid #24130F;
    background: #24130F;
#calendar tbody td {
    padding: 5px 0;
    text-align: center;
    border-top: 1px solid #24130F;
    border-left: 1px solid #24130F;
    border-bottom: 1px solid #24130F;
#calendar tfoot td {
    padding: 5px;
    border-left: 1px solid #24130F;
    border-bottom: 1px solid #24130F;
#calendar tfoot #next {
    border-top: 1px solid #24130F;
    text-align: right;
#calendar tfoot #prev {
    border-top: 1px solid #24130F;
#calendar .pad {
    border-bottom: 1px solid #24130F;
#calendar #today {
    background: #24130F;
/* Footer */
#footer {
    width: 920px;
    height: 49px;
    margin: 0 auto;
    padding-top: 50px;
#footer-bgcontent {
    margin: 0px;
    padding: 0px;
    height: 99px;
    background: #394144;
#footer p {
    margin: 0;
    text-align: center;
    line-height: normal;
    text-transform: uppercase;
    font-size: 10px;
    color: #FFFFFF;
#footer a {
    color: #E5FFC4;
This is the Mainpage:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Uimodo</title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<link href="../style/style.css" rel="stylesheet" type="text/css" media="screen" />
<script type="text/javascript" src="jquery/jquery-1.4.3.min.js"></script>
</head>
<body>
<div id="wrapper">
    <div id="logo">
  </div>
  <hr />
    <!-- end #logo -->
    <div id="header">
      <div id="menu">
        <ul>
          <li><a href="Vidmin.php" class="first">Home</a></li>
          <li><a href="Other.php">Other</a></li>
        </ul>
      </div>
      <!-- end #menu -->
      <div id="search">
        <form method="get" action="">
          <fieldset>
            <input type="button" id="search-submit" onclick="window.location.href='now.php'" value="UPLOAD NOW" />
          </fieldset>
        </form>
      </div>
      <!-- end #search -->
  </div>
    <!-- end #header -->
    <!-- end #header-wrapper -->
    <div id="page">
    <div id="page-bgtop">
        <div id="content">
          <table width="920" border="0" align="center"  cellpadding="4">
            <tr>
              <td height="42" valign="top"><table width="415" height="41" align="right">
                <tr>
                  <td width="215" height="35" align="center"> </td>
                  <td width="60" align="center"><a href="" target="_blank"><img src="../Logo/fblogo.png" alt="" width="34" height="33" /></a></td>
                  <td width="124"><a href="" target="_blank"><img src="../Logo/twitlogo.png" alt="" width="34" height="33" /></a></td>
                </tr>
              </table></td>
            </tr>
            <tr>
              <td height="72" valign="top" align="center"><table width="859" height="72" border="0">
                <tr>
                  <td width="293" height="49"><div align="center"><font size="5" color="#333333">Signup</font></div></td>
                  <td width="14"> </td>
                  <td width="296"><div align="center"><font size="5" color="#333333">Login</font></div></td>
                </tr>
                <tr>
                  <td height="17"><div align="center" id="register"></div></td>
                  <td> </td>
                  <td><div align="center" id="loginstatus"></div></td>
                </tr>
              </table></td>
            </tr>
            <tr>
              <td height="269" valign="top" align="center"><table width="908" height="291" border="0" align="center" cellpadding="3" bgcolor="#CCCCCC">
                <tr>
                  <td width="401" height="287" align="center" valign="top"><form id="register_form" method="post" action="">
                    <table width="300" height="291" >
                      <tr>
                        <td height="23" colspan="2"> </td>
                        </tr>
                      <tr>
                        <td width="85" height="36"><div align="right"><font color="#333333" size="3" face="Arial, Helvetica, sans-serif">Username :</font> <br />
                          </div></td>
                        <td width="203"><input name="realname" id="realname" type="text" size="30" value='<?Php echo $profile['displayName'];?>'/></td>
                        </tr>
                      <tr>
                        <td height="45"><div align="right"><font color="#333333" size="3" face="Arial, Helvetica, sans-serif">Email :</font> <br />
                          </div></td>
                        <td><div align="left">
                          <input name="email" id="email" type="text" size="30" value='<?Php echo $profile['email'];?>'/>
                          <input name="propic" id="propic" type="hidden" size="30" value='<?Php echo $profile['photo'];?>'/>
                          </div></td>
                        </tr>
                      <tr>
                        <td height="81"><div align="right"><font color="#333333" size="3" face="Arial, Helvetica, sans-serif">Security :</font> <br />
                          </div></td>
                        <td><div align="center"><img src="CaptchaSecurityImages.php?width=150&amp;height=40&amp;characters=8" alt="captcha"/></div>
                          <p>
                            <input name="security_code" id="security_code" type="text" size="30" />
                            </p></td>
                        </tr>
                      <tr>
                        <td height="45"><div align="right"><font color="#333333" size="3" face="Arial, Helvetica, sans-serif">Password:</font> <br />
                          </div></td>
                        <td><div align="left">
                          <input name="password" id="password" type="text" size="30" />
                          </div></td>
                        </tr>
                      <tr>
                        <td height="45"> </td>
                        <td><div align="left">
                          <input type='submit' name="submit" id="submit" value='Sign Up'/>
                          </div></td>
                        </tr>
                      </table>
                    </form></td>
                  <td width="6" align="center"></td>
                  <td width="475" align="center" valign="top"><form method='post' id='login_form'>
                    <table width="300" height="176" >
                      <tr>
                        <td height="19" colspan="2"> </td>
                        </tr>
                      <tr>
                        <td height="36"><div align="right"><font color="#333333" size="3" face="Arial, Helvetica, sans-serif" >Email :</font> <br />
                          </div></td>
                        <td><div align="left">
                          <input name='emailenter' type='text' id='emailenter'  size="25" />
                          </div></td>
                        </tr>
                      <tr>
                        <td height="45"><div align="right"><font color="#333333" size="3" face="Arial, Helvetica, sans-serif">Password :</font> <br />
                          </div></td>
                        <td><div align="left">
                          <input name='passcode' type='password' id='passcode' maxlength='15' size="25" />
                          </div></td>
                        </tr>
                      <tr>
                        <td height="45"> </td>
                        <td><div align="left">
                          <input type='submit' name='submit' value='Login'/>
                          <a href="ForgotPassword.php">Forgot Password?</a></div></td>
                        </tr>
                      </table>
                    </form></td>
                </tr>
              </table></td>
            </tr>
            <tr>
              <td height="23" valign="top" align="center" > </td>
            </tr>
          </table>
</div>
        <!-- end #content -->
        <div style="clear: both;"> </div>
    </div>
    </div>
    <!-- end #page -->
    <div id="footer-bgcontent">
    <div id="footer">
        <p>Copyright (c) . </p></div>
    </div>
    <!-- end #footer -->
</div>
</body>
</html>
Please just focus on the logo div. It suddenly moves to the middle on different screen size etc. Hope you can help.

Similar Messages

  • Css background-position problem

    Hello, I get a problem with this style:
    <style type="text/css" media="screen">
    html {
    margin: 0px;
    padding: 0px;
    height: 100%;
    width: 100%;
    body {
    background-color:#ffffff;
    background-image:url(images/myimage.jpg);
    background-position: center bottom;
    background-repeat:repeat-x;
    </style>
    In ie7 works fine, in firefox 2 the bottom position doesn't
    work...
    Any suggestion ?
    Thanks
    howdy

    Hello, this is the page, simply copy and paste.
    <!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=utf-8" />
    <title>test background</title>
    <style type="text/css" media="screen">
    html {
    margin: 0px;
    padding: 0px;
    height: 100%;
    width: 100%;
    body {
    background-color:#ffffff;
    background-image:url(
    http://img179.imageshack.us/img179/2401/backgroundkc8.jpg);
    background-position: center bottom;
    background-repeat:repeat-x;
    #layer1{
    text-align: center;
    width: 300px;
    margin-right: auto;
    margin-left: auto;
    border: 2px double #003333;
    </style>
    </head>
    <body>
    <div id="layer1">Lorem ipsum dolor sit amet,
    consectetuer adipiscing
    elit. Quisque cursus, justo a tincidunt volutpat, dui orci
    feugiat
    justo, at varius odio est quis turpis. Integer nisl enim,
    condimentum
    et, eleifend et, posuere quis, risus. Nam convallis. Integer
    diam dui,
    accumsan mattis, dignissim at, dictum rutrum, justo. Praesent
    lacinia.
    Cras a diam. Aenean quis elit. Duis mauris erat, aliquet nec,
    malesuada
    laoreet, aliquam sit amet, magna. Ut turpis metus,
    sollicitudin ac,
    fermentum non, pretium eu, augue. Nunc faucibus, leo eu
    pharetra
    ultrices, sem augue ultricies risus, at egestas velit lectus
    ac velit.
    Suspendisse pretium nibh dapibus turpis. Praesent felis mi,
    vestibulum
    eu, pellentesque et, consequat eu, ante. Nulla accumsan enim
    et pede.
    Suspendisse potenti.
    Donec eget nulla. Proin et est. Integer volutpat, dolor
    scelerisque
    bibendum egestas, lacus dui venenatis odio, vitae varius
    massa eros sit
    amet ligula. Curabitur tellus. Curabitur ultricies volutpat
    tellus. In
    sodales. Duis cursus mi eu dui placerat porta. Mauris laoreet
    turpis at
    nunc. Vivamus volutpat, metus dignissim accumsan hendrerit,
    turpis
    turpis aliquet nulla, non viverra dui dui quis quam. Mauris
    sem nunc,
    laoreet in, elementum vitae, tempor a, libero. Cras ac turpis
    sit amet
    risus cursus ultrices. Sed id quam.
    Nulla tortor ligula, adipiscing nec, ornare eu, gravida in,
    justo. Sed
    elementum vestibulum lectus. Mauris lectus mauris, convallis
    nec,
    posuere quis, lacinia at, felis. Vestibulum ante ipsum primis
    in
    faucibus orci luctus et ultrices posuere cubilia Curae;
    Aenean cursus
    quam eget dui. Maecenas sapien. Aenean pellentesque lobortis
    mi. Quisque
    tempor ipsum in libero. Pellentesque habitant morbi tristique
    senectus
    et netus et malesuada fames ac turpis egestas. Class aptent
    taciti
    sociosqu ad litora torquent per conubia nostra, per inceptos
    himenaeos.
    Quisque lacus tellus, ornare quis, euismod et, lacinia sed,
    justo. Proin
    auctor nisi sed tortor. Fusce in justo et nisl fermentum
    vehicula.
    Quisque urna felis, lacinia at, viverra in, fermentum ut,
    lacus. Duis
    tempus. Morbi bibendum libero vitae diam faucibus placerat.
    Praesent eu sapien. Sed ut velit quis magna lobortis
    malesuada.
    Phasellus dignissim risus ac est. Pellentesque semper sem.
    Donec porta
    nulla nec quam. Pellentesque aliquet risus id quam. Proin
    tincidunt erat
    nec nunc. Praesent euismod fringilla ipsum. Donec ornare.
    Vestibulum
    ante ipsum primis in faucibus orci luctus et ultrices posuere
    cubilia
    Curae; Sed leo.
    Proin non nisi non neque porta tempus. Proin varius velit eu
    sapien.
    Pellentesque pulvinar arcu id ante. Nunc eu diam. Phasellus
    euismod,
    felis in scelerisque pharetra, diam augue eleifend mi, a
    rutrum mauris
    arcu nec orci. Proin sed erat. Pellentesque et libero.
    Aliquam ante
    velit, ultrices ut, fermentum ac, cursus ut, est. Etiam vitae
    nisl ac
    metus cursus viverra. Proin non felis. Donec massa. Nullam
    quam lectus,
    pulvinar eget, condimentum at, tristique in, quam. Proin
    vehicula
    elementum diam. Proin sapien. Praesent suscipit, lorem at
    dapibus
    fringilla, orci elit facilisis lacus, at dictum augue velit
    quis enim.
    Mauris eu mauris. Aliquam rhoncus fermentum pede. Vestibulum
    gravida
    vulputate mauris.
    Pellentesque consectetuer. Cras tellus justo, iaculis vitae,
    semper at,
    scelerisque porta, tortor. Pellentesque at mi sed tellus
    pellentesque
    ultricies. In quis pede. Integer vel tortor at dui elementum
    suscipit.
    Praesent interdum posuere odio. Integer mollis mattis ipsum.
    Duis id
    metus ut nulla molestie sagittis. Suspendisse faucibus urna
    vel metus.
    Sed bibendum, dolor sit amet rhoncus rutrum, lorem turpis
    pharetra
    tortor, quis viverra neque lorem eget massa. Lorem ipsum
    dolor sit amet,
    consectetuer adipiscing elit. Suspendisse vestibulum arcu
    vitae odio.
    Fusce enim lacus, porttitor nec, scelerisque non, viverra eu,
    enim. Sed
    mauris. In hac habitasse platea dictumst. Duis porta mauris
    quis orci.
    Donec suscipit turpis eu dui egestas suscipit. Suspendisse
    potenti. Cum
    sociis natoque penatibus et magnis dis parturient montes,
    nascetur
    ridiculus mus. In hac habitasse platea dictumst.
    Cras in arcu a mi iaculis ultricies. Pellentesque sed lorem
    at sem
    euismod blandit. Nullam pede lacus, interdum eu, aliquam a,
    pretium vel,
    sem. Pellentesque fringilla leo feugiat nibh. Cras non enim.
    Donec
    luctus ante vel diam. Mauris volutpat sapien eget nunc. Donec
    nec lectus
    nec leo iaculis fringilla. Sed felis magna, cursus et,
    hendrerit sit
    amet, pretium at, sapien. Vivamus ornare neque facilisis
    arcu. Vivamus
    nisi leo, varius ac, sodales ut, dapibus eget, eros.
    </div>
    </body>
    </html>

  • Centering ap div position problem

    Hi people, I'm new to dreamweaver and have what seems to be a basic problem but one that I can't fix, even after looking on the forums and web.
    My problem is when I go into design mode I can drag my "ap divs" around so they are in the centre of my screen (webpage) and nicely lined up, however once I test the website in any web-browser they are no longer centered and seem to reposition themselves at random. I've included some screen-shots so you can see what I mean.
    Website in design view
    Website in webbrowser
    Here is my code so you can look at it and spot my mistakes.
    <title>index</title>
    </head>
    <style type="text/css" >
    body
    background-image:url('background.png');
    background-repeat:no-repeat;
    background-position:50% -2%;
    background-color:#D7D7D7;
    </style>
    <style type="text/css">
    #apDiv1 {
              position:absolute;
              width:578px;
              height:57px;
              z-index:1;
              left: 535px;
              top: 1526px;
              overflow: hidden;
              background-color: #transparent;
              color: #F90;
    </style>
    <style type="text/css">
    #apDiv2 {
              position:absolute;
              width:937px;
              height:288px;
              z-index:1;
              left: 360px;
              top: 14px;
              overflow: hidden;
              background-color: #transparent;
              color: #F90;
    </style>
    <div align="center" id="apDiv1">This page was created by me on 28th Decmber 2099. Updated - 29th December 2099. </div>
    <div align="center" id="apDiv2"><img src="banner.png" width="928" height="284" /></div>
    </html>
    If you can see the solution to my problem or if there is another/better way of centering text/banners using ap divs, then please let me know. Thanks in advance.

    The biggest mistake that those new to Dreamweaver make is using Absolutely Positioned <divs>.
    Why, because in most instances they will 'restrict' your construction. By their nature being Absolutely Positioned they do NOT move away from the co-ordinates that you give them. What you are seeing is the background image moving, its an illusion.
    I would never advise anyone to use AP positioning unless they have a great deal of experience in positioning.
    One way to control AP <divs> is to surround them in a 'wrapper' <div> (see code below)
    <div id="wrapper">
    <div align="center" id="apDiv1">This page was created by me on 28th Decmber 2099. Updated - 29th December 2099. </div>
    <div align="center" id="apDiv2"><img src="banner.png" width="928" height="284" /></div>
    </div><!-- end wrapper -->
    Then use css to make the wrappers position 'relative' and to center it horizontally using margin: 0 auto (see below)
    #wrapper {
    position: relative;
    width: 578px;
    margin: 0 auto;
    Your AP <divs> will now take their co-ordinates from the top/left of the 'wrapper' <div>
    So alter your left positioning to 0 in your apDiv1 and apDiv2 (see below)
    #apDiv1 {
              position:absolute;
              width:578px;
              height:57px;
              z-index:1;
              left: 0;
              top: 1526px;
              overflow: hidden;
              background-color: #transparent;
              color: #F90;
    #apDiv2 {
              position:absolute;
              width:937px;
              height:288px;
              z-index:1;
              left: 0;
              top: 14px;
              overflow: hidden;
              background-color: #transparent;
              color: #F90;
    As the default position is left you don't really need to declare it but it does no harm if you do.

  • How to emulate CSS fixed position in Flex 3

    Does anyone know how to emulate CSS fixed positioning in Flex 3?
    Canvas (absolute layout) uses coordinates same as HTML/CSS absolute positioning.
    How do I achieve fixed positioning where the panel is taken out of the flow and positioned relative to the application chrome?  (similiar to applicationcontrolbar, but not exactly)
    Someone please tell me if it is possible and some ideas how to achieve.
    Mike

    do not use the forum as marketing place for you site. if you want to share the content with SDN users, you have the blog area, wiki, article area.
    raja

  • Change the logo position

    I have copied the script  QM_INSP_RESULT into ZSCRIPT in this Zscript
    I Want to change the logo position in the main window..
    Please help me on this how to change the position of the logo...
    Thanks in advance...
    Dasaradh

    Hi,
    you can position image using program RSTXLDMC,
    instead of going for se78 ,where you don't have facility
    for postioning your image
    These are the steps to be followed for uploading graphics in R/3 system
    1. First save the file as BMP
    2. Open the BMP file in IMaging (Goto -> Programs -> Accessories -> Imaging) and
    make it Zoom as 100% and save as *.TIFF
    3. Open SE38 and execute program RSTXLDMC
    4. Give your TIFF file path name
    5. Select Bcol (for Color)
    6. TEXT ID will be ZHEX-MACRO-*.
    7. Inplace of * write your own logo name (ZCOMPANYLOGO)
    8. Execute the program
    9. Now Goto SE71 create your ZFORM
    10. Create logo window
    11. Goto text element of logo window
    or
    In 4.6x :-
    1. Goto SE71 Change the mode to GRAPHICAL
    2. Choose the Graph Tabstrips
    3. Now type in some name for the LOGO WINDOW
    4. Press the IMPORT BUTTON and then IMPORT the BMP file from your DESKTOP
    5. The code will be written automatically. You just need to drag and drop wherever you want
    the graphics to be.
    Please note that in 4.6c onwards, you can also used Windows Bitmap file ( .BMP).
    If you find it useful, please reward me for the same.
    Regards
    Nilesh

  • CSS sticky position

    I'm trying to create a navigation bar that is initially down the page and as the user scrolls the navigation bar remains pinned to the top of the browser. An example are shown here, in a CSS demo http://demo.hongkiat.com/css-sticky-position/index2.html and then here is a complete website that uses this: http://albanyrisk.com/
    On the second example (albanyrisk.com) the navigation bar initially seems pinned to the footer, and then moves to the header when scrolling – ideally, this is the effect I'm trying to achieve.
    Any help greatly appreciated!
    Thanks
    Steve

    Hi,
    Try this tutorial: http://www.youtube.com/watch?v=c-SD489AGa8
    Abhishek

  • CSS positioning problem in IE 6 and earlier only

    Hello Forum Amigos,
    This page has a problem in IE 6 which I cannot figure out.
    Any help would be
    much appreciated!
    http://fuentek.com/sites/GRC/index.html
    If you look at the page with any newer browser, the section
    with the heading
    "What We Offer" - a <div> with the ID "mainContent" -
    displays at the top of
    the middle column, where it belongs.
    In IE 6, it displays far down on the page, still in the
    middle column, but
    vertically just after the end of the content in the right
    column.
    Here's a screenshot of it in IE 6:
    http://ayersvirtual.com/Screenshot_GRC_IE6.gif
    Thanks very much in advance for any help,
    Patty Ayers | www.WebDevBiz.com
    Free Articles on the Business of Web Development
    Web Design Contract, Estimate Request Form, Estimate
    Worksheet

    I didn't think I could say that it wasn't my site any more
    times than I
    already had! :-)
    Patty Ayers | www.WebDevBiz.com
    Free Articles on the Business of Web Development
    Web Design Contract, Estimate Request Form, Estimate
    Worksheet
    "Murray *ACE*" <[email protected]> wrote
    in message
    news:[email protected]...
    > I'm relieved!
    >
    > --
    > Murray --- ICQ 71997575
    > Adobe Community Expert
    > (If you *MUST* email me, don't LAUGH when you do so!)
    > ==================
    >
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    > ==================
    >
    >
    > "P@tty Ayers ~ACE"
    <[email protected]> wrote in message
    > news:[email protected]...
    >> Yes, and if it were my site, it would be a lot
    different. :-)
    >>
    >> I really appreciate your help.
    >>
    >> --
    >> Patty Ayers | www.WebDevBiz.com
    >> Free Articles on the Business of Web Development
    >> Web Design Contract, Estimate Request Form, Estimate
    Worksheet
    >> --
    >>
    >> "Murray *ACE*"
    <[email protected]> wrote in message
    >> news:[email protected]...
    >>> It's minorish... (and amateurish, too!) 8)
    >>>
    >>> --
    >>> Murray --- ICQ 71997575
    >>> Adobe Community Expert
    >>> (If you *MUST* email me, don't LAUGH when you do
    so!)
    >>> ==================
    >>>
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >>>
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >>> ==================
    >>>
    >>>
    >>> "P@tty Ayers ~ACE"
    <[email protected]> wrote in
    >>> message
    news:[email protected]...
    >>>> Ok, I can't see that in my screenshot so
    don't know how bad it looks.
    >>>> If it's minorish, it may be acceptable for
    IE6. Unless you're
    >>>> suggesting a fix..?
    >>>>
    >>>> --
    >>>> Patty Ayers | www.WebDevBiz.com
    >>>> Free Articles on the Business of Web
    Development
    >>>> Web Design Contract, Estimate Request Form,
    Estimate Worksheet
    >>>> --
    >>>>
    >>>>
    >>>> "Murray *ACE*"
    <[email protected]> wrote in message
    >>>> news:[email protected]...
    >>>>> Looks better to me in IE6 now. I note
    that the content container is
    >>>>> still just a few px wider than the top
    background image - I can see
    >>>>> the background color peeking out past
    the right edge of the rounded
    >>>>> corner image....
    >>>>>
    >>>>> --
    >>>>> Murray --- ICQ 71997575
    >>>>> Adobe Community Expert
    >>>>> (If you *MUST* email me, don't LAUGH
    when you do so!)
    >>>>> ==================
    >>>>>
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >>>>>
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >>>>> ==================
    >>>>>
    >>>>>
    >>>>> "P@tty Ayers ~ACE"
    <[email protected]> wrote in
    >>>>> message
    news:[email protected]...
    >>>>>> I've done what you suggested and
    uploaded it, Murray - do you have IE
    >>>>>> 6 to check it, by any chance?
    >>>>>>
    >>>>>> --
    >>>>>> Patty Ayers | www.WebDevBiz.com
    >>>>>> Free Articles on the Business of Web
    Development
    >>>>>> Web Design Contract, Estimate
    Request Form, Estimate Worksheet
    >>>>>> --
    >>>>>>
    >>>>>> "P@tty Ayers ~ACE"
    <[email protected]> wrote in
    >>>>>> message
    news:[email protected]...
    >>>>>>> Hi Murray - I wouldn't have
    built the page this way either. I'll fix
    >>>>>>> the Library item muy pronto.
    >>>>>>>
    >>>>>>> And I'm about to try your
    suggestion. Thank you, I really appreciate
    >>>>>>> it.
    >>>>>>>
    >>>>>>> --
    >>>>>>> Patty Ayers | www.WebDevBiz.com
    >>>>>>> Free Articles on the Business of
    Web Development
    >>>>>>> Web Design Contract, Estimate
    Request Form, Estimate Worksheet
    >>>>>>> --
    >>>>>>>
    >>>>>>> "Murray *ACE*"
    <[email protected]> wrote in message
    >>>>>>>
    news:[email protected]...
    >>>>>>>> You have a link to a
    stylesheet in your Library item, you know?
    >>>>>>>>
    >>>>>>>> I wouldn't have built the
    page that way.
    >>>>>>>>
    >>>>>>>> I would have made
    div#mainContent be the full width (no margin),
    >>>>>>>> and have it contain both the
    content and the sidebar, with each of
    >>>>>>>> them floated left. I just
    think it's easier to control things that
    >>>>>>>> way. But nevermind...
    >>>>>>>>
    >>>>>>>> What happens if you reduce
    the right margin on the div#mainContent
    >>>>>>>> by 5px (and remove the
    z-index which is unsuitable here)?
    >>>>>>>>
    >>>>>>>> --
    >>>>>>>> Murray --- ICQ 71997575
    >>>>>>>> Adobe Community Expert
    >>>>>>>> (If you *MUST* email me,
    don't LAUGH when you do so!)
    >>>>>>>> ==================
    >>>>>>>>
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >>>>>>>>
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >>>>>>>> ==================
    >>>>>>>>
    >>>>>>>>
    >>>>>>>> "P@tty Ayers ~ACE"
    <[email protected]> wrote in
    >>>>>>>> message
    news:[email protected]...
    >>>>>>>>> Hello Forum Amigos,
    >>>>>>>>>
    >>>>>>>>> This page has a problem
    in IE 6 which I cannot figure out. Any
    >>>>>>>>> help would be much
    appreciated!
    >>>>>>>>>
    >>>>>>>>>
    http://fuentek.com/sites/GRC/index.html
    >>>>>>>>>
    >>>>>>>>> If you look at the page
    with any newer browser, the section with
    >>>>>>>>> the heading "What We
    Offer" - a <div> with the ID "mainContent" -
    >>>>>>>>> displays at the top of
    the middle column, where it belongs.
    >>>>>>>>>
    >>>>>>>>> In IE 6, it displays far
    down on the page, still in the middle
    >>>>>>>>> column, but vertically
    just after the end of the content in the
    >>>>>>>>> right column.
    >>>>>>>>>
    >>>>>>>>> Here's a screenshot of
    it in IE 6:
    >>>>>>>>>
    http://ayersvirtual.com/Screenshot_GRC_IE6.gif
    >>>>>>>>>
    >>>>>>>>> Thanks very much in
    advance for any help,
    >>>>>>>>>
    >>>>>>>>> --
    >>>>>>>>> Patty Ayers |
    www.WebDevBiz.com
    >>>>>>>>> Free Articles on the
    Business of Web Development
    >>>>>>>>> Web Design Contract,
    Estimate Request Form, Estimate Worksheet
    >>>>>>>>> --
    >>>>>>>>>
    >>>>>>>>>
    >>>>>>>>>
    >>>>>>>>>
    >>>>>>>>>
    >>>>>>>>>
    >>>>>>>>>
    >>>>>>>>
    >>>>>>>
    >>>>>>
    >>>>>
    >>>>
    >>>
    >>
    >

  • Offset div / positioning problem in IE

    I've posted this problem in another thread but it was a sub question. Anyway, the problem I'm having is positioning a div over all other divs. I've managed to get it to work perfectly fine on Firefox and Chrome the way I wanted. The problem is usually when it comes to internet explorer. I just want the image or div placed on the right side of the site but changing the properties always has the same result, internet explorer places is far beyond where it's suppose to be. I'll add images, the code, and the live site below. Any help would be appreciated.
    Chrome View:
    Firefox View:
    *IE View (Wrong):
    Website: http://emergencyclean-up.com
    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=utf-8" />
    <title>Emergency Clean Up Homepage</title>
    <style type="text/css">
    body {
              background-color: #333333;
    #entireSite #sidebar #spacer {
              height: 300px;
              width: 350px;
    #entireSite #sidebar #newsletter {
              background-image: url(../Images/NewsLetterBackground.png);
              height: 165px;
              width: 350px;
              color: #FFF;
    </style>
    <link href="main.css" rel="stylesheet" type="text/css" />
    <script src="../SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <script type="text/javascript">
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    </script>
    <link href="../SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    </head>
    <body onload="MM_preloadImages('../Images/Buttons/buttonOver_01.gif','../Images/WaterDamageOver .png','../Images/FireDamageOver.png','../Images/MoldRemediationOver.png','../Images/SootRe movalOver.png','../Images/OdorControlOver.png','../Images/facebook-logoOver.png','../Image s/yelp-logoOver.png','../Images/LinkedIn_logoOver.png','../Images/twitter-logoOver.png')">
    <!-- This begins the coding for centering the entire webpage -->
    <div style="width:100%;">
    <div style="width:900px; margin-left:auto; margin-right:auto;">
      <div style="width:100%; float:left;background-color:#333333;">
    <!-- This begins the background layer for the navbarArea -->
    <div id="navbarArea">
    <!-- This begins the container div for the navbar -->
    <div align="center">
      <div id="navbar">
      <ul id="MenuBar1" class="MenuBarHorizontal">
        <li><strong><a href="index.html">Home Page</a> </strong></li>
        <li><strong><a href="About Us.html">About Us</a></strong></li>
        <li><strong><a href="Services.html">Services</a> </strong></li>
        <li><strong><a href="Testimonials.html">Testimonials</a></strong></li>
        <li><strong><a href="Contact Us.html">Contact us</a></strong></li>
        <li><strong><a href="Special Offers.html">Special Offers</a></strong></li>
      </ul>
    </div></div>
    <!--- This ends the container div for the navbar -->
    </div>
    <!-- This ends the background layer for the navbarArea -->
    <!--This begins the entireSite area *excludes navbar* -->
    <div id="entireSite">
    <!-- This begins the container for the sidebar image -->
    <div id= "sidebar">
    <!-- This begins a spacer div -->
    <div id= "spacer">
    </div>
    <!-- This ends a spacer div -->
    <!--This begins newsletter div -->
    <div id= "newsletter">
    <center><font size="5">Subscribe to Our Newsletter</font></center>
    <form action="subscriptionform.php" method="post" id="Newsletter">
    <table width="100%" border="0" cellpadding="3">
      <tr>
        <td>Name:</td>
        <td><input name="News Letter Name" type="text" size="30" maxlength="40" /></td>
      </tr>
      <tr>
        <td>Email:</td>
        <td><input name="News Letter Email" type="text" size="30" maxlength="40" /></td>
      </tr>
      <tr>
        <td>Zip Code:</td>
        <td><input name=" News Letter Postal Code" type="text" size="10" maxlength="12" /></td>
      </tr>
    </table>
    <center><input name="Subscribe" type="Submit" id="Subscribe" /></center>
    </form>
    </div>
    <!-- This ends newsletter div -->
      </div>
    <!-- This ends the sidebar image area-->
    <!-- This begins the maintext area -->
    <div id= "maintext">
    <!-- This begins the titlebar inside the maintext area-->
    <div id= "titlebar">
    <br />
    </div>
    <!-- This ends the titlebar of maintext area -->
    <br  />
    <center><img src="../Images/Logo.png" width="500" height="160" alt="Logo" />
    <br />
    <br />
    <center>Choose from one our various services offered here at Emergency Clean-up.</center>
    <br />
    <table width="100%" border="0" cellpadding="0">
      <tr>
        <td><center><a href="Water Damage.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('WD','','../Images/WaterDamageOver.png',1)"><img src="../Images/WaterDamage.png" alt="Water Damage" name="WD" width="75" height="75" border="0" id="WD" /></a>
        <br />
        Water Damage</center></td>
        <td><center><a href="Fire Damage.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('FD','','../Images/FireDamageOver.png',1)"><img src="../Images/FireDamage.png" alt="Fire Damage" name="FD" width="75" height="75" border="0" id="FD" /></a>
        <br />
        Fire Damage</center></td>
        <td><center><a href="Mold Remediation.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('MR','','../Images/MoldRemediationOver.png',1)"><img src="../Images/MoldRemediation.png" alt="Mold Remediation" name="MR" width="75" height="75" border="0" id="MR" /></a>
        <br />
        Mold Remediation</center></td>
        <td><center><a href="Soot Removal.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('SR','','../Images/SootRemovalOver.png',1)"><img src="../Images/SootRemoval.png" alt="Soot Removal" name="SR" width="75" height="75" border="0" id="SR" /></a>
        <br />
        Soot Removal</center></td>
        <td><center><a href="Odor Control.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('OC','','../Images/OdorControlOver.png',1)"><img src="../Images/OdorControl.png" alt="Odor Control" name="OC" width="75" height="75" border="0" id="OC" /></a>
        <br />
        Odor Control</center></td>
      </tr>
    </table>
    <br />
    <center> For more services please click <a href="Services.html">here</a>. </center>
    </div>
    <!-- This ends the maintext area -->
    <!-- This begins the bottombar image -->
    <div id= "bottombar">
      <img src="../Images/bottomBar.png" width="900" height="25" alt="bottombar" /></div>
    <!-- This ends the bottom bar image -->
    <!-- This begins the hotlinks area -->
    <div id= "hotlinks">
    <a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('FB','','../Images/facebook-logoOver.png',1)"><img src="../Images/facebook-logo.png" alt="Facebook" name="FB" width="25" height="25" border="0" id="FB" / align="left"></a>
    <a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('YP','','../Images/yelp-logoOver.png',1)"><img src="../Images/yelp-logo.png" alt="Yelp" name="YP" width="25" height="25" border="0" id="YP" / align="left"></a>
    <a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('TR','','../Images/twitter-logoOver.png',1)"><img src="../Images/twitter-logo.png" alt="Twitter" name="TR" width="25" height="25" border="0" id="TR" / align="left"></a>
    <a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('LI','','../Images/LinkedIn_logoOver.png',1)"><img src="../Images/LinkedIn_logo.png" alt="Linked In" name="LI" width="25" height="25" border="0" id="LI" / align="left"></a>
    </div>
    <!--This ends the hotlinks area -->
    <!-- This begins the copyright area -->
    <div id= "copyright">
    <br />
    <p align="right">Content copyright 2012. EMERGENCYCLEAN-UP.COM. All rights reserved.</p>
    </div>
    <!-- This ends the copyright area -->
    </div>
    <!-- This ends the entireSite container-->
    <div id="containerEmergency"><img src="../Images/emergency contact.png" width="220" height="220" />
    </div>  
      </div>
    </div>
    </div>
    <!-- This ends the coding for centering the entire webpage *excludes navbar* -->
    <script type="text/javascript">
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"../SpryAssets/SpryMenuBarDownHover.gif", imgRight:"../SpryAssets/SpryMenuBarRightHover.gif"});
    </script>
    </body>
    </html>

    I often find that differences between FF and IE often boil down to errors in closing page element tags... like not closing <div> or <script> tags. So first validate and fix any of those issues:
    http://validator.w3.org/
    a number of those 35 errors relate to closing tags.
    Then to review z-indexing (stacking order) from an older post:
    Maybe this will help clear up any misunderstanding you have about declared positioning as well as the use of z-indexing:
    The actual display of a positioned element will depend on whether or not it's parent element also has a declared position or not.
    z-indexing ONLY works with elements that have a declared position.
    Using a declared position like absolute tells and browser to take that element out of the natural flow and do something different with it. So you've got the browser parsing in order from top to bottom, then throwing in some elements that are completely out of the flow.... they can be very hard to control, because there are special rules that apply to elements with declared positions.
    The least understood of those rules is what I call the "Parent Rule". Giving an element a declared position like relative or absolute can have huge differences in how that element is actually displayed depending on whether or not the PARENT of that element also has a declared position.
    So a div which is position:absolute for example will display one way if it's parent also has a declared position and it will display in a completely different manner if it's parent does NOT have a declared position... to review:
    If a div's parent container DOES NOT also have a declared position, the child <div> will do 1 of 2 things.
    If position:relative, it will position as desired but space will be left as though that element was still in the natural flow. So you may move the 500 X 100 element down and over, but a 500 X 100 space will be left, as though it was still there.
    If position:absolute, child is positioned relative to browser window and that position does not change even if window contracts or expands.
    So be sure to give a declared position to both the parent and the child <div>.
    Neglecting to follow this rule is the main reason why the use of declared positioning fails.
    And just one more point, almost never is it necessary to use a declared position, and that method certainly should not be used for general page layout.
    But if and when a special situation comes up that you really do need z-indexing... then of course you will also have to use a declared position. Understanding the "Parent Rule" will make working with z-indexing and declared positions much easier and more successful.
    Best wishes,
    Adninjastrator

  • Positioning problems develop with template

    I have been developing a template or templates for a site in order to make child pages, there will be some variations in these pages but would like them to remain as similar as possible and use the same style sheet if possible.  The overall page is simple and works OK but as the content variations solidify as does the css to accommodate it problems arise.  It starts as a body, wrapper, header (includes logo, and navigation table) left col, right col and a footer. I wanted to be able to have more than 12 thumbs and keep the page at 600px height so a scroll bar was needed. I put an AP div in the left column the full width of the col and the height of four thumb frames and the problems start, The heading over it cannot scroll with the content so it must be outside the AP div.  In a browser it drops under the table and its div. I went through all css rules for the assoc. divs  zeroing margins & padding, but it didn't work so I nested this AP div in another the full side of the left col. while that worked I don't Know why it moved in the first place, or why all the margin zeroing for the #leftColumn a  link, the #leftColumn and #content did nothing.  Is the Nested AP divs the way to go, and should I go back and take out all the margin and padding changes that did nothing?  the pages are athttp://www.thunderbirdtrading.ca/Test-1.dwt this is the page with the shift, and uses the first style sheet, the corrected page is Test-2 using the second sheet and the odd thing is that Test-3 views correctly using the third style sheet which doesn't have nested AP divs 
    http://www.thunderbirdtrading.ca/css/apparelHomeAP.css
    http://www.thunderbirdtrading.ca/css/apparelHomeAPNest.css
    http://www.thunderbirdtrading.ca/css/apparelItemsAP.css
    I would like to be able to change the left column table to 3 4 & 6 row tables (they are library items) to make different pages, also the right column block of text in Test-1 and Test-2 for the two column table in Test-3, is it advisable or possible to write css rules for different content appearing in the same div? That is one template making many templates by changing library items all using the same style sheet? Are there guidelines as to when to attach a second sheet?
    Thanks hope someone can shed a little light.
    CH

    Using APDivsions as your primary layout method is going to drive you crazy.
    http://apptools.com/examples/pagelayout101.php
    Try changing top value to provide some extra room between your logo and scrolling division:
    #apDivLeftCol {
        position:absolute;
        width:240px;
        height:405px;
        z-index:8;
       top: 250px;
        overflow: auto;
        left: 0;
        text-align: center;
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb

  • Footer DIV Positioning Problem in Safari

    The website I am working on is giving me a huge headache!
    Here's a link to a
    sample
    page
    I have also attached the css. Things look okay in Firefox for
    me... I'm on an iMac. The footer stays at the bottom of the page
    and to the right as it should be. Safari on the other hand, places
    the footer in a totally different location. I haven't checked it in
    Internet Explorer OR on a PC yet, but I dread the problems I may be
    faced with.
    Any help would be appreciated as I am running out of
    time.

    Add clear: both; to your #footer css styles (see below)
    #footer {
    height: 50px;
    text-align: right;
    padding: 20px 100px 0px 0px;
    color: #FFFFFF;
    font: 11px/1.5em Georgia, "Times New Roman", Times, serif;
    margin: 0px;
    width: 980px;
    position: relative;
    float: left;
    clear: both; /* ADD THIS */
    OlDirty wrote:
    > The website I am working on is giving me a huge
    headache! Here's a link to a
    >
    http://php.wmsgroup.com/eofd6.org/administration.html
    >
    > I have also attached the css. Things look okay in
    Firefox for me... I'm on an
    > iMac. The footer stays at the bottom of the page and to
    the right as it should
    > be. Safari on the other hand, places the footer in a
    totally different
    > location. I haven't checked it in Internet Explorer OR
    on a PC yet, but I dread
    > the problems I may be faced with.
    >
    > Any help would be appreciated as I am running out of
    time.
    >
    > /* Top Elements */
    > * {
    > margin: 0px;
    > padding: 0px;
    > }
    > body {
    > font: 12px/1.5em Arial, Helvetica, sans-serif;
    > color: #FFFFFF;
    > background: #000000;
    > text-align: left;
    > }
    > p {
    > padding-bottom: 12px;
    > color: #000000;
    > }
    > ol { margin-left: 30px; }
    >
    > /* links */
    > a, a:visited {
    > color: #333333;
    > background: inherit;
    > text-decoration: underline;
    > }
    > a:hover {
    > color: #333333;
    > background: inherit;
    > padding-bottom: 0;
    > text-decoration: none;
    > }
    > a.gallery, a.gallery:visited {
    > color: #FFFFFF;
    > text-decoration: underline;
    > }
    > a.gallery:hover {
    > color: #FFFFFF;
    > text-decoration: none;
    >
    > /* headers */
    > }
    > #volunteer h1 {
    > font: normal 18px Georgia, "Times New Roman", Times,
    serif;
    > color: #660000;
    > padding-bottom: 10px;
    > }
    > #content h1 {
    > font: normal 22px Georgia, "Times New Roman", Times,
    serif;
    > color: #650000;
    > padding-bottom: 10px;
    > }
    > #gallery h1 {
    > display: block;
    > color: #FFFFFF;
    > letter-spacing: -1px;
    > padding-bottom: 10px;
    > font: normal 20px Georgia, "Times New Roman", Times,
    serif;
    > }
    > h2 {
    > font: normal 18px Georgia, "Times New Roman", Times,
    serif;
    > padding-bottom: 4px;
    > border-bottom: 1px dotted #650000;
    > width: 300px;
    >
    > /* images */
    > }
    > .floatright {
    > float: right;
    > margin: 4px;
    > border: 1px solid #CCCCCC;
    > background: #EFEFEF;
    > padding: 4px;
    > }
    > .floatleft {
    > float: left;
    > margin: 4px;
    > border: 1px solid #CCCCCC;
    > background: #EFEFEF;
    > padding: 4px;
    >
    > /* form elements */
    > }
    > table {
    > border-collapse: collapse;
    > border: 1px solid #999999;
    > margin-top: 3px;
    > margin-bottom: 3px;
    > }
    >
    > td, th {
    > padding: 0.1em;
    > border: 1px solid #CCCCCC;
    > }
    > form {
    > margin:10px; padding: 0 5px;
    > background: #F5F5F5;
    > }
    > label {
    > display:block;
    > font-weight:bold;
    > margin:5px 0;
    > }
    > input {
    > padding:2px;
    > border:1px solid #eee;
    > font: normal 1em Verdana, sans-serif;
    > color:#777;
    > }
    > textarea {
    > width:400px;
    > padding:2px;
    > font: normal 1em Verdana, sans-serif;
    > border:1px solid #eee;
    > height:100px;
    > display:block;
    > color:#000000;
    > }
    > input.button {
    > font: bold 12px Arial, Sans-serif;
    > height: 24px;
    > margin: 0;
    > padding: 2px 3px;
    > color: #333;
    > background: #e7e6e6 url(button.jpg) repeat-x;
    > border: 1px solid #dadada;
    > }
    >
    > /* search form */
    > .searchform {
    > background-color: transparent;
    > border: none;
    > margin: 0 5px 0 10px; padding: 5px 0 15px 0;
    > width: 190px;
    > }
    > .searchform p { margin: 0; padding: 0; }
    > .searchform input.textbox {
    > width: 100px;
    > color: #777;
    > height: 18px;
    > padding: 2px;
    > border: 1px solid #E5E5E5;
    > vertical-align: top;
    > }
    > .searchform input.button {
    > width: 60px;
    > height: 24px;
    > padding: 2px 5px;
    > vertical-align: top;
    > }
    >
    > /********************************************
    > LAYOUT
    > ********************************************/
    > #wrapper {
    > margin: 20px auto 0px;
    > width: 980px;
    > position: relative;
    >
    > }
    > #logo {
    > float: left;
    > height: 192px;
    > width: 234px;
    > position: relative;
    > }
    > #header {
    > float: left;
    > height: 192px;
    > width: 745px;
    > position: relative;
    > }
    > #content {
    > width: 695px;
    > background: #FFFFFF;
    > color: #000000;
    > float: right;
    > position: relative;
    > height: 100%;
    > padding: 20px 30px 30px 20px;
    > }
    > #gallery {
    > float: left;
    > height: 200px;
    > width: 116px;
    > position: relative;
    > background: url(images/photogallery.jpg) no-repeat;
    > padding-top: 72px;
    > padding-left: 12px;
    > padding-right: 10px;
    > }
    > #training_photo {
    > height: 197px;
    > width: 234px;
    > background: url(images/training_photo.jpg) no-repeat;
    > position: relative;
    > clear: left;
    > float: left;
    > }
    > #volunteer {
    > float: left;
    > height: 170px;
    > width: 214px;
    > position: relative;
    > background: url(images/volunteer.jpg) no-repeat;
    > padding-top: 27px;
    > padding-left: 20px;
    > color: #333333;
    > }
    > #firetruck {
    > float: left;
    > height: 197px;
    > width: 266px;
    > position: relative;
    > }
    > #training {
    > float: left;
    > height: 197px;
    > width: 245px;
    > position: relative;
    > }
    >
    > /* Navigation */
    > #nav {
    > float: left;
    > height: 390px;
    > width: 234px;
    > background: #333333;
    > position: relative;
    > }
    > #nav ul {
    > float: left;
    > list-style: none;
    > width: 234px;
    > padding: 0;
    > height: 40px;
    > display: inline;
    > text-transform: uppercase;
    > margin: 0 0 0 0px;
    > }
    > #nav ul li {
    > display: inline;
    > margin: 0;
    > padding: 0;
    > }
    > #nav ul li a {
    > display: block;
    > float: left;
    > width: 214px;
    > color: #999999;
    > text-transform: capitalize;
    > text-decoration: none;
    > font: normal 13px/38px Georgia, "Times New Roman",
    Times, serif;
    > margin: 0;
    > padding-left: 20px;
    > border-bottom: 1px solid #666666;
    > }
    > #nav ul li a:hover,
    > #nav ul li a:active {
    > color: #FFFFFF;
    > }
    > #nav ul li#current a {
    > background: #DBDBDB url(nav-current.jpg) repeat-x;
    >
    > /* footer */
    > }
    > #footer {
    > height: 50px;
    > text-align: right;
    > padding: 20px 100px 0px 0px;
    > color: #FFFFFF;
    > font: 11px/1.5em Georgia, "Times New Roman", Times,
    serif;
    > margin: 0px;
    > width: 980px;
    > position: relative;
    > float: left;
    >

  • Spry Menu Bar Positioning Problem in IE

    I have a Dreamweaver-created Spry Menu Bar drop down menu which works perfectly in every browser on my Mac and on my PC . . . EXCEPT Internet Explorer (who woulda thunk it?!!)
    In all browsers except for IE, the 3 submenu items under "Door Systems" and "Gallery" appear exactly as they should in a vertical row, positioned just below the brown line below the navigation links and all the same width. But in IE they appear higher up and with different widths. IE is ignoring the rules for width and position.
      <ul id="MenuBar2" class="MenuBarHorizontal">
        <li><a class="MenuBarItemSubmenu" href="closet_doors_gallery.html">DOOR SYSTEMS</a>
          <ul>
            <li><a href="sliding_doors_nyc_nj.html">DOOR PROFILES</a></li>
            <li><a href="bifold_doors_nyc_nj.html">PANELS COLORS</a></li>
            <li><a href="room_dividers_nyc_nj.html">DOOR SYSTEM TYPES</a></li>
          </ul>
        </li>
      </ul>
    <ul id="MenuBar3" class="MenuBarHorizontal">
        <li><a class="MenuBarItemSubmenu" href="#">GALLERY </a>
          <ul>
            <li><a href="#">SLIDING DOORS</a></li>
            <li><a href="#">BI-FOLD DOORS</a></li>
            <li><a href="#">ROOM DIVIDERS</a></li>
          </ul>
        </li>
      </ul>
    Here is the page where you can see the problem if you view it with IE, and see that it's  fine in Safari, and Firefox,    Chrome and Opera, Mac or PC:
    http://2113web.com/indeco/index.html
    I have a feeling it's a simple fix of the css, but I can't figure it out - I would really appreciate anyone's help with it - thank you!
    Below is the CSS:
    @charset "UTF-8";
    /* SpryMenuBarHorizontal.css - version 0.6 - Spry Pre-Release 1.6.1 */
    /* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */
    LAYOUT INFORMATION: describes box model, positioning, z-order
    /* The outermost container of the Menu Bar, an auto width box with no margin or padding */
    ul.MenuBarHorizontal
        margin: 0;
        padding: 0;
        list-style-type: none;
        font-size: 100%;
        font-weight:bold;
        cursor: default;
        width: auto;
    /* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */
    ul.MenuBarActive
        z-index: 1000;
    /* Menu item containers, position children relative to this container and are a fixed width */
    ul.MenuBarHorizontal li
        margin: 0;
        padding: 0;
        list-style-type: none;
        font-size: 100%;
        position: relative;
        text-align: left;
        cursor: pointer;
        width: auto;
        float: left;
        white-space: nowrap;
    /* Submenus should appear below their parent (top: 0) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
    ul.MenuBarHorizontal ul
        margin: 0;
        padding: 0;
        list-style-type: none;
        font-size: 100%;
        z-index: 1020;
        cursor: default;
        width: auto;
        position: absolute;
        left: -1000em;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
        left: auto;
        top: 63px; /*THIS POSITIONS THE SUBMENU BELOW THE TOP MENU*/
    /* Menu item containers are same fixed width as parent */
    ul.MenuBarHorizontal ul li
        float: none;
        background-color:#f5f5e8;
        height:25px; /*THIS POSITIONS THE SUBMENUS HEIGHT*/
    /* Submenus should appear slightly overlapping to the right (95%) and up (-5%) */
    ul.MenuBarHorizontal ul ul
        position: absolute;
        margin-top: -5%;
        margin-right: 0;
        margin-bottom: 0;
        margin-left: 95%;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible ul.MenuBarSubmenuVisible
        left: auto;
        top: 0;
    DESIGN INFORMATION: describes color scheme, borders, fonts
    /* Submenu containers have borders on all sides */
    ul.MenuBarHorizontal ul
        border:none;
    /* Menu items are a light gray block with padding and no text decoration */
    ul.MenuBarHorizontal a
        display: block;
        cursor: pointer;
        background-color: transparent;
        padding: 0.5em 0.75em;
        color: #59330d;
        text-decoration: none;
    /* Menu items that have mouse over or focus have a blue background and white text */
    ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus
        background-color: transparent;
        color: #afa06f;
    /* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */
    ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible
        background-color: transparent;
        color: #afa06f;
    SUBMENU INDICATION: styles if there is a submenu under a given menu item
    /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%)
    ul.MenuBarHorizontal a.MenuBarItemSubmenu
        background-image: url(SpryMenuBarDown.gif);
        background-repeat: no-repeat;
        background-position: 95% 50%;
    Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%)
    ul.MenuBarHorizontal ul a.MenuBarItemSubmenu
        background-image: url(SpryMenuBarRight.gif);
        background-repeat: no-repeat;
        background-position: 95% 50%;
    Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%)
    ul.MenuBarHorizontal a.MenuBarItemSubmenuHover
        background-image: url(SpryMenuBarDownHover.gif);
        background-repeat: no-repeat;
        background-position: 95% 50%;
    Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%)
    ul.MenuBarHorizontal ul a.MenuBarItemSubmenuHover
        background-image: url(SpryMenuBarRightHover.gif);
        background-repeat: no-repeat;
        background-position: 95% 50%;
    BROWSER HACKS: the hacks below should not be changed unless you are an expert
    /* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
    ul.MenuBarHorizontal iframe
        position: absolute;
        z-index: 1010;
        filter:alpha(opacity:0.1);
    /* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
    @media screen, projection
        ul.MenuBarHorizontal li.MenuBarItemIE
            display: inline;
            f\loat: left;
            background: #FFF;
    Perry

    Hi and thank you very much. It was a little confusing as to whether you meant to add the rules you suggested or to replace them, or a combination of both, but I puzzled it out. I created a new MenuBarHorizontal.css file in a blank page and then made the changes you suggested and it works! Yay! I had to do a bit of tweaking to get it to look just the way I wanted, but it now works correctly in ie 7 and 8 and still works fine in everything else.
    Interestingly enough, I had to change the margin-top: 63px; rule in "ul.MenuBarHorizontal ul.MenuBarSubmenuVisible" to 40px to get it positioned properly vertically, and I had to get rid of the "border-bottom: solid 1px #EEE;" in "ul.MenuBarHorizontal ul li", which caused the submenu items to have quite a lot of vertical space between them - I'm not sure why!
    I also had to get rid of all the syling rules in the "SUBMENU INDICATION: styles if there is a submenu under a given menu item" section, as well as the one you added: "ul.MenuBarHorizontal a.MenuBarItemSubmenu {
        padding: 0.5em 2em 0.5em 0.75em;"
    With that done, it works great in both ie7 and ie8, so thank you for the help. Below is the new css that works, in total.
    Not being as familiar with the subtleties of CSS as you and many others obviously are, I'm REALLY curious as to exactly what is different that causes this to work now, and would be happy to hear your expanation, if you feel like taking the time to explain. If not, no problem - it works and that is the most important thing! So, thank you again -
    Perry
    @charset "UTF-8";
    /* SpryMenuBarHorizontal.css - version 0.6 - Spry Pre-Release 1.6.1 */
    /* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */
    LAYOUT INFORMATION: describes box model, positioning, z-order
    /* The outermost container of the Menu Bar, an auto width box with no margin or padding */
    ul.MenuBarHorizontal
        margin: 0;
        padding: 0;
        list-style-type: none;
        font-size: 100%;
        cursor: default;
        width: auto;
    /* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */
    ul.MenuBarActive
        z-index: 1000;
    /* Menu item containers, position children relative to this container and are a fixed width */
    ul.MenuBarHorizontal li
        margin: 0;
        padding: 0;
        list-style-type: none;
        font-size: 100%;
        position: relative;
        text-align: left;
        cursor: pointer;
        width: auto;
        float: left;
    /* Submenus should appear below their parent (top: 0) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
    ul.MenuBarHorizontal ul
        margin: 0;
        padding: 0;
        list-style-type: none;
        font-size: 100%;
        z-index: 1020;
        cursor: default;
        width: auto;
        position: absolute;
        left: -1000em;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
        left: auto;
        margin-top: 40px;
    /* Menu item containers are same fixed width as parent */
    ul.MenuBarHorizontal ul li
        display: block;
        float: none !important;
        width: auto;
        white-space: nowrap;
    /* Submenus should appear slightly overlapping to the right (95%) and up (-5%) */
    ul.MenuBarHorizontal ul ul
        position: absolute;
        margin: -5% 0 0 95%;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible ul.MenuBarSubmenuVisible
        left: auto;
        top: 0;
    DESIGN INFORMATION: describes color scheme, borders, fonts
    /* Submenu containers have borders on all sides */
    ul.MenuBarHorizontal ul
        border: 1px solid #CCC;
    /* Menu items are a light gray block with padding and no text decoration */
    ul.MenuBarHorizontal a
        display: block;
        cursor: pointer;
        background-color: #f5f5e8;
        padding: 0.5em 0.75em;
        color: #333;
        text-decoration: none;
    /* Menu items that have mouse over or focus have a blue background and white text */
    ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus
          background-color: #f5f5e8;
        color: #afa06f;
    /* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */
    ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible
          background-color: #f5f5e8;
        color: #afa06f;
    SUBMENU INDICATION: styles if there is a submenu under a given menu item
    /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal a.MenuBarItemSubmenu
    /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal ul a.MenuBarItemSubmenu
    /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal a.MenuBarItemSubmenuHover
    /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal ul a.MenuBarItemSubmenuHover
    BROWSER HACKS: the hacks below should not be changed unless you are an expert
    /* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
    ul.MenuBarHorizontal iframe
        position: absolute;
        z-index: 1010;
        filter:alpha(opacity:0.1);
        background: transparent;
    /* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
    @media screen, projection
        ul.MenuBarHorizontal li.MenuBarItemIE
            display: inline;
            f\loat: left;
            background: #FFF;

  • Photo Gallery: 2 positioning problems

    hey, first i'd like to say, great photo gallery, it's exactly
    what i needed for my site :)
    now, as for the problems i'm having..
    i need to place the gallery into part of a table, but i am
    have 2 issues with this.
    1. the main images resize the table automatically, depending
    on the size of the image. however, it only changes the height of
    the table. it does not alter the width of it.
    --i do not want this to happen, i would like the table to
    stay one fixed size.
    2. the thumbnails, regardless of what position i move them
    to, when moused over they move back to the original top left corner
    position.
    --again, i would like them to remain fixed at wherever i
    place them at.
    i've looked through the css code and am having a bit of
    trouble trying to figure out just what to edit to make this doable.
    though, i'm not even sure if it's something that's part of the css
    code or if it's another part of the site that needs altered
    instead.
    any suggestions?

    problem resolved.. was a rather easy fix.. not sure how i
    screwed it up the first time though..but either way, it works
    fine.

  • Font Smoothing + Relative Positioning = Problem

    Hello,
    I ran across a strange inconsistency while designing a relative position based layout.
    My page has two divs, both relative positioned for height. They do not overlap. The page renders excellent in Firefox 3.5, and not bad in Chrome (though a little different from FF). Safari however pushes my second div down too far.
    I found that by disabling font smoothing (or rather switching it to anything besides "windows standard") fixes this issue. However there isn't even any actual text on the site, at all. There's 4 images, a couple input fields and a submit button.
    I can post some of the code, or example screenshots of what's happening. I've tried a couple css hacks to target safari (without targeting chrome) with no success. Anybody have any advice?
    Thanks,
    Tom

    Please disreard...
    I got it figured out. I just moved the paragraph tag outside
    of the table
    and changed the position from bottom:50% to top:50%
    once the <p> was moved out of the table, it's normal
    position would be at
    the very top. So, I moved it 50% down from the top using
    relative
    positioning. Being inside the table caused it to not work in
    Gecko? I
    wonder why?
    "-D-" <[email protected]> wrote in message
    news:f7fr0d$jb8$[email protected]..
    > I'm using relative positioning for an <p> tag that
    is positioned normally
    > at the bottom of a table cell "valign="bottom".
    >
    > I set the paragraph tag to <p
    >
    style="position:relative;bottom:50%;text-align:center;line-height:1.6em;">
    >
    > so, the text will position itself 50% from the bottom
    positioning. This
    > works fine in IE, but Mozilla and Netscape still
    position the text at the
    > bottom of the table cell.
    >
    > Here is the test page to see what is happening:
    >
    http://www.dwayneepps.com/contact.aspx
    >
    > fill out the form and click send to see the problem.
    >
    > Thanks for any help.
    >

  • CSS Align right problem

    Hi
    I am using the following css to align a div to the right hand
    side of the
    page:
    #headerRight { RIGHT: 10px; MARGIN-RIGHT: 0px; POSITION:
    absolute; TOP: 5px;
    align: right; border: 0; width: 235px;}
    The above seems to work well, except for one small annoying
    problem. If the
    content of the page is wide and causes the horizontal scroll
    bar to appear,
    then the div seems to work as it appears 10px from the right
    side of the
    window. However if I move the horizontal scroll bar over to
    the right, then
    the div doesnt move accordingly.
    If I then resize the browser window, then the div moves and
    always lines up
    10px from the edge no matter what size the window is.
    Anyone know where I am going wrong, or need any more
    information?
    Thanks
    Brendan
    Rate your experiences with your UK and Ireland builders at
    http://www.ratethebuilder.co.uk
    =========================================

    Solved the problem by using the following javascript code:
    function scrollDetect(){
    document.getElementById("headerRight").style.left =
    document.body.clientWidth - 245 + document.body.scrollLeft;
    setInterval("scrollDetect()", 500);
    Where 245 is the width of the div.
    Only problem is that the code probably isnt cross browser at
    the moment, but
    I'll work on that.
    Thanks again for all your help.
    Rate your experiences with your UK and Ireland builders at
    http://www.ratethebuilder.co.uk
    =========================================
    "RateTheBuilder" <[email protected]>
    wrote in message
    news:[email protected]...
    > Osgood
    >
    > Sorry, would love to post a url, but content is
    sensitive.
    >
    > Basically I have a div which stretches the width of the
    page which
    > contains the header details. Then on top of this div but
    to the very right
    > of the page I have a div that I have absolute
    positioning set. This div
    > must remain the set distance from the right of the
    screen (10px) even when
    > the user is scrolling horizontally.
    >
    > Thanks for your time so far and I hope I've shed a
    little more light.
    >
    > Brendan
    > ______________________________________________
    > Rate your experiences with your UK and Ireland builders
    at
    >
    http://www.ratethebuilder.co.uk
    > =========================================
    >
    > "Osgood" <[email protected]> wrote in
    message
    > news:[email protected]...
    >> RateTheBuilder wrote:
    >>
    >>> Osgood
    >>>
    >>> There is no content on the same level as the div
    to the right, but the
    >>> content below the div may extend the width of
    the page. There are other
    >>> divs on the same level as the one I want to keep
    right and I have the
    >>> problem div above them, so that is why I used
    absolute positioning.
    >>
    >> Sorry i'm lost.
    >>
    >> You say you have no content on the same level as the
    div to the right and
    >> then say there are other divs on the same level as
    the one you want to
    >> keep right?
    >>
    >> Can you post a url to the page in question?
    >>
    >
    >

  • CSS Liquid Layout Problem

    I'm trying to do a simple masthead that will span the width
    of the page. The masthead consists of a logo on the left, and a big
    graphic on the right (it is a long story...). The left side of the
    big graphic fades into the background, and the logo and .the
    graphic move apart as the page is made wider.
    Everything is fine as long as the browser window is wide
    enough for both. As I shrink the window, however, the graphic drops
    below the logo and the masthead is suddenly twice as high. What I
    want to happen is for horizontal scroll bars to appear when the
    extra space between the logo and the graphic has been squeezed out.
    Here is the HTML:
    <div id="masthead">
    <div id="logo"><img src="images/logo.jpg"
    /></div>
    <div id="graphic"><img src="images/graphic.jpg"
    /></div>
    </div>
    And the CSS:
    #masthead {
    background-image: url(images/masthead-bg.gif);
    white-space: nowrap;
    max-height: 89px;
    #logo {
    width: 148px;
    height: 89px;
    float: left;
    #graphic {
    width: 736px;
    height: 89px;
    float:right;
    I'd be grateful for any suggestions.

    Luke,
    Put the background image on the body. By default, it will
    tile to fill
    the entire browser window.
    HTH,
    Randy
    > I'm trying to make a simple page that has a background
    image at the top of the
    > page that expands to fix 100% of the page. just under
    that I have an area set
    > at 960px width and is centered on the page.
    >
    > The problem I have is that is you make the window
    smaller than 960px you will
    > see the scroll bars, scrolling left you can see the rest
    of the fixed width div
    > area but the 100% area at the top stops repeating and
    does not fill the page.

Maybe you are looking for