You are currently viewing the BOOK: Beginning Web Programming with HTML, XHTML, and CSS section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
I've been working on a new site and for some reason the page has a horizontal scroll bar with no content other than what appears within the screen without scrolling horizontally. my page width is 980px with "margin-left:" and "margin-right:" set to "auto;" as recomended by the book. any suggestions?
Are you saying that when you scroll horizontally, there is no new content, so there is no reason for it?
If so, you can set the scrolling to no. However, other browsers may need that horizontal scrolling if the page doesn't fit on their screen.