Search

You searched for the word(s): userid:690153

Matching Posts

  • CSS - visibility: hidden vs. display: none

    Are these two techniques interchangeable? Is there an advantage to using one over the other? -Thx
    Posted to Client Side Web Development (Forum) by kilik on 12/13/2008
  • Re: CSS Units

    Let's assume that I want my default font-size to be 62.5%. Should I use a global selector or apply the rule to the body? * { font-size: 62.5%; } OR body { font-size: 62.5%; } If I apply it to the body then the heading tags, for example, will maintain there font-size and thus will have "higher" em values. If I then use em values for padding or border there will be some inconsistencies on the page. No? Is that the desired efect? -Thx
    Posted to Client Side Web Development (Forum) by kilik on 12/11/2008
  • CSS Units

    I'm having trouble understanding CSS Units. Pixels seem to make sense for layout (size, position, margin, and padding) while 'em's do not. Conversely 'em's and percents feel appropriate for text. Can anyone share some insight or resources that clarify what units to use given the situation? -Thx
    Posted to Client Side Web Development (Forum) by kilik on 12/10/2008
  • Re: CSS Selector - a:link:hover versus a:hover?

    I was looking at some code and got curious. Thanks for the response.
    Posted to Client Side Web Development (Forum) by kilik on 11/14/2008
  • CSS Selector - a:link:hover versus a:hover?

    I'm just curious what is the difference between the following css selectors: a:hover { } a:link:hover { } What is implied by having 2 pseudo classes in the second selector? -Thx
    Posted to Client Side Web Development (Forum) by kilik on 11/14/2008
  • Default Controller?

    Is there a way to designate a controller as the default? In other words it would handler all of the requests to '/'. Lets say I have a 'ProductsController' with methods 'Foo' and 'Bar'. What I want to is to have requests to 'http://website/Foo' and 'http://website/Bar' to go to the products controller. -Thx
    Posted to ASP.NET MVC (Forum) by kilik on 10/15/2008
  • Re: Embedding Servide Side Code in JS

    var someList = <%= BuildAJSListFromADbOnTheServer() %> ; ...is Javascript - not C#. I'm trying to embed server code INSIDE client side javascript. When the request comes in the sever code in <%=%> outputs JavaScript tokens not C# tokens. The code runs. It's just that the editor in VS starts yelling at me for putting bad syntax inside a client side <script> tag. I'd like to get VS to shut up because the code inside the <%%> is not JavaScript thought it will be when
    Posted to Client Side Web Development (Forum) by kilik on 9/29/2008
  • Format Document (Ctrl-K, Ctrl-D)

    Ctrl-K, Ctrl-D give me this: <title> <%= Html.Encode(ViewData["Title"]) %></title> Instead what I want it to do is this: <title><%= Html.Encode(ViewData["Title"]) %></title> NOTE: no line break between the opening title tag and the opening '<%' tag. What is this '<%' tag called anyway?? I set up some 'Tag Specific Options' that work when the content is text. They don't seem to work when the content is '<
    Posted to Visual Studio 2008 (Forum) by kilik on 9/29/2008
  • Embedding Servide Side Code in JS

    What's the best way to embed server side code in JavaScript without freaking out the VS 2K8 page validator? For example something like this... <script type="text/javascript"> var someList = <%= BuildAJSListFromADbOnTheServer(); %> ; </script> ...causes the VS validator to get mad. Things get worse as you try to embed more C#.
    Posted to Client Side Web Development (Forum) by kilik on 9/28/2008
  • Returning JSON

    Is there a straightforward way to return JSON from a Controller action? For example how would I return the list of employees in Northwind using LINQ as JSON to the browser? -Thx
    Posted to ASP.NET MVC (Forum) by kilik on 9/14/2008
Page 1 of 6 (59 items) 1 2 3 4 5 Next > ... Last »