I'm developing a site at
http://www.eleanorduffy.com/new/
when viewed in IE 6.5 %26amp; 7 all is well.
But in safari there is an alignment problem
http://www.eleanorduffy.com/new/index.php
http://www.eleanorduffy.com/new/aboutEleanorDuffy.php
http://www.eleanorduffy.com/new/collectionCreation.php
http://www.eleanorduffy.com/new/collectionCouture.php
all line up the same (in a stable position in the browser
window)
While
http://www.eleanorduffy.com/new/events.php
http://www.eleanorduffy.com/new/storeLocator.php
jump about 5 pixles to the left when opened.
here is my css:
body {
text-align: center;
background: white;
}
#logo {
float: left;
padding-bottom: 10px;
}
#movie {
height: 350px;
width: 570px;
text-align: center;
clear: both;
margin-right: auto;
margin-left: auto;
padding-top: 20px;
border-right: 1px solid #FF197B;
border-left: 1px solid #FF197B;
}
#placeFooter {
width: 600px;
font: 9px/30px Verdana, Arial, Helvetica, sans-serif;
color: #999999;
white-space: nowrap;
clear: both;
text-align: center;
margin-right: auto;
margin-left: auto;
}
#placeMenu {
float: left;
padding-left: 145px;
margin-top: -60px;
}
#wrapper {
width: 705px;
margin-right: auto;
margin-left: auto;
margin-top: 30px;
}
.orange, .orange a:link, .orange a:visited, .orange a:hover {
color: #E84139;
}
.pink, .pink a:link, .pink a:visited, .pink a:hover {
color: #DB3985;
}
dl, dt, dd, ul, li {
margin: 0;
padding: 0;
list-style-type: none;
}
#menu {
width: 560px;
color: #CCCCCC;
font: 12px Verdana, Arial, Helvetica, sans-serif;
height: 60px;
white-space: nowrap;
}
#menu dl {
float: left;
width: 80px;
}
#menu dt {
cursor: pointer;
text-align: center;
font-weight: bold;
color: #999999;
}
#menu dd {
}
#menu li {
text-align: center;
color: #FF3515;
}
#menu li a, #menu dt a , #menu dt a:link{
color: #FF3515;
display: block;
height: 100%;
border: 0 none;
}
#menu li a:hover, #menu dt a:hover {
color: #FF197B;
}
.contentLocation {
padding-top: 20px;
width: 450px;
margin-right: auto;
margin-left: auto;
}
.headLinePink, .headLinePink a:link, .headLinePink a:visited,
.headLinePink
a:hover {
font-size: 16px;
font-weight: bold;
text-decoration: none;
color: #DB3985;
}
.headLineOrange, .headLineOrange a:link, .headLineOrange
a:visited,
.headLineOrange a:hover {
font-size: 14px;
font-weight: bold;
text-decoration: none;
color: #E84139;
}
#contentAdmin {
width: 510px;
color: #666666;
font: 12px/15px Verdana, Arial, Helvetica, sans-serif;
margin-left: auto;
text-align: left;
clear: both;
margin-right: auto;
border-right: 1px solid #FF197B;
border-left: 1px solid #FF197B;
padding: 10px 30px 20px;
height: auto;
}
#contentAdmin a:link, #contentAdmin a:visited, #contentAdmin
a:hover {
color: #DB3985;
}
.center {
text-align: center;
}
.grey {
background: #F4F4F4;
}
.bold {
font-weight: bold;
}
#contentCreation {
width: 650px;
color: #666666;
font: 12px Verdana, Arial, Helvetica, sans-serif;
text-align: left;
margin-left: 75px;
clear: both;
padding-top: 20px;
}
.underline {
font-weight: bold;
font-size: 14px;
}
.right {
float: right;
}
#content {
width: 705px;
margin-right: auto;
margin-left: auto;
}
safari problem
%26gt; jump about 5 pixles to the left when opened.
I'm guessing the pages that 'jump' are due to those pages
having a
scrollbar. If so, then that's normal. I wouldn't sweat it.
-Darrel
safari problem
Thank you Darrel,
that is exactly what is happening, I guess the only way to
avoid this is to
change:
#wrapper {
margin-right: auto;
margin-left: auto;
}
to something like:
#wrapper {
margin-left: 100px;
}
that way the left margin would be rigid.
Jeff
''darrel'' %26lt;notreal@nowhere.com%26gt; wrote in message
news:fgct7g$f4j$1@forums.macromedia.com...
%26gt;%26gt; jump about 5 pixles to the left when opened.
%26gt;
%26gt; I'm guessing the pages that 'jump' are due to those
pages having a
%26gt; scrollbar. If so, then that's normal. I wouldn't sweat
it.
%26gt;
%26gt; -Darrel
%26gt;
%26gt; that is exactly what is happening, I guess the only way
to avoid this is
%26gt; to change:
The way to avoid it is usually to force every page to have a
scrollbar. This
usually works:
body {height: 101%;}
But, again, it's not really something I'd worry about. It's
just how
browsers are. No one really notices this except for you, the
designer, as
you're flipping between the pages.
-Darrel
Thank you again darrel,
You put me on the right track, I foud two css properties for
FF, safari
that do the trick. lock the position and only show scrollbars
when required.
html {
overflow: -moz-scrollbars-vertical;
overflow: scroll;
}
Jeff
''Jeff'' %26lt;jeffs@NoSpamLamSam.com%26gt; wrote in message
news:fgcsf6$e70$1@forums.macromedia.com...
%26gt;I need help,
%26gt; I'm developing a site at
http://www.eleanorduffy.com/new/
%26gt;
%26gt; when viewed in IE 6.5 %26amp; 7 all is well.
%26gt;
%26gt; But in safari there is an alignment problem
%26gt;
http://www.eleanorduffy.com/new/index.php
%26gt;
http://www.eleanorduffy.com/new/aboutEleanorDuffy.php
%26gt;
http://www.eleanorduffy.com/new/collectionCreation.php
%26gt;
http://www.eleanorduffy.com/new/collectionCouture.php
%26gt;
%26gt; all line up the same (in a stable position in the
browser window)
%26gt; While
%26gt;
http://www.eleanorduffy.com/new/events.php
%26gt;
http://www.eleanorduffy.com/new/storeLocator.php
%26gt;
%26gt; jump about 5 pixles to the left when opened.
%26gt;
%26gt; here is my css:
%26gt;
%26gt; body {
%26gt; text-align: center;
%26gt; background: white;
%26gt; }
%26gt; #logo {
%26gt; float: left;
%26gt; padding-bottom: 10px;
%26gt; }
%26gt; #movie {
%26gt; height: 350px;
%26gt; width: 570px;
%26gt; text-align: center;
%26gt; clear: both;
%26gt; margin-right: auto;
%26gt; margin-left: auto;
%26gt; padding-top: 20px;
%26gt; border-right: 1px solid #FF197B;
%26gt; border-left: 1px solid #FF197B;
%26gt; }
%26gt; #placeFooter {
%26gt; width: 600px;
%26gt; font: 9px/30px Verdana, Arial, Helvetica, sans-serif;
%26gt; color: #999999;
%26gt; white-space: nowrap;
%26gt; clear: both;
%26gt; text-align: center;
%26gt; margin-right: auto;
%26gt; margin-left: auto;
%26gt; }
%26gt; #placeMenu {
%26gt; float: left;
%26gt; padding-left: 145px;
%26gt; margin-top: -60px;
%26gt; }
%26gt; #wrapper {
%26gt; width: 705px;
%26gt; margin-right: auto;
%26gt; margin-left: auto;
%26gt; margin-top: 30px;
%26gt; }
%26gt; .orange, .orange a:link, .orange a:visited, .orange
a:hover {
%26gt; color: #E84139;
%26gt; }
%26gt; .pink, .pink a:link, .pink a:visited, .pink a:hover {
%26gt; color: #DB3985;
%26gt; }
%26gt;
%26gt; dl, dt, dd, ul, li {
%26gt; margin: 0;
%26gt; padding: 0;
%26gt; list-style-type: none;
%26gt; }
%26gt; #menu {
%26gt; width: 560px;
%26gt; color: #CCCCCC;
%26gt; font: 12px Verdana, Arial, Helvetica, sans-serif;
%26gt; height: 60px;
%26gt; white-space: nowrap;
%26gt; }
%26gt; #menu dl {
%26gt; float: left;
%26gt; width: 80px;
%26gt; }
%26gt; #menu dt {
%26gt; cursor: pointer;
%26gt; text-align: center;
%26gt; font-weight: bold;
%26gt; color: #999999;
%26gt; }
%26gt; #menu dd {
%26gt;
%26gt; }
%26gt; #menu li {
%26gt; text-align: center;
%26gt; color: #FF3515;
%26gt; }
%26gt; #menu li a, #menu dt a , #menu dt a:link{
%26gt; color: #FF3515;
%26gt; display: block;
%26gt; height: 100%;
%26gt; border: 0 none;
%26gt; }
%26gt; #menu li a:hover, #menu dt a:hover {
%26gt; color: #FF197B;
%26gt; }
%26gt; .contentLocation {
%26gt; padding-top: 20px;
%26gt; width: 450px;
%26gt; margin-right: auto;
%26gt; margin-left: auto;
%26gt; }
%26gt; .headLinePink, .headLinePink a:link, .headLinePink
a:visited,
%26gt; .headLinePink a:hover {
%26gt; font-size: 16px;
%26gt; font-weight: bold;
%26gt; text-decoration: none;
%26gt; color: #DB3985;
%26gt; }
%26gt; .headLineOrange, .headLineOrange a:link, .headLineOrange
a:visited,
%26gt; .headLineOrange a:hover {
%26gt; font-size: 14px;
%26gt; font-weight: bold;
%26gt; text-decoration: none;
%26gt; color: #E84139;
%26gt; }
%26gt; #contentAdmin {
%26gt; width: 510px;
%26gt; color: #666666;
%26gt; font: 12px/15px Verdana, Arial, Helvetica, sans-serif;
%26gt; margin-left: auto;
%26gt; text-align: left;
%26gt; clear: both;
%26gt; margin-right: auto;
%26gt; border-right: 1px solid #FF197B;
%26gt; border-left: 1px solid #FF197B;
%26gt; padding: 10px 30px 20px;
%26gt; height: auto;
%26gt; }
%26gt; #contentAdmin a:link, #contentAdmin a:visited,
#contentAdmin a:hover {
%26gt; color: #DB3985;
%26gt; }
%26gt; .center {
%26gt; text-align: center;
%26gt; }
%26gt; .grey {
%26gt; background: #F4F4F4;
%26gt; }
%26gt; .bold {
%26gt; font-weight: bold;
%26gt; }
%26gt; #contentCreation {
%26gt; width: 650px;
%26gt; color: #666666;
%26gt; font: 12px Verdana, Arial, Helvetica, sans-serif;
%26gt; text-align: left;
%26gt; margin-left: 75px;
%26gt; clear: both;
%26gt; padding-top: 20px;
%26gt; }
%26gt; .underline {
%26gt; font-weight: bold;
%26gt; font-size: 14px;
%26gt; }
%26gt; .right {
%26gt; float: right;
%26gt; }
%26gt; #content {
%26gt; width: 705px;
%26gt; margin-right: auto;
%26gt; margin-left: auto;
%26gt; }
%26gt;
%26gt;
No comments:
Post a Comment