MVC CSS on VB

Hi!
Sorry my very poor english ...
I'm migrating web form project to mvc and i have a lot of doubts. One of them is how to put css on mvc controls like textbox for example. How do that in visual basic? i only saw c# implementation and it seems working, but on vb don't:
ex:
<%= Html.TextBox("txtDate", Nothing, New { @class = "csstext" }) %>
<%= Html.TextBox("txtDate", Nothing, New { .@class = "csstext" }) %>
<%= Html.TextBox("txtDate", Nothing, New With { @class = "csstext" }) %>
<%= Html.TextBox("txtDate", Nothing, New With { .@class = "csstext" }) %>
all of the implementation above generate errors on compilation
<%= Html.TextBox("txtDate", Nothing, New With { ._class = "csstext" }) %>
This implementation don't, but my css doesn't work!
And if i put like this: <asp:TextBox ID="txtDate2" runat="server" CssClass="csstext" />
Works!!
I apreciate if you could help me!
Thank you very much

Hello,
Specifically, this should be asked in the
ASP.Net MVC forum on forums.asp.net.
Karl
When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
My Blog: Unlock PowerShell
My Book: Windows PowerShell 2.0 Bible
My E-mail: -join ('6F6C646B61726C40686F746D61696C2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

Similar Messages

  • How to get background color in MVC programming

    Hi Experts,
    I am new to BSP.
    I am working in CRM 7.0 version and designing a view using MVC method in BSP.
    I have two doubts::
    1. How can i get background color in a view ?
    2. How can i attach a picture, that is in paint-brush, in background ?
    Thanks in Advance.
    Nitin Karamchandani.
    Edited by: Nitin Karamchandani on Jun 3, 2009 8:10 AM

    Hi,
    several html tags have the attribute bgcolor, like
    <body bgcolor="red">  or <body bgcolor="RRGGBB">  where RR, GG, BB is an hexadecimal value according to RGB color palette.
    you can also work with CSS and in this case you affect the attribute style, which is also available in several tags:
    document.body.style.backgroundColor="#EEEEEE"

  • I'm developing a web site using MVC3 & Razor, but my css changes do not show up on FireFox, but do on Chrome & Internet Explorer - How can I get Razor to render correctly on FireFox?

    I don't have a public version as I'm just staring development.
    For an example I have completed the walk-thru at [http://www.asp.net/mvc/tutorials/getting-started-with-ef-using-mvc/updating-related-data-with-the-entity-framework-in-an-asp-net-mvc-application]. Then I tried changing minor items in site.css (such as font size) and the changes did not show up on FireFox, but do show up on Chrome and Internet Explorer.
    Example of change below: I changed the background from #e8eef4 to #ff0000. The table header background shows up in red for chrome & IE, but stay in light blue for FireFox.
    <code>
    table th {
    padding: 6px 5px;
    text-align: right;
    background-color: #ff0000;
    border: solid 1px #e8eef4;
    </code>

    You can also reload web page(s) and bypass the cache.
    *Press and hold Shift and left-click the Reload button.
    *Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    *Press "Cmd + Shift + R" (MAC)

  • JDeveloper: Viewing a .css on JSP at design-time + run-time

    Hi,
    As a newbie to JDeveloper, i'm struggling to get a stylesheet reference to work in both the Design view and at run-time. Dragging a stylesheet on to the JSP works fine in the development enviroment, but when the JSP is called from a controlling servlet, the stylesheet doesn't render. From looking on the web it seems i have to use request.getContextPath() to get the path: doing this works at runtime, but in the design view of JDeveloper doesn't show anything (obviously wouldn't because the getContextPath is evaluated at runtime).
    Is there a work around so i can see a style sheet rendered in both design & runtime?
    Thanks,
    Phil

    Hi,
    Thanks for your reply. When I added my stylesheet (from the component palette) JDev put it in a 'css' folder. When I drag it on to the page it uses ..href = "css/stylesheet.css".. This doesn't work at runtime, neither does href = "/css/stylesheet.css".
    To explain the problem better...if I create a new project with 2 jsp files and link them together with Go to page 1 etc this is fine. As soon as I use the mvc method of controlling jsps thorough servlets I can call page 1 fine, but if I linked back to page 2 with the href calling the jsp directly (rather than through a servlet) it won't find the page, because the context root has an extra 'servlet' folder on the path, ie it's looking for page 2 in "Testing-Project-context-root/servlet/page2.jsp", when it's not located in a servlet folder. This is why the css file is not rendering, because it's looking for it in a servlet folder. I can only get round it at the moment by using:
    <link type="text/css" rel="stylesheet" href="<%=request.getContextPath()%>/css/stylesheet.css"/>. This of course is no good in the development environment.
    Thanks,
    Phil

  • Upgrade to MVC 5.0 causes @Html.Partial razor to no longer render on the server (locally runs fine)

    I've recently upgraded my MVC 4 application to MVC 5.  When debugging locally (IIS Express or full), the application runs as before.  When deploying, via Visual Studio, to our development box, I get the following error from IIS:
    Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
    Compiler Error Message: CS1928: 'System.Web.WebPages.Html.HtmlHelper' does not contain a definition for 'Partial' and the best extension method overload 'System.Web.Mvc.Html.PartialExtensions.Partial(System.Web.Mvc.HtmlHelper, string)' has some invalid arguments
    Source Error:
    Line 25: <body>
    Line 26: <div id="applicationHost">
    Line 27: @Html.Partial("_splash")
    Line 28: </div>
    Line 29:
    The detailed compiler output shows the following:
    Microsoft (R) Visual C# Compiler version 4.0.30319.17929
    for Microsoft (R) .NET Framework 4.5
    Copyright (C) Microsoft Corporation. All rights reserved.
    d:\websites\mvcapp\Views\ItemCard\index.cshtml(27,10): error CS1928: 'System.Web.WebPages.Html.HtmlHelper' does not contain a definition for 'Partial' and the best extension method overload 'System.Web.Mvc.Html.PartialExtensions.Partial(System.Web.Mvc.HtmlHelper, string)' has some invalid arguments
    d:\websites\mvcapp\Views\ItemCard\index.cshtml(27,10): error CS1929: Instance argument: cannot convert from 'System.Web.WebPages.Html.HtmlHelper' to 'System.Web.Mvc.HtmlHelper'
    d:\websites\mvcapp\Views\ItemCard\index.cshtml(32,83): error CS0103: The name 'Url' does not exist in the current context
    It looks as if there is perhaps a namespace collision in the compiled temp assembly.  
    The code of the .cshtml file in question is as follows:
    @using System.Web.Mvc
    @using System.Web.Mvc.Html
    @using System.Web.Optimization
    <!DOCTYPE html>
    <html>
    <head>
    <title>MVC App</title>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <meta name="format-detection" content="telephone=no"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    @Styles.Render("~/Content/css")
    <script type="text/javascript">
    if (navigator.userAgent.match(/IEMobile\/10\.0/)) {
    var msViewportStyle = document.createElement("style");
    var mq = "@@-ms-viewport{width:auto!important}";
    msViewportStyle.appendChild(document.createTextNode(mq));
    document.getElementsByTagName("head")[0].appendChild(msViewportStyle);
    </script>
    </head>
    <body>
    <div id="applicationHost">
    @Html.Partial("_splash")
    </div>
    @Scripts.Render("~/scripts/vendor")
    @if(HttpContext.Current.IsDebuggingEnabled) {
    <script type="text/javascript" src="~/Scripts/require.js" data-main="@Url.Content("~/App/main")"></script>
    } else {
    @Scripts.Render("~/Scripts/main-built")
    </body>
    IIS on the server is running a 4.0 apppool, and .NET 4.5 is installed on the box.
    Thanks,
    Josh

    Hi Pianomanjh,
    Microsoft-Web-Helpers has been replaced with Microsoft.AspNet.WebHelpers. You should remove the old package first, and then install the newer package. Please see how to upgrade an MVC 4 project to MVC 5 and follow the
    steps on the following link.
    http://www.asp.net/mvc/tutorials/mvc-5/how-to-upgrade-an-aspnet-mvc-4-and-web-api-project-to-aspnet-mvc-5-and-web-api-2.
    By the way, this thread is specific to ASP. NET forum. This form is to discuss problems about CLR development. If you have any questions about ASP.NET, please post a new thread on that forum for more effective response.
    http://forums.asp.net/.
    Thank you for your understanding.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Where is the path of default.css the .rpt file

    I'm trying to use CSS in my report file, I in research on the internet see much talk of "set css class" I know I can assign this way the NAME of the css class, but I want to change the file CSS in itself, where it is? which the 'path' of him
    and where I find this way in the file?
    I'm using MVC C # to load the file and export in stream that converts PDF to display in the browser.
    To create the file I use Crystal Reports for VS2013 and within the own VS I create the rpt file
    Looking into this rpt the way for the much-talked 'default.css' you see in the internet research.
    wanted to change the path or know where it is to include classes on it.
    thank you

    Hi Ludvig,
    Thank you for posting in MSDN forum.
    Since this forum is to discuss: Visual Studio WPF/SL Designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System, and Visual Studio Editor. About you said the
    path of default.css for the .rpt file issue, I suggest you can ask your issue directly on SAP Crystal Reports:
    http://scn.sap.com/community/crystal-reports/content?filterID=content~objecttype~objecttype[thread] for
    better solution and support.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Save input data from popup modal MVC

    Hi I am trying to save data from popup. When I execute my controller side data is not saved. Please see code below:
    View:
    @model IEnumerable<Model>
        <h2>Manage Dimension</h2>
           <link href="@Url.Content("~/Content/Gridmvc.css")" rel="stylesheet" type="text/css" />
           <script src="@Url.Content("~/Scripts/gridmvc.min.js")" type="text/javascript"> </script>
          <script src="@Url.Content("~/Scripts/js/bootstrap.min.js")" type="text/javascript"> </script>
          <link href="@Url.Content("~/Content/bootstrap/css/bootstrap.min.css")" rel="stylesheet" type="text/css" />
          <link href="@Url.Content("~/Content/bootstrap/css/bootstrap-responsive.min.css")" rel="stylesheet" type="text/css" />
    @using (Html.BeginForm())
        @Html.AntiForgeryToken()
        @*<html>*@
        <body>
            <hr />
            <div class="table-responsive">
                <table class="table table-striped  table-hover">
                    <thead>
                        <tr>
                            <th>
                                ID
                            </th>
                            <th>
                                Name
                            </th>
                            <th>
                                Value
                            </th>
                            <th>
                                Action
                            </th>
                        </tr>
                        @foreach (var item in Model)
                            foreach (var i in item.Values)
                                <tr>
                                    <td>
                                        <span data-bind="text: ID">@item.ID</span>
                                    </td>
                                    <td>
                                        <span data-bind="text: Name">@item.Name</span>
                                    </td>
                                    <td>
                                        <span data-bind="text: Value">@i.Value</span>
                                    </td>
                                    <td>
                                        <button type="button" class="edit-mode" data-toggle="modal" data-target="#myModal" id="c.ResellerId">edit</button>
                                    </td>
                                </tr>
                </table>
                <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
                    <div class="modal-dialog">
                        <div class="modal-content">
                            <div class="modal-header">
                                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                                <h4 class="modal-title" id="myModalLabel">Edit/Add Dimension</h4>
                            </div>
                            <div class="modal-body">
                                <div id="dialog-form" title="Create new user">            
                                    <form>
                                        <fieldset>
                                            <label for="name">Name</label>
                                            <input type="text" name="name" id="name" value="" class="text ui-widget-content
    ui-corner-all"><br /><br />
                                            <label for="email">Value</label>
                                            <input type="text" name="value" id="value" value="" class="text ui-widget-content
    ui-corner-all">
                                        </fieldset>
                                    </form>
                                </div>
                            </div>
                            <div class="modal-footer">
                                <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
                                <button type="button" class="btn btn-default"  id="inviteRequest">Save changes</button>
                            </div>
                        </div>
                    </div>
                </div>  
                <br />
                <br />
                <div class="modal-footer">
                    <button type="button" class="btn btn-primary" data-dismiss="modal" data-toggle="modal" data-target="#myModal" data-bind="click: Save">Add</button>
                </div>
                <script src="~/Scripts/App/Modal.js"></script>
                @*<script type="text/javascript" src="https://ajax.microsoft.com/ajax/jQuery/jquery-1.4.2.min.js"></script>*@
                @*<script src="@Url.Content("~/Scripts/js/bootstrap.min.js")" type="text/javascript"> </script>*@
                <script type="text/javascript">
                    $(document).ready(function () {
                        $('#inviteRequest').click(function () {
                            console.log(1);
                            $('#myModal').modal('hide');
                            $.post('/ManageDimension/Create', { "Name": name, "Value": value })
                            alert("You clicked me!");
                            window.location.reload(true);
                </script>
            </div>       
        </body>
    </html>
     Controller:
      [HttpPost]
            public ActionResult Create( DataModel dimension)
                if (ModelState.IsValid)
                    db.Save(dimension);
                    return RedirectToAction("Index");
                else
                    return View(dimension); 

    Hi,
    This is a forum for Visio.
    To get more professional support, I recommend you post this question in MVC forum.
    http://forums.asp.net/1146.aspx/1?MVC
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who
    read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    Regards,
    Greta Ge CHN
    TechNet Community Support

  • Best practice MVC for forms to cfc

    Conceptually I would like to keep my logic for a very big
    site as MVC as possible. As a cf newbie though I am not sure
    whether the strategy suggested by most of the blog/tutorials of
    sending (say)
    index.cfm's Form.UserName to UsernameCheck.cfm which then
    <cfinvoke> Username.cfc
    or if I can/should send Form.UserName directly to
    Username.cfc
    Going direct is more straightforward obviously but then is
    the only place to put <cfif> (aka Controller) logic in the
    index.cfm page (which defeats my intentions anyway)????
    I may be way missing something here, but fwiw I'm getting
    kind of spaghetti with multiple <cfelseif> 's for every
    index.cfm module so am presently leaning toward redirecting (say)
    failed signins to RetrySignIn.cfm rather than back to (essentially)
    a <cfelseif> of index.cfm.
    Thanks in advance for feedback on your experiences, I realize
    this could be done/argued either way but . . .

    quote:
    Originally posted by:
    ProjectedSurplus
    by MVC I mean separating code as much as possible into
    Model (ie database) -- Controller (Business Logic) --- View
    (Presentation Tier)
    or very very roughly:
    SQL in stored procs -- <cfif> statements in cfc's
    (and/or non-display cfm's) --- HTML (using CSS)
    In theory thus the code should be more compartmentalized and
    hence manageable/reusable.
    I guess what I am getting at (as I work through this issue)
    is what are your opinions regarding (say)
    a single index.cfm page with nested <cfif> clauses
    which set out what happens on failed signin attempts but all
    redirect back to the index.cfm
    vs.
    a start index.cfm page which then redirects the user to (say)
    a RetrySignIn.cfm page (ie. precluding the need for a <cfif>
    check)
    My opinion is that simplicity is a very redeeming quality.
    With that in mind, I consider putting all business logic into
    cfc's for no other reason than to separate logic code from
    presentation to be a bad idea because it decreases simplicity and
    adds no value.
    Putting 100% of your queries into StoredProcedures will
    probably increase performance. I don't really know because I've
    never really tested it. Also, since I don't use Stored Procedures
    for a variety of reasons, I don't know the amount of effort
    required to create and maintain them.
    This is all subjective. We all have to determine the best way
    to handle our own situations.

  • Will giving up bundling and minification in lieu of serving js and css from Azure blob be beneficial?

    Hi,
    We have an MVC web site deployed as a service on Microsoft Azure. For boosting performance some of my colleagues suggested that we scrap the bundling and minification and instead serve .js and .css files from an Azure blob instead. Please note that the solution
    does not use a CDN, merely serving the files from a blob instead of using the bundling and minification feature. 
    My take on this is that just serving the files this way will not cause any major performance benefits. Since we are not using  CDN, the files will get served from the region in which our storage is deployed all the time. Also, since they are not bundled
    and kept as individual files, the server requests will not reduce. So we are forfeiting the benefits of bundling and minification. The only benefit I see to this approach is that we can do changes to the js and css files and upload them without a need to re-deploy.
    Can anyone please tell me which of the two options is preferable in terms of performance?

    Hi Nikhil,
     Thanks for posting.
     I agree with you on this one, but again it depends on the scale of your website and the number of requests that you expect. If your page requests are low then you might as well store all the static content on the blob storage, the blob storage is very
    scalable and it will be good enough in most cases. bear in mind that each time a page request that includes a link to the storage, it counts as a storage transaction. currently, they are priced at $0.005 per 100,000 transactions, so it would be a while to
    be costly. Next step would be to expose the container over CDN to get the distributed edge caching.
      All in all there are performance benefits in using either one, just depends on careful considerations based on the expected traffic and location of your customers and users.
    you can refer to the following threads, let us know if you have any questions
    http://social.technet.microsoft.com/Forums/azure/en-US/5fc30aae-8f72-42b5-9202-3778c28033dc/best-performance-for-storing-static-files-images-css-javascript-cdn-blobstorage-or-webrole?forum=windowsazuredata
    http://stackoverflow.com/questions/6968011/storing-css-files-on-windows-azure
    Regards,
    Nithin.Rathnakar

  • Routing file extension in MVC

    Hi,
    I need to redirect a broken link with invalid file extension.
    Broken link:
    www.test.com/doc/css.htmn
    Correct link:
    www.test.com/doc/css.htm
    I have written a route as below and handled redirection in the action "BrokenLinksRedirection".
    routes.MapRoute(
    "file",
    "doc/css.htmn",
    new { controller = "Controller", action = "BrokenLinksRedirection" }
    Request is not sent to mvc application instead I am getting 404 error page.
    How to redirect links with extensions like below?
    www.test.com/doc/css.htm</a>
    www.test.com/doc/css.htm%3C/a%3E
    www.test.com/doc/www.error.com
    Redirection works for url #3 in local but doesn't work when hosted in IIS.
    Thanks

    Do I need to remove this question from this forum? If so, please let me know how to remove.
    Thanks for notifying. I have posted in ASP.NET forum.
    Routing file extension in MVC

  • Working with mvc model and cs5

    Hi all,
    Does anyone have some usefull suggestions on how Dreamweaver cs5 could benefit me in the development proces with a mvc website structure.
    Right now everything get's passed by the frontcontroller wich is initiated on the main index page.
    At least on the real server.
    I try to get the same page with a testserver, I installed xampp, but I don't get the same page result as I would get from the internetserver.
    Some off the css is messed up, etc.
    Any pointers on how to work with mvc would be helpfull.
    For example: To what extend is live view with xampp a helpfull tool to preview the pages that I want to make.
    Or should I preview the pages out off the context off mvc?
    thanks, Richard

    Some more information regarding my problem:
    It seems that the loadXML and saveXML does not like the data binding.
    When I don't use a data connection (and no binding), navigation works perfect and the data on the different pages is stored.
    When I use a data connection, the navigation still works, but the data is not stored anymore.
    When I use a data connection and a data binding, navigation does not work and also the data is not stored.
    By the way: I am using Lifecycle Designer 7.

  • Blend for Visual Studio's HTML/CSS WYSIWYG editor only usable for Windows 8 apps, NOT for web apps?

    Hi there,
    In the process of learning Visual Studio (VS) and ASP.NET, I initially thought that I could use Blend for VS's seemingly great HTML/CSS WYSIWYG editor to visually design the HTML pages and CSS for a web app developped with VS, whether it be with ASP.NET MVC
    or Django (using Python Tools for Visual Studio).
    But now it dawned on me that Blend for VS seems to only be meant to design HTML/CSS for native Windows
    8 apps, and not
    web apps.
    Can someone confirm that this is indeed the case?
    Thanks a lot in advance for clarifying this point for me.
    PS: Maybe this a dumb newbie question, but from the outside, it seems rather counter-intuitive to offer a top-notch tool for web
    standards (HTML/CSS) edition (Blend for VS), all integrated with a top-notch tool for web development (VS) but prohibiting the web developer community to leverage the productivity gains of both
    the former and the integration. This is especially puzzling given that the latest components of the ASP framework (MVC, SPA projects):
    - Pushes for reliance on HTML elements and CSS instead of ASP elements and Skin files;
    - VS apparently also does not provide a visual design page view for ASP.MVC projects, which is sure to make many development teams wary of migrating from web forms to MVC.

    I believe this the case, but I'm not familiar with asp.net development. As you point out: html is html so you can edit and copy the code. That said, the Windows Store apps forums are specifically about writing Windows Store apps. For discussion
    of writing ASp.net apps and the best tools to use for that please post in the asp.net development forums on
    http://asp.net.
    --Rob

  • NullReferenceException when using Razor "@" inside of CSS styles

    Issue:
    Receiving "Object Reference Not set to an instance of an object" when I hit ctrl-v in CSS styles
    Steps to Reproduce:
    Open Visual Studio Ultimate 2013
    Create new ASP.NET Web Application (Create directory for solution)
    Choose MVC (Auth is Individual User Accounts)
    Open Shared/_Layout.cshtml (I can reproduce the error by following the below steps in any .cshtml file)
    DO NOT SAVE FILE CHANGES AT ANY POINT (though I've noticed this makes no difference)
    Add <style> </style> just before </head>
    Add #foo {color: red;} inside of <style>
    CSS syntax highlighting still works at this point
    Add razor syntax @ symbol to color: red;
    #foo {@color: red}  
    CSS syntax highlighting is lost
    Add #bar {color: green;}
    Highlight #bar {color: green;}
    Hit ctrl-c to copy
    hit ctrl-v to paste clipboard anywhere BUT inside of <style></style>
    Pasting outside of <style> should still work.
    Now hit ctrl-v and paste clipboard inside of <style></style>
    shoudl receive Error message: Object reference not set to an instance of an object
    Undo (ctrl-Z) should no longer work at this point
    NOTES:
    Copying from outside of visual studio and pasting inside the <style> tag in _Layout.cshtml should nto produce an error
    Last thing, it does not matter if I am using the @ symbol in valid CSS (background: @url(...)) or invalid CSS (color: @red)
    Trying to escape the @ symbol (background: @@url(...)) mnakes no difference.
    Info:
    Microsoft Visual Studio Ultimate 2013 version 12.0.21005.1 REL
    .NET Framework version 4.5.51650
    Windows 8.1 Enterprise v6.3.9600 Build 9600
    Nuget Packages installed - only what is installed by default when creating new MVC ASP.NET Web Application

    Hi jonathanthomas,
    Since this issue is related to the web development,
    you could ask this question in the ASP.NET forum:
    http://forums.asp.net. If then, you could get
    an answer more quickly and professional. Thanks for your cooperation.
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Problem with CSS in ADF 11g application

    Hi,
    I have added a CSS code for my login page(login.html), The issue i am facing is When ever i am opening the page the complete CSS is not coming for each time one CSS component is coming that's means if there are 4 CSS components as shown below i need to login and logout the page 4times. 5th time i am getting the complete page.
    .ESPS_login_body{
    background-color:#eef1f8;
    margin:0px;
    padding:0px;
    }.ESPS_login_body *{
    margin:0px;
    padding:0px;
    font-family: Tahoma, Verdana, sans-serif;
    .ESPS_login_top_bar{
    background-image: url(../skin_images/login_top_bar.png);
    background-repeat: repeat-x;
    background-position: left top;
    height:30px;
    I am running the application on firefox3.5.3 version.
    Please suggest me
    Thanks,

    Hi,
    Thanks for your quick reply.
    MY CSS File:
    .ESPS_login_body{
    background-color:#eef1f8;
    margin:0px;
    padding:0px;
    }.ESPS_login_body *{
    margin:0px;
    padding:0px;
    font-family: Tahoma, Verdana, sans-serif;
    .ESPS_login_top_bar{
    background-image: url(../skin_images/login_top_bar.png);
    background-repeat: repeat-x;
    background-position: left top;
    height:30px;
    .ESPS_login_bottom_bar{
    background-image: url(../skin_images/login_bottom_bar.png);
    background-repeat: repeat-x;
    background-position: left top;
    height:46px;
    color:#eeeeee;
    text-align:center;
    padding-top:9px;
    font-size:small;
    .ESPS_login_bg{
    background-image: url(../skin_images/login_bg_gradient.png);
    background-repeat: repeat-x;
    background-position: left top;
    background-color:#6882cc;
    height:594px;
    overflow:hidden;
    .ESPS_login_content{
    -moz-background-clip:border;
    -moz-background-inline-policy:continuous;
    -moz-background-origin:padding;
    background:transparent url(../skin_images/login_bg_main.png) no-repeat scroll center top;
    color:#4269b6;
    height:594px;
    overflow:hidden;
    .ESPS_login_content_left{
    height:594px;
    .ESPS_login_content_main{
    height:594px;
    width:650px;
    margin:0px auto;
    padding:20px;
    .ESPS_login_content_main h1{
    margin-top:230px;
    margin-left:125px;
    color:#4269b6;
    .ESPS_login_content_main > h1{
    margin-top:210px;
    div.ESPS_login_from{
    margin-top:20px;
    margin-left:245px;
    .ESPS_login_input{
    background:transparent url( '../skin_images/login_input.png' ) no-repeat scroll center top;
    border:none;
    margin:0px;
    padding-top:4px;
    padding-left:7px;
    width: 193px;
    height: 25px;
    .ESPS_login_submit{
    display:-moz-inline-box;
    display:inline-block;
    cursor:pointer;
    border:none;
    font-size:0;
    line-height:0;
    text-decoration:none;
    font-style:normal;
    vertical-align:middle;
    background: transparent url("../skin_images/login_go_button_i.png") no-repeat top left;
    border: none;
    width: 48px;
    height: 25px;
    margin:0px;
    margin-bottom:17px;
    div > a.ESPS_login_submit{
    margin-bottom:0px;
    .ESPS_login_submit:hover{
    background: transparent url("../skin_images/login_go_button_highlighted_i.png") no-repeat top left;
    .ESPS_login_submit:active{
    background: transparent url("../skin_images/login_go_button_pressed_i.png") no-repeat top left;
    label.ESPS_label{
    display:-moz-inline-box;
    display:inline-block;
    font-weight:bold;
    padding-bottom:8px;
    width:110px;
    margin-bottom:2px;
    div > label.ESPS_label{
    padding-bottom:3px;
    margin-bottom:2px;
    Login Page:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <html>
    <head>
    <title>ESPS Login</title>
    <link href="/skins/css/mySkin.css" rel="stylesheet" type="text/css"></link>
    </head>
    <body class="ESPS_login_body">
    <div class="ESPS_login_top_bar">
    </div>
    <div class="ESPS_login_bg">
    <div class="ESPS_login_content">
    <div class="ESPS_login_content_main">
    <h1>External </h1>
    <form name="ESPS_login_form" method="POST" action="j_security_check">
    <div class="ESPS_login_from">
    <label class="ESPS_label">User Name:</label><input type="text" name="j_username" class="ESPS_login_input" onclick="this.value='';"/>
    <label class="ESPS_label">Password: </label><input type="password" name="j_password" class="ESPS_login_input" onclick="this.value='';"/>
    <a id="submit" href="#" class="ESPS_login_submit" onclick="document.ESPS_login_form.submit(); return false;">
    <span> </span></a>
    </div>
    </form>
    </div>
    </div>
    </div>
    <div class="ESPS_login_bottom_bar">&copy;Copyright 2009, DISH Network L.L.C., all rights reserved.
    </div>
    </body>
    </html>
    Please help me

  • Generally when creating a Word file from either a Mac or Win7 pc and opening it on two different machines (either one first) it always prompts that the file is open and will be opened as read only. However opening a CSS file does not prompt that it is alr

    Generally when creating a Word file from either a Mac or Win7 pc and opening it on two different machines (either one first) it always prompts that the file is open and will be opened as read only.
    However opening a CSS file does not prompt that it is already open on or from any machine which is causing code edits to be lost.
    What we found from out testing:
    - The file can be saved from one user to the server and WILL NOT PROMPT on other machines until the saving machine has the Dreamweaver program closed completely
    - The file can be closed and  Dreamweaver minimised to the launch bar but it still will not register on other machines that it has been changed.
    - Also, until the  Dreamweaver program is closed on the machines, it will continue to open it's saved version of the file. 
    Example Scenario:
    - User 1 opens test.css (which is 2000 lines) and adds some code to the end of the file to bring it up to 2500 lines
    - Meanwhile User 2 opens test.css as well (opens as 2000 lines as User 1’s edits have not yet been saved) and adds in code to bring it to 2300 lines
    - User 1 saves his file and closes it - but  Dreamweaver is still open.
    - User 2 also saves his file and leaves  Dreamweaver  open.
    - The server will report the size and last edit of the file the same as User 2 as he was the last person to save it (and if you open from the Win7 Machine it will show as User 2’s 2300 line version)
    - If User 1 then open's the file again (from either the 'recent' in Dreamweaver OR clicking on the file directly in Finder...which version opens.... The version that User 1 saved! Not the true version on the server, but the version that User 1 edited and saved with 2500 lines in it.
    - Same for User 2, he will open 'his' version with 2300 lines in.
    Other information:
    - Files are opened directly from the server
    - Sometimes the users will save incrementally and re-open
    - Most of the time users will save incrementally and keep the files open
    - The users will never not save incrementally and just save when closing the file once finished
    - The users are usually working on the files all day
    - It is always the bottom lines of code that are lost. It could be a case of the two versions being mixed up and cutting off the newly added lines based on the line count (possibly).
    It is as if Dreamweaver is holding a cache of the version locally and then only properly looking back to the server when it has been completely closed. It is very difficult to see how the server is causing such an impact on these files, there are very few logs which are giving any indication to the root cause of the problems.
    Anyone know if this is a known issue?
    Is there a way that there can be a featured implemented on the server that doesn't allow another user to open a file if it is already open on another machine?
    Thanks

    Your server file handling has nothing, and really nothing to do with Adobe software. If files don't get locked for (over-)writing and/or lose connection to the program opening them, then your server is misconfigured. It's as plain and simple and that. Anything from "known file types"/ file associations not being set correctly, MIME types being botched, crooked user privileges and file permissions, missing Mac server extensions, delayed file writing on the server, generic network timeout issues and what have you. Either way, you have written a longwinded post with no real value since you haven't bothered to provide any proper technical info, most notably about the alleged server. Either way, the only way you can "fix" it is by straightening out your server and network configuration, not some magic switch in Adobe's software.
    Mylenium

Maybe you are looking for