4 ms·
About time! It's actually really nice to surf on the iPhone, I hit up several sites on my phone when I'm out of the home/office. But Y!Hacker isn't on the lis
by bprater 18y ago
About time!
It's actually really nice to surf on the iPhone, I hit up several sites on my phone when I'm out of the home/office.
But Y!Hacker isn't on the list because of that issue. Not sure how you are going to deal with it though, different style sheet for iPhone users?
- pg 18y agoStyle sheet? What's that?
- markbao 18y agoWait. No way. Really? checks source Wow.
- j2d2 18y agohttp://ycombinator.com/news.css http://ycombinator.com/news.css
- axod 18y ago<meta name="viewport" content="width=640, height=800" /> This is a good start... The iPhone defaults to a pretty large viewport which makes text small, and lots of zooming, scrolling. The meta above just tells it to not create such a large virtual screen.
- PieSquared 18y agoStylesheets (called CSS) are the ways of changing the way HTML is presented with a browser. The idea was that HTML would be for document mark-up, while CSS would be for how that mark-up would be formatted (although that idea isn't ever really followed). You seem to have a news.css, though, so I guess you must've just missed the terminology? That's a stylesheet. You can just create a separate one which will be used whenever the browser is the iPhone browser, and that would change the entire page such that it's easily viewable and usable on an iPhone. (Change the margins, the view-port, the font sizes, maybe colors if necessary, etc).
- ars 18y agoPieSquared, pg knows what a style sheet is. He was making a joke.
- josefresco 18y agoA HN classic. I hope Pie was also joking :)
- PieSquared 18y agoOops. Guess I should've made that clearer.
- rokhayakebe 18y agoel O el.