Well, we are having a hard time getting a client's layout perfect on Google Chrome and Safari. I have already looked over the web, and no good ways are there to do this. So, let me know, if any of the CSS experts can help us in this situation.
Google Chrome browser hack Use body:nth-of-type(1) .elementOrClassName{property:value;} only for google chrome. For Example: body:nth-of-type(1) .logo{margin:20px;} Safari browser hack Use Syntax: body:first-of-type .elementOrClassName{property:value;} Fox Example: body:first-of-type .logo{margin-top:10px;} only for safari. http://htmlcsstutorials.blogspot.com/2009/06/web-browser-hacks-css-hacks-ie-firefox.html
If you are trying to hack for Chrome, then you don't know what you're doing. But without a link, or the complete markup, anything is a wild-hair guess. Like Bapinder's ridiculous post.
Ridiculous? I know that you shouldn't use hacks for Google Chrome and Safari. But the question of the topic was "Is there a CSS hack for Chrome Browser". And the answer is "Yes". So my post isn't ridiculous, because it actually helped the user.
Wait for it... And what was the problem the OP had? And what does your nonsense post do to solve it? Since the user didn't say it helped anything, and he didn't even try it yet, how ridiculous does that make this post?
Why does he not use the best answer thing I have heard so much about as that will stop me from clicking on this as it will say SOLVED
Embarrassed for what? Cause you did some behind the scenes communication no one else knew about? Where did you get the source for his page to come up with that CSS to fix it? What was the original problem?!! Neither a link nor source was ever provided but somehow you fixed it with "example" code?! Don't make me laugh.
He asked for a hack for Google Chrome and Safari and I posted the examples. So he must have changed the examples for his own needs.