...

View Full Version : Problem Scrolling/Touch Swiping Mobile Site



Psionicsin
09-16-2011, 07:31 PM
I made a mobile site, however something in the coding is causing me and others not to be able to scroll or manipulate the site. Can a more experienced person take a look and see if you see anything funky?

An example of one of the URL's which needs the ability to scroll to see the whole list. (m.rutholsonphoto.com)

CSS:


/********* STRUCTURE *********/
/****************************/

/*
1. GENERAL TYPOGRAPHY:
1. Reset CSS
2. Body & html
3. Headings
4. Lists styles
5. Links
6. Text (paragraphs and colors)
7. Buttons
8. Input form

2. GENERAL LAYOUT:
1. General
2. Header (including navigation, logo)
3. Middle
4. Footer

3. SPECIFIC PAGES OR ELEMENTS:
1. Box search
2. Home page
3. Senior Challenge
*/

/************************ 1. GENERAL TYPOGRAPHY ****************************/
/***************************************************************************/

/* 1. Reset CSS
------------------------------------------------------*/

ul, ol, li, h1, h2, h3, h4, h5, h6, form, p, a, img {
border: 0 none;
margin: 0;
padding: 0;
}
ul, li {
list-style-type: none;
}

/* 2. Body & html
------------------------------------------------------*/

body {
background-color: #DCDCE1;
color: #848393;
font-family: Arial,Verdana,Helvetica,sans-serif;
font-size: 11px;
line-height: 14px;
margin: 0;
padding: 0;
}
html {
height: 100%;
overflow: hidden;
width: 100%;
}

/* 3. Headings
------------------------------------------------------*/

h1, h2, h3, h4, h5, h6 {
color: #5E636D;
font-weight: normal;
letter-spacing: 0;
line-height: 0.2em;
padding: 10px 10px 3px 0;
}
h1 {
font-size: 20px;
height: 26px;
}
h2 {
font-size: 18px;
height: 24px;
}
h3 {
font-size: 16px;
height: 22px;
}
h4 {
font-size: 14px;
height: 18px;
}
h5 {
font-size: 12px;
height: 16px;
}
h6 {
font-size: 11px;
height: 14px;
}

/* 4. Lists styles
------------------------------------------------------*/

.categories-inside {
background: url("../images/dropdown.png") no-repeat scroll center top transparent;
float: right;
height: 163px;
line-height: 18px;
margin: 0 1px 0 0;
width: 100px;
}
.categories-inside ul {
float: left;
margin: 8px 0 8px 8px;
padding: 0;
width: 84px;
}
.categories-inside ul li {
background: none repeat scroll 0 0 transparent;
display: block;
float: left;
margin: 0;
padding: 0;
}
.categories-inside ul li a:link, .categories-inside ul li a:visited {
background: none repeat scroll 0 0 transparent;
color: #F1F1F3;
display: block;
float: left;
margin: 0;
padding: 2px 0 4px 10px;
text-decoration: none;
text-shadow: 0 -1px 0 #000000;
width: 66px;
}
.categories-inside ul li a:hover {
color: #FFFFFF;
}
.list-icon {
color: #565961;
line-height: 14px;
text-shadow: 0 1px 0 #EEEEF1;
}
.list-icon li {
background: none repeat scroll 0 0 transparent;
list-style-type: none;
padding: 7px;
}
.list-icon li img {
float: left;
margin: 0 7px 0 0;
}
.list-icon li img, .list-icon li span {
vertical-align: middle;
}

/* 5. Links
------------------------------------------------------*/

a:link, a:visited, a:hover {
text-decoration: none;
}

/* 6. Text
------------------------------------------------------*/

.shadow {
text-shadow: 0 1px 0 #E9E9ED;
}
.text_normal {
color: #565961;
font-size: 11px;
padding: 0 0 15px;
text-shadow: 0 1px 0 #E9E9ED;
}
.text_center {
text-align: center;
}
.text_form {
color: #565961;
float: left;
font-size: 11px;
line-height: 43px;
padding: 0;
text-shadow: 0 1px 0 #E9E9ED;
width: 60px;
}
.title_article {
color: #5E636D;
font-size: 14px;
font-weight: normal;
height: 18px;
letter-spacing: 0;
line-height: 0.4em;
}
.text_article {
padding: 12px 0 2px;
text-shadow: 0 1px 0 #E9E9ED;
}
.title_item {
color: #5E636D;
font-size: 14px;
font-weight: normal;
height: 18px;
letter-spacing: 0;
line-height: 0.2em;
}
.text_item {
padding: 4px 0;
text-shadow: 0 1px 0 #E9E9ED;
}

/* 7. Buttons
------------------------------------------------------*/

.search {
float: right;
margin: 9px 20px 0 0;
}
.butt_black {
margin: 8px 20px 0;
}
.butt_black.right {
float: right;
}
.butt_black.left {
float: left;
}
.buttons {
margin: 0 auto;
position: relative;
width: 208px;
}
.prev_next {
position: relative;
width: 100%;
}
.butt_right {
float: right;
position: relative;
}
.button {
background-image: url("../images/button_gray.png");
color: #9F9EAC;
display: block;
font-size: 12px;
font-weight: bold;
height: 34px;
line-height: 34px;
padding: 0;
position: relative;
text-shadow: 0 1px 0 #E0E0E3;
}
a.button {
cursor: pointer;
}
a.button:hover {
color: #4D4D4D;
}
.before, .after {
background-image: url("../images/button_black.png");
display: block;
height: 34px;
position: absolute;
top: 0;
width: 21px;
}
.button .before {
background: url("../images/before_gray.png") no-repeat scroll 0 0 transparent;
left: -21px;
}
.button .after {
background: url("../images/after_gray.png") no-repeat scroll 0 0 transparent;
right: -21px;
}
.button.search_button {
float: right;
margin: 10px 22px 10px 32px;
}
.button.right_top {
float: right;
margin: -3px 21px 20px 0;
}
.button.left {
float: left;
margin: 12px 0 20px 21px;
}
.button.right {
float: right;
margin: 12px 21px 20px 0;
}
.button.submit {
float: left;
margin: 10px 0 22px 91px;
}

/* 8. Input form
------------------------------------------------------*/

.input {
margin: 0 0 5px;
width: 100%;
}
.input_text, .contact_form, .text_area {
font-family: Arial,Verdana,Helvetica,sans-serif;
font-size: 11px;
width: 194px;
}
.input_text, .contact_form {
background: url("../images/input_text.png") no-repeat scroll center center transparent;
border: 0 none;
color: #9999A4;
height: 30px;
line-height: 30px;
padding: 0 8px;
}
.input_text {
margin: 6px;
}
.contact_form, .text_area {
float: right;
margin: 5px 0 6px;
}
.text_area {
background: url("../images/text_area.png") no-repeat scroll center center transparent;
border: 0 none;
color: #9999A4;
height: 96px;
padding: 8px;
}

/************************** 2. GENERAL LAYOUT ******************************/
/***************************************************************************/

/* 1. General
------------------------------------------------------*/

#content_header {
margin: 0 auto;
width: 100%;
}
#content_navigation, #content_footer {
margin: 0 auto;
width: 320px;
}

/* 2. Header
------------------------------------------------------*/

#top {
background: url("../images/bg_header.png") repeat-x scroll 0 0 transparent;
width: 100%;
}
#navigation {
background: url("../images/bg_navigation.png") repeat-x scroll 0 0 transparent;
border-bottom: 1px solid #F1F1F3;
height: 49px;
width: 100%;
}
#header {
background: url("../images/bg_header_center.png") no-repeat scroll center center transparent;
min-height: 54px;
width: 100%;
}
#categories-dropdown {
display: none;
height: 163px;
margin: 0 auto;
position: absolute;
top: 114px;
width: 300px;
z-index: 100;
}
.home {
border-bottom: 1px solid #F6F6F7;
}
.page_x {
border-bottom: 1px solid #5E5D63;
}

/* 3. Middle
------------------------------------------------------*/

.box_center {
margin: 0 auto;
}
#page_x {
padding: 20px 0 0;
width: 280px;
}

/* 4. Footer
------------------------------------------------------*/

#footer {
background-color: #1D1C20;
border-top: 1px solid #F1F1F3;
clear: left;
color: #DCDCE1;
font-size: 10px;
height: 40px;
margin: 24px 0 0;
width: 100%;
}
#footer a {
color: #DCDCE1;
}
#footer a:hover {
color: #FFFFFF;
}
#copyright {
float: left;
margin: 12px 0 0 20px;
}
/*#back_to_top {
float: right;
margin: 11px 20px;
}
#back_to_top img, #back_to_top span {
vertical-align: middle;
}*/

/************************** 3. SPECIFIC PAGES ******************************/
/***************************************************************************/

/* 1. Box search
------------------------------------------------------*/

#box {
background: url("../images/search_box.png") no-repeat scroll center center transparent;
height: 145px;
margin: 0 auto;
padding: 20px 0 0;
position: absolute;
text-align: center;
top: -400px;
width: 100%;
z-index: 999999;
}

/* 2. Home
------------------------------------------------------*/

#menu_index {
padding: 27px 0;
text-align: center;
width: 100%;
}
#menu_index ul {
display: inline-block;
list-style: none outside none;
margin: 0;
padding: 0;
}
#menu_index ul li {
display: inline-block;
margin: 10px 2px 0 4px;
padding: 0;
}
#menu_index img {
float: left;
}

/* 3. Senior Challenge
------------------------------------------------------*/

.bigmenu {
background: none repeat scroll 0 0 #E2E2E2;
border: 1px solid #A7A7A7;
color: #636262;
display: block;
font-size: 22px;
margin: 8px 0;
padding: 15px 10px;
text-decoration: none;
text-shadow: 1px 1px 1px #FFFFFF;
width: auto;
}
.smallmenu {
background: none repeat scroll 0 0 #E2E2E2;
border: 1px solid #A7A7A7;
color: #636262;
display: block;
font-size: 14px;
line-height: 28px;
margin: 0;
padding: 0 0 0 4px;
text-decoration: none;
text-shadow: 1px 1px 1px #FFFFFF;
width: auto;
}
a.bigmenu img.arrowright, a.smallmenu img.arrowright {
float: right;
}


Let me know if anything else code-wise is needed for further info.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum