Live data from Hacker News

Web Starter Kit

developers.google.com

91–100 of 218 posts

Re: Web Starter Kit

#91
post #90
post #83

Earlier quoted context omitted.

> After a little practice, it can even get easy. Just googling for "vertical align text css" should be enough to tell you that different layout is needed. Why shouldn't there be a layout model that makes it easy to do the things people are trying to do? The idea that we shouldn't even attempt to create a better one is silly.

We already have one. http://jsfiddle.net/gJP9k/

Except in IE.

Re: Web Starter Kit

#92

The web is now hamstrung by the HTML/CSS layout model more than anything else. The hackery required to attempt to imitate native mobile apps is horrific. Google would be better off throwing efforts into a new layout engine leveraging raw JS and WebGL, but with a sane API, than these continuous attempts to push HTML into places where it doesn't work. If they don't lead it I can see someone else doing it in such a way…

Personally I'd rather use HTML/CSS than Android's xml (blech) layout syntax

Re: Web Starter Kit

#93
post #83

Earlier quoted context omitted.

This is the same complaining I always hear from people who don't want to learn how to use HTML and CSS. Yes, it is different than what you are used to. Yes, it will take some time to learn and some of that will be uncomfortable. But that does not mean that that HTML and CSS are bad. I know this because I successfully build mobile sites that look and function fine and I assure you it works. You say "hackery is require…

> After a little practice, it can even get easy. Just googling for "vertical align text css" should be enough to tell you that different layout is needed. Why shouldn't there be a layout model that makes it easy to do the things people are trying to do? The idea that we shouldn't even attempt to create a better one is silly.

#vertalign {height: 50%; position: absolute; top: 25%; }

There you go. That CSS is useful for popup dialogs. Though most of the difficulties I see with vertical-alignment are due to poor design and implementation.

HTML and CSS get new features all the time so clearly nobody is saying they shouldn't improve. It's people saying that "HTML is inherently broken so there should be something else but they don't know what" that I am getting sick of.

Re: Web Starter Kit

#94

It seems the navigation disappears entirely when you shrink the window. I would think they would implement their "hamburger" icon?

On other pages it does hamburger icon properly, so, presumably, it's an issue with that page.

Re: Web Starter Kit

#95

The web is now hamstrung by the HTML/CSS layout model more than anything else. The hackery required to attempt to imitate native mobile apps is horrific. Google would be better off throwing efforts into a new layout engine leveraging raw JS and WebGL, but with a sane API, than these continuous attempts to push HTML into places where it doesn't work. If they don't lead it I can see someone else doing it in such a way…

This is the same complaining I always hear from people who don't want to learn how to use HTML and CSS. Yes, it is different than what you are used to. Yes, it will take some time to learn and some of that will be uncomfortable. But that does not mean that that HTML and CSS are bad. I know this because I successfully build mobile sites that look and function fine and I assure you it works. You say "hackery is require…

>but forcing it to be something else purely for reasons of fashion is foolish.

its not fashion, it is UX, usability, and standardization

Re: Web Starter Kit

#96
post #83

Earlier quoted context omitted.

This is the same complaining I always hear from people who don't want to learn how to use HTML and CSS. Yes, it is different than what you are used to. Yes, it will take some time to learn and some of that will be uncomfortable. But that does not mean that that HTML and CSS are bad. I know this because I successfully build mobile sites that look and function fine and I assure you it works. You say "hackery is require…

> After a little practice, it can even get easy. Just googling for "vertical align text css" should be enough to tell you that different layout is needed. Why shouldn't there be a layout model that makes it easy to do the things people are trying to do? The idea that we shouldn't even attempt to create a better one is silly.

I know your pain, vertically aligning anything in CSS is quite annoying, unless you have a fixed width outer container. That being said, that's a problem with CSS implementation as it pertains to this one particular problem. The fix isn't to chuck CSS and HTML, but to keep improving it.

Re: Web Starter Kit

#97

I suppose you could go this route. More realistic is to produce different server side files for each client type and keep it simple. There are tons of business reasons to make them physically separate as well, special promotions, advertising requirements, conditional scripts, etc.

One reason not to use your method: Google's own guidelines. See:

https://developers.google.com/webmasters/smartphone-sites/de...

"Sites that use responsive web design, i.e. sites that serve all devices on the same set of URLs, with each URL serving the same HTML to all devices and using just CSS to change how the page is rendered on the device. This is Google's recommended configuration."

Generally I've found that when Google recommends something, their search algo prefers this too. I obviously don't have direct proof that it does, but if SEO matters I'd follow what they suggest.

Re: Web Starter Kit

#98
post #83

Earlier quoted context omitted.

This is the same complaining I always hear from people who don't want to learn how to use HTML and CSS. Yes, it is different than what you are used to. Yes, it will take some time to learn and some of that will be uncomfortable. But that does not mean that that HTML and CSS are bad. I know this because I successfully build mobile sites that look and function fine and I assure you it works. You say "hackery is require…

> After a little practice, it can even get easy. Just googling for "vertical align text css" should be enough to tell you that different layout is needed. Why shouldn't there be a layout model that makes it easy to do the things people are trying to do? The idea that we shouldn't even attempt to create a better one is silly.

I think the problem comes from a lack of understand of the complexity of such a task. Vertical align text according to what? The easiest way to vertical align text is exactly how you'd expect it to be, and it solves the problem perfectly.

If you want to align text vertically, you just do

  font-size: 20px;
  line-height: 40px;
  vertical-align: middle;
What's the problem?

Re: Web Starter Kit

#99
post #46

It seems the navigation disappears entirely when you shrink the window. I would think they would implement their "hamburger" icon?

Ah, cool I think you have hit an intended design feature. We use min-device-width to know that you started on a smaller screen (or a wide screen). If you are on a wide screen responsive elements are changed slightly to fit the screen. If you start on a small screen you get the hamburger menu. Can you file an issue on the github project so that we can work on it to see if it is an issue.

On the homepage, the 'hamburger' menu doesn't show. Every other page is fine though.

Re: Web Starter Kit

#100
post #82
post #17

Earlier quoted context omitted.

Web was never meant for applications. Other hypertext models like Hypercard and Xerox PARC experiments had better support. I really hope that we can sort out this mess some day. I personally like apps are making the network more relevant than the Web. What matters are communication protocols.

"Web was never meant for applications" And yet the web is a better platform for applications than anything else. Zero installation, linkable states via URLs, universal back button support, accessibility hooks, multi-device, write-once-run-anywhere and an enormous variety of available programming languages. All of that, AND it's built on top of truly open standards that aren't controlled by a single company and can't…

write-once-debug-hack-anywhere is more accurate.
Post reply on HN