Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
plamere
· 14y ago · 0 comments
magenta - I spent about 10 minutes trying to center it all, but I couldn't get Raphael.js to behave, so since it was a weekend hack, I moved on. But yes, it would look much nicer if it was centered, even more so if a designer did the design ...
Comments
[–]
yuchi
14y ago
body { width: 730px; margin: 0 auto; }
does the trick.
[–]
plamere
OP
14y ago
yep, that did it, thanks much yuchi!
[–]
yuchi
14y ago
Actually you should also correct some internal width that causes the whole page to overflow horizontally, causing a useless scrollbar.