Web Hosting Talk







View Full Version : Small prob with design


myself1982
12-03-2004, 10:38 AM
www.grungemusicforum.com/becks.php

How do I get rid of the scroller at the bottom? Not sure why it is there as nothing is out of place???

Thanks

the_pm
12-03-2004, 10:47 AM
That's an easy one :) You have width="102%" in your parent table, which will always force a scroll if it's used in a top-level element. Either change it to 100%, or remove all of your tables entirely, place your content in a <div> with - width:735px ; margin:auto - in your style sheet assigned to that <div>, and switch to an XHTML Strict/1.1 DOCTYPE.

The first way solves your problem quickly. The second way solves it correctly. The choice is yours!

meth0
12-03-2004, 10:49 AM
The scroller is going to appear in other people's browsers whether you try and code it out or not. No need to fuss too much about it. Not all users co-operate nicely with designers and maximize their browsers, not open folder or history panes or never crank up the personal settings for vert scroller width.

Don't worry about it unless the site is horrifically wide and a user has to scroll horiz like mad to target content. Your's isn't, it's fine.

Although the centre justified text down the one colums is kinda amateurish looking. Try using a 2 column layout to shorten the text line length and aligning left. Perhaps some hr's to divi up the content items...

myself1982
12-03-2004, 10:49 AM
Ahh, I'm so stupid

Thanks a lot