This is my first time building a responsive website and so far so good. But the problem right now is that it's working fine on google chrome (tested on phone and toggle device mode) but not on Firefox.
If you open this in device mode you can see what I mean (Firefox).
Anyone know what the problem is?
I don't think the html code is necessary and the css code. Cause I think the problem lies in the first row code, but just in case I put the css code up.
EDIT: in 320 x 480 pixels
CSS:
#media only screen and (min-width: 320px) and (orientation:portrait){ /*Mobiel portrait modus*/
html, body
{
margin: 0;
font-family: arial;
height: 100%;
}
.link
{
color: inherit;
text-decoration: none;
}
.top
{
position: fixed;
z-index:9999;
background: #80c217; /* Old browsers */
background: -moz-linear-gradient(top, #80c217 0%, #80c217 37%, #80c217 40%, #a1d54f 66%, #7cbc0a 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#80c217), color-stop(37%,#80c217), color-stop(40%,#80c217), color-stop(66%,#a1d54f), color-stop(100%,#7cbc0a)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #80c217 0%,#80c217 37%,#80c217 40%,#a1d54f 66%,#7cbc0a 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #80c217 0%,#80c217 37%,#80c217 40%,#a1d54f 66%,#7cbc0a 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #80c217 0%,#80c217 37%,#80c217 40%,#a1d54f 66%,#7cbc0a 100%); /* IE10+ */
background: linear-gradient(to bottom, #80c217 0%,#80c217 37%,#80c217 40%,#a1d54f 66%,#7cbc0a 100%); /* W3C */
width: 100%;
height: 200px;
}
h1, h2
{
display: inline;
}
.menu
{
width: 70px;
float:right;
margin-right: -220px;
}
h1
{
font-size: 30px;
}
h2
{
font-size: 18px;
}
.logo
{
float:right;
width: 150px;
padding-top: 75px;
padding-right: 75px;
}
.title
{
float:left;
padding-left: 75px;
padding-top: 75px;
}
.navbar
{
margin-top: 199px;
position: fixed;
background-color: black;
color:white;
width: 100%;
height: 250px;
padding-top: 5px;
padding-bottom: 15px;
overflow:hidden;
z-index: 200;
}
.nav
{
list-style-type: none;
margin-left: -40px;
margin-top: -4px;
}
.nav li
{
padding-top: 5px;
font-size: 40px;
text-align: center;
border-top:1px solid white;
}
.nav li:last-child
{
border-bottom:1px solid white;
}
.head2
{
font-size: 40px;
}
.links
{
text-align: left;
list-style-type:none;
padding-left: 50px;
padding-right: 50px;
}
.middle
{
text-align:center;
padding-top: 200px;
position:relative;
background-color: #ccd3c3;
width: 100%;
height: 950px;
font-size: 30px;
overflow: hidden;
padding-bottom: 50px;
}
.middlemachtiging
{
text-align:center;
padding-top: 200px;
position:relative;
background-color: #ccd3c3;
width: 100%;
height: 710px;
font-size: 30px;
overflow: hidden;
padding-bottom: 50px;
}
.middleprijzen
{
text-align:center;
padding-top: 200px;
position:relative;
background-color: #ccd3c3;
width: 100%;
height: 1150px;
font-size: 30px;
overflow: hidden;
padding-bottom: 50px;
}
.text
{
text-align: left;
padding-left: 50px;
padding-right: 50px;
}
.auto
{
width: 100%;
overflow: hidden;
}
footer
{
overflow: hidden;
background: #9ffe62;
color:black;
width:100%;
height:150px;
position: relative;
text-align: center;
}
footer p
{
padding-top: 45px;
}
}
.pricetable
{
font-size: 30px;
}
Related
I have a dropdown menu on the top of a page like so:
CSS:
div#navwrapper {
position: relative;
clear: both;
width: 100%;
height: 35px;
line-height: 35px;
letter-spacing: 1px;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
background: rgb(255,255,255); /* Old browsers */
background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(241,241,241,1) 50%, rgba(225,225,225,1) 51%, rgba(246,246,246,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,1)), color-stop(50%,rgba(241,241,241,1)), color-stop(51%,rgba(225,225,225,1)), color-stop(100%,rgba(246,246,246,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(241,241,241,1) 50%,rgba(225,225,225,1) 51%,rgba(246,246,246,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(241,241,241,1) 50%,rgba(225,225,225,1) 51%,rgba(246,246,246,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(241,241,241,1) 50%,rgba(225,225,225,1) 51%,rgba(246,246,246,1) 100%); /* IE10+ */
background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(241,241,241,1) 50%,rgba(225,225,225,1) 51%,rgba(246,246,246,1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f6f6f6',GradientType=0 ); /* IE6-9 */
}
div#coachnavigation {
width: 990px;
margin: 0 auto;
font-weight: bold;
}
#coachnavigation .firstli {
background-image: url('../coach/images/logo_tsa.png');
background-repeat: no-repeat;
text-align: right !important;
padding-left: 35px;
}
#coachnavigation .down {
background-image: url('../images/button_down.png');
background-repeat: no-repeat;
background-position: 95% 50%;
padding-right: 26px;
}
div#searchbar {
clear: both;
float: left;
width: 975px;
height: 28px;
line-height: 28px;
background-color: #164a98;
padding-left: 15px;
color: #fff;
}
#searchbar a {
color: #fff;
}
#box
{
line-height: 32px;
}
#box .field
{
background: -webkit-gradient(
linear,
left bottom,
left top,
color-stop(0%, #FEFFFE),
color-stop(100%, #BDBDBD)
);
height: 20px;
margin: 0px;
-webkit-border-radius: 25px;
}
#box .field input[type=text]
{
padding: 2px 2px 2px 25px;
border: 0;
-webkit-border-top-left-radius: 25px;
-webkit-border-bottom-left-radius: 25px;
margin: 0;
outline: 0;
width: 144px;
height: 20px;
float: left;
background: url('images/magnifier.png') 7px 5px no-repeat;
border: 1px solid #333333;
color: #333333;
}
#box .field input[type=submit]
{
float: left;
background: -webkit-gradient(
linear,
left bottom,
left top,
color-stop(100%, #C6C6C6),
color-stop(0%, #8F8F8F)
);
border: 1px solid #606060;
width: 60px;
height: 26px;
padding: 2px 0 2px 0;
-webkit-border-top-right-radius: 25px;
-webkit-border-bottom-right-radius: 25px;
margin: 0 0 0 -1px;
opacity: 0.9;
cursor: pointer;
text-shadow: 1px 1px 0 #DBDBDB;
}
.coachnavmenu>li>ul>li>ul>li { width: 400px; }
.coachnavmenu,
.coachnavmenu ul,
.coachnavmenu li
{
padding: 0px;
margin: 0px;
z-index: 2;
text-align: right;
}
.coachnavmenu > li
{
float: left;
}
.coachnavmenu li
{
list-style-type: none;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
line-height: 30px;
letter-spacing: 0px;
color: #333333;
border-right: 1px inset #f6f6f6;
padding: 5px 12px 0px 12px;
}
.coachnavmenu > li li
{
list-style-type: none;
text-align: left;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
border: 1px solid #f6f6f6;
color: #333333;
background-color: #f6f6f6;
padding: 0 20px 0 4px;
}
.coachnavmenu ul
{
display: none;
position: absolute;
margin-left: -15px;
margin-top: -1px;
}
.coachnavmenu li:hover > ul
{
display: block;
}
.coachnavmenu ul.parent_hover
{
display: block;
}
.coachnavmenu a
{
color: #333333;
line-height: 100%;
width: 100%;
text-decoration: none;
}
.coachnavmenu li.greenhover:hover
{
color: #333333;
background-color: #7dc242;
}
.coachnavmenu li.hover,
.coachnavmenu a:hover
{
color: #333333;
background-color: #7dc242;
text-decoration: underline;
}
.coachnavmenu ul ul
{
margin-top: -30px;
left: 99%;
}
.coachnavmenu span
{
display: block;
}
.coachnavmenu
{
float: left;
width: 100%;
color: #000;
}
.endmenu
{
clear: left;
}
Live html can be found here, but I think the problem is the CSS.
http://www.buffalolacrosse.com/test.cfm
I am having issues getting this menu to display correctly. It works in chrome or firefox, just not in IE. The menus are collapsed (the li padding doesnt work) and the alignment is all out of whack on vertical alignment. Your help is appreciated.
I think you need to specify the line height of the a elements in your menu.
I tried by setting the
#coachnavigation a
{
line-height:30px;
}
and it appears fine to me.
also add z-index to your menu, so the dropdown wont appear behind some elements.
div#navwrapper {
z-index:999;
}
I am using "lightview" to show images in my website, the problem is that the image to much low, so I can see less than 50% of the photo
I that when I set Height to object in css, the image is lower
Here is my CSS code:
/****HTML Tags****/
body {
margin: 0;
padding: 0;
text-align: right;
direction: rtl;
font-family: Arial, Arial Hebrew, Helvetica, sans-serif;
}
::selection {
background: #BFBFBF;
}
header {
background-image: url('../g.png');
position: relative;
width: 100%;
background-repeat: no-repeat;
}
h1 {
font-family: Tahoma, Geneva, sans-serif;
text-decoration: underline;
color: #3852A4;
padding-bottom: 20px;
font-size: x-large;
}
/****General****/
.content {
width: 900px;
position: relative;
padding: 0px;
margin: 0 auto;
}
.main {
padding-right: 15px;
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2U1ZTVlNSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmZmZmZmYiIHN0b3Atb3BhY2l0eT0iMCIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(top, rgba(229,229,229,1) 0%, rgba(255,255,255,0) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(229,229,229,1)), color-stop(100%,rgba(255,255,255,0))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, rgba(229,229,229,1) 0%,rgba(255,255,255,0) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, rgba(229,229,229,1) 0%,rgba(255,255,255,0) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, rgba(229,229,229,1) 0%,rgba(255,255,255,0) 100%); /* IE10+ */
background: linear-gradient(to bottom, rgba(229,229,229,1) 0%,rgba(255,255,255,0) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e5e5e5', endColorstr='#00ffffff',GradientType=0 ); /* IE6-8 */
background-size: Auto 200px;
background-repeat: repeat-x;
}
.details {
padding-bottom: 15px;
}
.details div {
margin-top: 10px;
}
#author {
font-weight: bold;
font-size: 16px;
}
#date {
font-size: 14px;
font-weight: bold;
}
/**Track Properties***/
#area {
font-size: 14px;
}
.track {
position: relative;
padding: 0px;
margin: 0 auto;
width: 980px;
width: 100%;
}
.trackdetails {
position: relative;
top: -51px;
line-height: 25px;
border-right: 2px solid #9e9e9e;
padding-right: 25px;
padding-bottom: 15px;
font-size: 14px;
margin: 0;
left: 50px;
width: 250px;
float: left;
}
.title {
color: #3852A4;
font-size: large;
text-decoration: underline;
font-family: Tahoma, Geneva, sans-serif;
margin-bottom: 20px;
}
.trackdetails #content {
z-index: 1111;
}
#map-image {
display: inline-block;
padding-top:-50px;
}
#trackdescription {
text-align: justify;
max-width: 650px;
width: 500px;
float: right;
padding-bottom:100px;
}
How can I fix this?
Qish for help.. thanks!
Here is live example: http://lawb.co.il/test.html
Try top: 10% !important; or margin-top: -n; n = image box height / 2 :P n isn't a css property :)
For some reason the Menu div is floating too high when the menu is up but when it closes it's perfect. I'm not really sure what to do to bring that Menu div down to touch the right side div under it
footer {
width: 100%;
position: absolute;
bottom: 0;
left: 0;
}
#footer-content {
display: none;
}
#footer-left {
width: 20%;
height: 145px;
float: left;
background-color: #52291c;/*#805f4c;*/
opacity: 0.8;
} #footer-left h3 {
width: 95%;
font-size: 20px;
font-weight: lighter;
margin-top: 95px;
opacity: 1;
text-align: right;
} #footer-left h3 a {
color: #fff;
text-shadow: 1px 1px #000;
text-transform: lowercase;
}
#footer-right {
width: 80%;
height: 145px;
float: right;
background-color: #B29F63; /*#B29F63*/
opacity: 0.3;
} #footer-right ul {
margin: 30px 15px;
font-size: 24px;
} #footer-right ul li a {
color: #52291c;
}
.doing-tricks {
width: 150px;
position: relative;
left: 21%;
top: 132px;
font-size: 24px;
z-index: 100;
} .doing-tricks a {
color: #52291c;
}
.toggle-footer {
width: 100px;
margin: 0px auto;
padding: 10px;
cursor: pointer;
color: #52291c;
text-align: center;
text-shadow: 1px 1px #fff;
background: #B29F63;
background: -moz-linear-gradient(top, rgba(254,255,255,1) 0%, rgba(178,159,99,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(254,255,255,1)), color-stop(100%,rgba(178,159,99,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, rgba(254,255,255,1) 0%,rgba(178,159,99,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, rgba(254,255,255,1) 0%,rgba(178,159,99,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, rgba(254,255,255,1) 0%,rgba(178,159,99,1) 100%); /* IE10+ */
background: linear-gradient(to bottom, rgba(254,255,255,1) 0%,rgba(178,159,99,1) 100%); /* W3C */
opacity: 0.8;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
}
jFiddle: http://jsfiddle.net/rFdwr/1/
Make the .doing-tricks's position absoluteinstead of relative
.doing-tricks {
...
position: absolute;
...
}
Then you'll need to adjust the top positions of your texts inside the footer.
.nivo-controlNav does center itself inside the slider, but i can't get to center .nivo-controlNav span inside .nivo-controlNav.
code inspector:
.nivo-controlNav {
margin: 0 auto;
text-align: center;
width: 200px;
}
.nivo-controlNav span {
text-align: center;
}
.nivo-controlNav a {
display: block;
float: left;
width: 22px;
height: 22px;
background: url(images/bullets.png) no-repeat;
text-indent: -9999px;
border: 0;
margin-right: 3px;
margin: 0 auto;
}
.nivo-controlNav a.active {
background-position: 0 -22px;
}
.nivo-directionNav a {
display: block;
width: 30px;
height: 30px;
background: url(images/arrows.png) no-repeat;
text-indent: -9999px;
border: 0;
}
a.nivo-nextNav {
background-position: -30px 0;
right: 15px;
}
a.nivo-prevNav {
left: 15px;
}
.nivo-caption {
text-shadow:none;
font-family: Helvetica, Arial, sans-serif;
}
.nivo-caption a {
color:#efe9d1;
text-decoration:underline;
}
.shadow-top {
height: 10px;
background: -webkit-gradient(linear, 0 0, 0 bottom, from(#111), to(#333));
background: -moz-linear-gradient(#111, #333);
-pie-background: linear-gradient(#111, #333);
}
.shadow-bottom {
height: 10px;
background: -webkit-gradient(linear, 0 0, 0 bottom, from(#333), to(#111));
background: -moz-linear-gradient(#333, #111);
-pie-background: linear-gradient(#333, #111);
}
.shadow-slider {
margin: 0 auto;
overflow: hidden;
width: 940px;
height: 10px;
background: -webkit-gradient(linear, 0 0, 0 bottom, from(#999), to(#FFF));
background: -moz-linear-gradient(#999, #DDD);
-pie-background: linear-gradient(#222, #000);
}
#slider img {
float: left;
width: 958px;
height: 458px;
}
EDIT:
(I managed to center the div, but now .nivo-controlNav a loses its width and height because is not floating left).
How to solve this?
#slider-wrapper {
float: left;
height: 500px;
}
#slider {
float: left;
border: 1px solid #DDD;
position:relative;
background:url(images/loading.gif) no-repeat 50% 50%;
}
#slider img {
position:absolute;
top: 0px;
left: 0px;
display: none;
}
.nivo-controlNav {
margin: 480px auto 0;
overflow: hidden;
text-align: center;
width: 200px;
}
.nivo-controlNav span {
}
.nivo-controlNav a {
width: 22px;
height: 22px;
background: url(images/bullets.png) no-repeat;
text-indent: -9999px;
border: 0;
margin-right: 3px;
}
.nivo-controlNav a.active {
background-position: 0 -22px;
}
.nivo-directionNav a {
display: block;
width: 30px;
height: 30px;
background: url(images/arrows.png) no-repeat;
text-indent: -9999px;
border: 0;
}
a.nivo-nextNav {
background-position: -30px 0;
right: 15px;
}
a.nivo-prevNav {
left: 15px;
}
.nivo-caption {
text-shadow:none;
font-family: Helvetica, Arial, sans-serif;
}
.nivo-caption a {
color:#efe9d1;
text-decoration:underline;
}
I think you can achieve that by just using:
.nivo-controlNav span {
display: inline-block;
}
I would also remove the float:left from the link as that can cause problems. You do need display:block on the link in order to be able to give it a width.
You have a CSS class for .nivo-controlNav a set to float: left; which is likely overriding your text-align: center on the class .nivo-controlNav span
EDIT: To accomplish what you're after, try replacing your span elements with one parent ul and an li element where you have the spans now. Then add the following to your CSS and continue using float: left on your a elements.
.nivo-controlNav li {
text-align: center;
list-style: none;
}
Let me know if this isn't clear and I'll try to setup an example.
I'm not sure if the resolution of the screen can affect the CSS. My screen resolution is 1280 x 1024.
Last time, I tried my website: http://alexchen.co.nr/ in a friends's laptop and my webpage and an element (I think is #lang) moved out of place (i think it only happened in Chrome).
In my computer everything is fine (Firefox, Chrome, IE6, 7 , 8, etc.)
CSS (I'm also using Eric Meyer's CSS reset):
/* tags */
body {
background: #FFF;
color: #666;
font-family: Arial, "MS Trebuchet", sans-serif;
font-size: 75%;
}
h1 {
font-size: 28px;
}
h2 {
color: #DDD;
font-size: 18px;
padding: 0 0 10px 0;
}
h3 {
color: #666;
font-size: 10px;
font-weight: 700;
padding: 0 0 10px 0;
text-transform: uppercase;
}
p {
line-height: 160%;
}
a {
/*color: #0AE;*/
color: #08B;
list-style: none;
text-decoration: none;
}
a:hover {
color: #044;
}
/* structure */
.container {
overflow: hidden;
width: 960px;
}
/* header */
#header {
}
#header h1 {
padding: 190px 20px 5px;
overflow: hidden;
}
#header h1 a {
background: url(../images/logo.png) no-repeat scroll 0 0;
float: left;
text-indent: -9999px;
width: 216px;
height: 28px;
}
/* banner */
#lang {
float: right;
padding: 202px 0 0 0;
}
#lang li {
float: left;
}
#lang li a {
float: left;
font-size: 8px;
padding: 0 5px;
text-transform: uppercase;
}
#lang li.current a {
color: #666;
cursor: default;
border-bottom: 0px;
}
/* intro */
#banner {
overflow: hidden;
width: 960px;
}
#banner h3 a {
font-size: 28px;
}
#logo {
background-color: #222;
float: left;
overflow: hidden;
height: 169px;
width: 240px; /* ie6 hack */
height: 240px; /* ie6 hack */
}
#logo2 {
background: -moz-linear-gradient(top, #FFF, #DDD);
background: -webkit-gradient(linear, left top, left bottom, from(#FFF), to(#DDD));
filter: progid:DXImageTransform.Microsoft.Gradient(StartColorStr='#FFFFFF', EndColorStr='#DDDDDD');
background-color: #DDD;
float: left;
overflow: hidden;
height: 169px;
width: 240px; /* ie6 hack */
height: 240px; /* ie6 hack */
}
#logo3 {
background: -moz-linear-gradient(top, #FFF, #DDD);
background: -webkit-gradient(linear, left top, left bottom, from(#FFF), to(#DDD));
filter: progid:DXImageTransform.Microsoft.Gradient(StartColorStr='#FFFFFF', EndColorStr='#DDDDDD');
background-color: #DDD;
float: left;
overflow: hidden;
height: 169px;
width: 240px; /* ie6 hack */
height: 240px; /* ie6 hack */
}
#nav {
float: left;
padding: 200px 0 0 40px;
}
#nav li {
float: left;
}
#nav li a {
float: left;
border-left: 1px solid #08B;
font-size: 10px;
padding: 0 10px;
text-transform: uppercase;
}
#nav li.current a {
color: #888;
cursor: default;
border-bottom: 0px;
}
#tagline {
float: left;
margin: 0 40px 0 0;
width: 540px; /* 560 */
}
#tagline h3 {
font-size: 24px;
}
/* work */
#content {
color: #888;
}
.showcase {
overflow: hidden;
width: 960px; /* ie hack */
}
.first {
background: #222;
display: inline; /* ie6 hack */
float: left;
overflow: hidden;
position: relative;
width: 240px;
height: 240px;
}
.first h3, .first p {
color: #DDD;
padding: 20px;
}
.pusher {
background: #333;
display: inline; /* ie6 hack */
float: left;
overflow: hidden;
position: relative;
width: 240px;
height: 240px;
}
.blank-pusher {
background: #DDD;
display: inline; /* ie6 hack */
float: left;
overflow: hidden;
position: relative;
width: 240px;
height: 240px;
}
.pusher h3 {
color: #DDD;
padding: 120px 20px 10px;
}
.pusher p {
color: #DDD;
padding: 0 20px;
}
.nopic {
display: block;
overflow: hidden;
position: absolute;
top: 0;
left: 0;
}
.pic {
display: block;
overflow: hidden;
position: absolute;
top: 0;
left: 0;
opacity: 1;
}
.pic:hover {
opacity: 0.1;
filter: alpha(opacity = 10);
}
#fancybox-outer {
height: 100% !important;
}
#fancybox-inner {
height: 100% !important;
}
#inline1, #inline2, #inline3, #inline4, #inline5, #inline6, #inline7, #inline8 {
width: 680px;
}
#inline1 img, #inline2 img, #inline3 img, #inline4 img, #inline5 img, #inline6 img, #inline7 img, #inline8 img {
margin: 0 0 10px 0;
}
(continues...)
Normal display:
alt text http://img202.imageshack.us/img202/9638/normale.png
Abnormal display:
alt text http://img199.imageshack.us/img199/2846/notnormal.png
I think I in my friend's laptop the horizontal width, padding or margin of some elements was duplicated or something.
I made the text inside #lang a bit smaller, but not sure if the problem still there.
Is my webpage: http://alexchen.co.nr/ displaying correctly in your current screen resolution (IE, Firefox and Chrome)?
If not how do I fix it? what's causing the problem?
Too see what your site looks like for different machines, OSs, and browsers, check out http://browsershots.org/.
I just submitted a job here. Your site loads very slowly (try YSlow or Page Speed to see how you can speed it up) so some browsers will time out before it finishes and you'll see a blank screen.
Try to find out your friend's precise OS, browser type, and browser version. If he's on Chrome 4 and you're on Chrome 5, for instance, results can be different.