I am designing a website for the WKU Honors College. Whenever you view the website, you will notice that there is a large horizontal scroll to the right where there is clearly no content or reason for it to scroll. You can view the website at http://www1.wku.edu/honors/
Can anyone help me resolve this issue?
Large Horizontal Scroll?
Started by PorkyCorky, Oct 29 2009 03:01 PM
2 replies to this topic
#1
Posted 29 October 2009 - 03:01 PM
#2
Posted 29 October 2009 - 10:58 PM
Not sure exactly why it happens, but I found your problem.
Something with the left positioning is causing the page to stretch. I replaced it with a float, and it works fine.
There is still a gap, but that is caused by the white content box. The margin and width attributes are conflicting for some reason. You can research on why this might be possibly, but simply take out the width from this:
With those two tweaks in Firebug the whole page looks like I imagine it should.
#search {
left:75%;
position:relative;
top:40%;
}
Something with the left positioning is causing the page to stretch. I replaced it with a float, and it works fine.
#search{
float:right;
position:relative;
top:40%;
}
There is still a gap, but that is caused by the white content box. The margin and width attributes are conflicting for some reason. You can research on why this might be possibly, but simply take out the width from this:
#wrapper #centeringwrapper {
background-color:#F2E9D7;
font-family:"Trebuchet MS",Helvetica,Arial;
height:100%;
margin:0 auto;
padding-top:10px;
width:80%; <-- Remove this and the whole page looks fine
}
With those two tweaks in Firebug the whole page looks like I imagine it should.
#3
Posted 03 November 2009 - 01:19 PM
Thank you so much!
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users
