Html - .net Site Looks Completely Different On IE, Firefox, And Chrome?
Jun 14, 2010
I'm doing css for a website. I send the html and css to a guy, he puts it into ASP.net. The problem is that the transfer didn't end well for my code and it needs some fixing. The problem is that when I look at it in Chrome, or Firefox, or IE8, I get three completely different renderings. I spent a good amount of time trying to fix a drop-down menu that is supposed to appear while hovering over a link. The one he had in place from ASP.net worked in IE, kinda worked in Firefox, and was completely broken in Chrome (I haven't tested Safari or Opera.) Just getting it to look basically the same in firefox and chrome was a struggle. The html source is showing me two completely different pages as well.
Does anyone have experience with this? I know nothing of ASP.net, and it seems like the guy is modifying my layout with a wsyiwyg (I found tables used in random places, which I did not put there.) Faced with this, what is my best option? Is this fixable, or am I in over my head?
View 3 Replies
Similar Messages:
Jan 3, 2011
Is there a way to use the firefox (or chrome or any other good browsers) rendering engine to convert html (as a text string) to an image?I have full access to the server I'm using, so no limitations there.
View 2 Replies
Jan 15, 2010
I have .net code that works on IE8 but wont work on google chrome or firefox. i have put this code for the user to press Enter instead of clicking the mouse everytime.
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Try
If Not IsPostBack Then
[code]...
View 3 Replies
Jan 15, 2010
i have this code in global.asax.vb, to disable the back button.
Sub Application_BeginRequest(ByVal sender As Object, ByVal e As EventArgs)
Response.Buffer = True
Response.ExpiresAbsolute = Now().Subtract(New TimeSpan(1, 0, 0, 0))
Response.Expires = -1
Response.CacheControl = "no-cache"
End Sub
this code works perfect in IE, but refuses to work in any other browser like firefox or chrome. what can i do to make it multi browser?
View 1 Replies
Feb 21, 2011
I am giving external css path in aspx page via
<link rel="stylesheet" media="all" href="file:///D:/CSS/Style.css" type="text/css" />
its works fine in firefox and ie while access that page.
but when i open this page in chrome or safari.
it does'nt do anything and no css is applying.
View 3 Replies
Jul 7, 2010
Disabled buttons look enabled in Firefox and Chrome. I opened the same page in ie, firefox, chrome and this is the output:
"DashBoard" and "Calendar" are disabled
"Agent Info" is enabled.
Here I'm using normal asp buttons with css.What do I do?
View 2 Replies
Jan 11, 2010
Ok so I'm not very familiar with Jquery as to know the possible cause of this, but I've been assigned to find out why the datepicker doesn't work porperly on a client's computer (it prints out the date without slashes like this: 24112008
So when I test the webform, I see it doesnt even pop up in Firefox (the client's browser too) nor chrome, only in IE8.
In the scriptManager we have:
<script src="http://www.website.com/Script/jquery.min.js" type="text/javascript"></script>
<script src="http://www.website.com/Script/jquery-ui.min.js" type="text/javascript"></script>
<script src="http://www.website.com/Script/jquery-ui-i18n.min.js" type="text/javascript"></script>
and in the webform:
$(function pageLoad(sender, args) {
// Datepicker
$.datepicker.setDefaults($.extend({ showMonthAfterYear: false }, $.datepicker.regional['']));
$(".dates").datepicker($.datepicker.regional['es']);
});
The textbox that uses it goes like this:
<asp:TextBox ID="txtFeNac" CssClass="dates" style="margin-left: 7px" runat="server" ></asp:TextBox>
View 2 Replies
Dec 7, 2010
I have binary data - it is png picture.
I use Response.BinaryWrite to display this picture.
Unfortunately it works only in Internet Explorer. In Firefox and Chrome it shows long text of strange symbols.
What's wrong with BinaryWrite? How to solve this?
I may not say to asp:Image to show this picture, I may not indicate ImageURL, becouse there's no URL. This picture is response from webrequest. And webrequest may not be indicated in URL because I set some parameters not in QueryString but in post data.
View 2 Replies
Jan 14, 2011
I have an interesting issue. I made some changes to an existing code base. The changes were fairly minor in the aspect of the pages, I added an UpdatePanel and some input areas to upload a file and update a database to the site master. The reason I add it to the site master was it is being called to display via jQuery. I made some additional code changes on some existing code behind to add a web method to handle the data from another jQuery driven piece to set a value for a particular billing code.
None of this is out of the ordinary and in fact it only adds additional similar functionality that I have added over the last 9 months. The issue now is since I made the changes using the browser back button in IE generates the following:
Webpage has expired
This only occurs with IE. Chrome and FireFox works fine. Thinking it maybe the new input boxes I removed those and attempted to run the application again I get the same result. I know that IE requires a refresh if there is data that is submitted on the form that you are trying to go back to, however so does Chrome and Firefox as far as I know.
View 3 Replies
Jan 13, 2011
The following regular expression works in chrome and firefox, but not IE7:
^((?=.*d)(?=.*[a-z])(?=.*[A-Z]).{8,20})$
It needs to contain at least 8 characters and have at least on uppercase and a number. When I try this in IE7, I have to type 14 characters for it to validate. Can someone explain why and what would be the correct expression for all 3 browsers.
I am using an asp:RegularExpressionValidator to validate the password.
View 2 Replies
Feb 22, 2010
I have been looking around for a solution for this problem that works across different versions of Windows Server & IIS, but so far I couldn't find a reasonable solution, what I need is some sort of a script or a command line tool, that takes a certificate file (pfx) for example and then either using the same script or tool find a way to configure one website to use this certificate.
View 1 Replies
Feb 11, 2010
I developed a activex control, it can work well in IE, but not in firefox , is it possible for my activex control to work in FireFox and Google Chrome?
View 1 Replies
Jan 27, 2010
I want to open a popupwindow (with close button only) when the user clicks a button and the parent window should be disabled until the popup window closed. For that I'm using the following code
function popup_window(url) {
popupwin = window.showModalDialog(url,null,'height=20,width=150,status=no,resizable=no,scrollbars=no,toolbar=no,location=no,menubar=no');
}
Anyhow, this code is working perfectly in IE. But, I hav two problems. In firefox, it is not opening with the size I've mentioned in the script. It is opening in full size. And In Google Chrome, parent window is not getting disabled.
View 1 Replies
May 9, 2010
I was trying to prototype some jQuery-based menu into ASP.NET MVC. Just to name two examples here: [URL]Their demo page looks great, but when I integrate their sample code into MVC, the script no longer works in IE and FireFox, but it seems to work just fine under Google Chrome. Can someone kindly enough to point out what I missed? I will be honest here. I am still new to JavaScript. I have placed a copy of my VS2010 solution zip file @ [URL] Here is what I did. In the Site.Master, I have something like
<body>
<div class="page">{truncated...}</div>
<script src=[URL]" charset="utf-8"></script>
<asp:ContentPlaceHolder ID="ScriptContent" runat="server" />
</body>
And inside View file, I have the following
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<div id="original">
{some demo block, copied from javascript demo}
</div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ScriptContent" runat="server">
<script type="text/javascript" src="<%= Url.Content("~/Scripts/jquery.columnview.js") %>" />
<script type="text/javascript">
$(document).ready(function () {
$('#original').columnview();
});
</script>
</asp:Content>
Compiled the code and ran it under IE. Ideally, it should work like the demo in [URL], but in reality, it only displays unordered list in plain view. (If you download the solution file and run it, you should be able to repro this as well). Next, tried with FireFox, not working either, same result as IE. Finally, when I try it under Google Chrome 4.1 (lastest version), and the script displays just fine.
View 2 Replies
Apr 3, 2010
I've had an issue with a javascript menu not working inside an Ajax update panel after the ajax postback. I was able to solve this in IE by calling the menu js function with a pageLoad() function which is automatically called by ajax. However I then discovered it doesn't work in any other browser.
Having search around I've only found two references to the issue; one where someone else has found the same thing and another where someone states that pageLoad isn't stable in other browsers.
Is there any way to solve this issue in browsers other than IE?
View 1 Replies
Aug 20, 2010
The following flash does not initially load in firefox, but if I click the second tab on the right, and then go back to the first, it loads. This works in Chrome and IE. Here is the webpage.
View 3 Replies
Jul 13, 2010
I have the following asp.net markup:
<asp:TextBox ID="txtPassword" runat="server" TextMode="Password"
ValidationGroup="passwordValidation"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" Display="Dynamic"
ControlToValidate="txtPassword" Text="Required" ValidationGroup="passwordValidation" />
<asp:RegularExpressionValidator runat="server" ControlToValidate="txtPassword"
Text="Passwords should contain a minimum of 7 characters with at least one numeric
character." ValidationExpression="^(?=.*d{1})(?=.*[a-zA-Z]{2}).{7,}$"
ValidationGroup="passwordValidation" Display="Dynamic"></asp:RegularExpressionValidator>
If I type in a password like test1234, it passes in chrome and firefox, but the message that my password should contain a minimum of 7 characters with at least one numeric character is shown in internet explorer
View 1 Replies
Nov 16, 2010
I am making a asynchronous request to different server for some data using jquery. It works fine in IE, but doesn't work in FireFox and Chrome, when it reaches the code where the request to other server is made, it freezes there and a blank page is shown. If I remove that piece of code, the ajax works fine.
Also, when I place a breakpoint at document.ready, the breakpoint is hit when debugging using IE, but it's not hit when debugging using FireFox.
Following is the JQuery I am using
jQuery(document).ready(function ($) {
$('.tabs a, .tabs span').livequery('click', function () {[code]....
View 1 Replies
Dec 14, 2010
Working on a new site design in asp.net with master pages. Header of the page is a 35px tall "menu bar" which contains an asp menu control rendered as an unordered list.
The selected menu item is styled with a differenct colored background and 2px border around the left top and right sides. The bottom of the selected menu item should line up with the bottom of the menu bar so the selected "tab" looks as if it flows into the content beneath. Looks fine in firefox and IE but in chrome the "tab" seems to be 1 pixel higher than the bottom of the menu bar.
EDIT:here is the css for the menu...
div.hideSkiplink
{
width:40%;
float:right;
height:35px; [code]....
The selected classes are added to the li and a elements via jquery...Here is a screenshot of the problem...The chrome example is on the top and u can see 1px of red border below the tab. On the bottom is the firefox image where everything looks OK.
EDIT:After playing around with this a bit more, I have discovered that it is actually the "header" div itself that is growing by 1px in chrome... This seems very strange to me.
View 4 Replies
Jan 11, 2011
It seems the following markup is rendered differently in Firefox and Chrome, and I'm not sure how to prevent it:
<%= HttpUtility.UrlEncode("+") %>
<%= "<a href='#' name='" + HttpUtility.UrlEncode("+") + "'>stuff</a>"%>
In Firefox it looks like:
%2b<a name="+" href="#">stuff</a>
In Chrome it looks like:
%2b<a name="%2b" href="#">stuff</a>
Is there a way around it?
View 2 Replies
Dec 7, 2010
Just like in title. It works much faster on IE (8, 9) than on firefox and chrome ?How is it possible ?
Whats more I had to disable cookies on aspxGridViews because I had bad requests all the time,
View 1 Replies
Jun 10, 2010
I have below code in my ASP.NET AJAX Update Panel named "uPanel1"
Its showing popup message.
string strscript = "alert('MESSAGE GOES HERE');";
System.Web.UI.ScriptManager.RegisterClientScriptBlock(uPanel1, Page.GetType(), "strscript", strscript, true);
But does not work all the times in FireFox and Chrome.
View 2 Replies
Aug 26, 2010
I have three reorder lists on a page, one does not want to work. It is no different to the others, but is behaving like it is not enabled.All working fine in IE 7 + 8.
View 1 Replies
May 7, 2015
When I am clicking on print button of a crystal report it is displaying a popup to convert report in pdf first. but I want to print directly without convert in pdf... But it's working fine in IE...
View 1 Replies
Jun 6, 2012
Tab buttons and links are little hard to click on Firefox, Safari, Chrome. hover areas are as small as clickable area,They work perfecly well on IE
I have link for LOG IN normally(on IE) hover works and pointer changes to hand when mouse gets appoximitly one pixel range and it is clickable.
But in other browsers event LOG IN--- link works only when mause gets halfway over text(you can take dashes as referance upper part of the dash works good but buttom part is not clickable )
View 1 Replies