CSS stylesheet

Discussion in 'ASP .Net' started by Guest, May 17, 2005.

  1. Guest

    Guest Guest

    I want to use css stylesheet in my asp.net web application but when i write
    <LINK href="style.css" type="text/css" rel="stylesheet"> in the header,
    visual studio tells me that the active schema does not support the element
    LINK. And the css isn't use when it's built. The style is not reflected. How
    do I include a css in my webpage?
    Guest, May 17, 2005
    1. Advertisements

  2. Line

    <meta name=vs_targetSchema

    should take care of the active schema problem.

    The styles should be in effect regardless of the schema error. Is the css
    file in the same directory?

    Eliyahu Goldin, May 17, 2005
    1. Advertisements

  3. Hey

    VS is crap foor designing web pages - use dreamweaver.
    Dreamweaver is crap for developing codebehinds - use VS


    thechaosengine, May 17, 2005
  4. Guest

    Guest Guest


    I have the same entry in the html code

    <LINK href="Style.css" type="text/css" rel="stylesheet">

    but I add the css file in the project... try that.

    Thales - Services Division
    Bulnes 2756 P.5 - C1425DKX
    Ciudad Autónoma de Buenos Aires
    Tel.: (+5411) 4806-9146
    Fax.: (+5411) 4807-0563
    Guest, May 17, 2005
  5. Guest

    Guest Guest

    Drag and drop the style sheet on the form....vs will do the typing....
    Guest, May 17, 2005
  6. Guest

    Guest Guest

    I just discovered (if I'm not wrong) that it's just the repeater's format on
    that page doesn't follow the style of my stylesheet. How to format a repeater
    with a css?
    Guest, May 18, 2005
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.