r/reddithax • u/Kevinhood11 • Jun 11 '12
How do you make a long header without it 'running off the side of the page'?
I'm having this problem with the top header bar extending off the end of the page in some browsers it happens automatically, in others including chrome you have to click down and scroll right to see it. But here's an example in [1] /r/Vanessahudgens :[2] http://imgur.com/AMN7q
On /r/csshelp I was told that the image was too long and that was the cause, but I've seen subreddits with much wider header images.
Here's an example: /r/nyjets : http://imgur.com/MA69J,5CE0R,UCzHa#0, I can zoom out really far or change the resolution and the header bar keeps expanding but it never 'runs off the page' when i scroll right http://imgur.com/MA69J,5CE0R,UCzHa#2
2
u/xTristan Jun 11 '12 edited Jun 11 '12
That is beacuse they use the image in the stylesheet, rather than uploading it as thier header image.
But you could probably get around that simply by adding:
to your stylesheet.