Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Bottom scrollbar because of 2px on right

Status
Not open for further replies.

ro88o

Programmer
Jun 25, 2005
24
0
0
GB
If you go to and view it in Firefox you will notice a scroll bar appears at the bottom of the browser window because on the far right of the page there is about 2 pixels of white space. Can anyone see in my css ( why this white space is appearing and how to get rid of it ?

TIA, ro88o
 
Since there was no answer, I will provide a possible solution to your problem. The problem lies in the contents of the #subsection element. If you remove the span, the scrollbar disappears. However, I have not found any setting in that span that would cause this kind of behaviour. I have found an alternative fix. If you do the following, Mozilla (FF) should have no scrollbar:
Code:
#subsections {
  [blue][b]padding-right: 3px;[/b][/blue]
  clear: both;
  height: 25px;
  min-height: 25px;
  line-height: 25px;
  text-align: right;
  background: #e1ffc7;
}
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top