Mozilla get's no style tag's from .net server.

I made a webform in web matrix, and it looks fine in IE. If I open the same link whit Mozilla, it looks like a disaster. When I look at the HTML source, there are no style tags as in IE.

But when I save the HTML source from IE (the one whit style tags) and open it in Mozilla, it looks perfect. So the onley reason the webform looks wrong in Mozilla, is because the .net server detects Mozilla and not IE and sends a style less HTML source. Wy? Mozilla does support style tags. Is there a solution for this bug? Or is this a uh.. feature?
..Mivz
0
mivz
10/1/2003 12:02:20 PM
asp.net.web-matrix 2237 articles. 0 followers. Follow

1 Replies
743 Views

Similar Articles

[PageSpeed] 43

Update, I have got some more info.

It is not only the style="" tags. Also the <asp:panel> is converted to a <table> in Mozilla, instead of a <div> as in IE. The same way the style="" tags disappear. To solve this issue, I used a HTML div instead of a <asp:panel>. I also defined a style.css and copy pasted the styles from the IE HTML source. Then I defined the css classes for the tags. This causes IE to have double defined styles. This is why I removed the style="" tags from all the tag's. Now the page is the same in IE as in Mozilla. But, it is messed up in Web Matrix, because Web Matrix doesn't look for the styles in the style sheet, so I have to use a text editor.
This situation blows the advantages of .net. I can choose between text pad, or no compatibility. I believe a good website is compatible whit more than 1 browser. So I can't make a good website in .net whit .net tools.
Also I have to avoid using some asp controls and use the classic HTML tags to keep compatibility and define al styles manually.
At the end, what is the advantage of .net? If I have to go to so much undocumented trouble to make good compatible website and I can do the same on a standard good documented way whit other active web concepts, what is the use?
Mozilla is a first class, full functional browser. This is a big compatibility issue. Except for that, it's wrong it's also inconsistent. And it's something to be wrong, but to be inconsistent is out of logic.
Mivz
0
mivz
10/2/2003 7:58:01 AM
Reply:

Similar Artilces:

How can I get out of my Mozilla's browser the Winamp browser and get back the Google's or Mozilla's browser.
Please I have got to my browser ( I don't know how.) the Winamp browser he behave like virus stick in.But he doesn't has uninstalation section so I can't do anything to get him away from Mozilla's file. I'm not happy of Winamp's behave its like advertisement against a customer's will. Please is there any way to get him away from Mozilla?Please send me exact direction I have tried many ways but he is deeply inside the systeme so when I install new Mozilla he is always here ready to pester me. Thank you for an answer. Richard ...

It's not about 1st amendment, it's about condoning Mozilla's despicable behavior.
Today I got a nice email from someone inside Mozilla, in response to my ang= ry post elsewhere, explaining Mozilla's actions. He ended his email with: "Open dialogue is an important part of Mozilla's commitment to open, honest= and community-driven communication, and we remain committed to a free, ope= n web." In the spirit of open dialogue, let me share here my response to him. Ze'ev --------- Dear ..., I appreciate your position yet I remain convinced that Mozilla's behavior w= as despicable. Mozilla caved in to public pressure about one of i...

Replace 1's and 0's in a gridview column with Yes's and No's
Is it possible to change the display of a column in a gridview to show a Yes for all 1's and a No for 0's that display in a particular column of a gridview bound to a database?  If so, can someone share the way with me?  I am using ASP.NET 2.0 with VB Code Behind.  Thanks One way you can do is thrrough  CASE in your select statement: Select YesNoColumn= CASE yourColumn WHEN 1 THEN 'Yes' WHEN 0 THEN 'No' ELSE '' END FROM YourtableLimno <Columns>     <asp:TemplateField HeaderText="yourHeader" SortExpression="yourDataField"> ...

It's Linux !? No, it's BSD ! No, no, it's...
kFreeBSD http://wiki.debian.org/Debian_GNU/kFreeBSD a Debian distro using the FreeBSD kernel ! ObiWan wrote: > kFreeBSD > > http://wiki.debian.org/Debian_GNU/kFreeBSD > > a Debian distro using the FreeBSD kernel ! Why use a BSD kernel? I hope the reason is more than, just because they can. http://wiki.debian.org/Debian_GNU/kFreeBSD_why It's easy to understand why the would want to use Debian packages. :) -- Jimmy Johnson Registered Linux User #380263 >> kFreeBSD >> >> http://wiki.debian.org/Debian_GNU/kFreeBSD >> ...

NtCanuck's `TreeWalk' and AnalogX's `FastCache' Dns Servers
Hello Global Friends, I have been using AnalogX's "FastCache" software as my Local Dns Server for all these years. For the last three years I did not see a new version of FastCache software. Recently I came to know of (Developers NT Canuck & ObiWan) "Tree Walk" Dns Server and started using it in the place of FastCache. Tree Walk works perfectly but some offline web pages could not load in IE6. http://www.nseindia.com/marketinfo/charting/HistStockChart.jsp?plot1=TRD_QTY&plot2=PRICE&symbol=colgate&indexname=S%26P+CNX+NIFTY&stdate=01&stm...

How come FileFlash's home page doesn't get logged in Mozilla v1.7.5's history?
Is it me or is http://fileflash.com/ (not the links inside) home page not being recorded in Mozilla v1.7.5's history? I just noticed it. I looked at the source code, but didn't see anything interesting. I was using Windows XP Professional SP2 (all updates). Thank you in advance. :) -- Allah's Apostle said, "Once while a prophet amongst the prophets was taking a rest underneath a tree, an ant bit him. He, therefore, ordered that his luggage be taken away from underneath that tree and then ordered that the dwelling place of the ants should be set on fire. Allah...

IBM's WebSphere vs. MS's .NET (article)
http://www.osopinion.com/perl/story/16270.html "Unlike Microsoft's model, which only allows Windows applications to communicate with other Windows applications, WebSphere is committed to an open source environment. " -- JB Learn the Hazards http://www.staff.uiuc.edu/~ehowes/info17.htm ...

Help! I cannot access the DataGrid's ItemTemplate's LinkButton's Text Atrribute 's Value!!!!!!!!!!!
I write a datagrid's ItemDataBound method as follows:   private void dgTable_ItemDataBound(object sender, System.Web.UI.WebControls.DataGridItemEventArgs e)  {   if(e.Item.ItemType == ListItemType.Item || e.Item.ItemType == ListItemType.AlternatingItem)   {    if(!isRole("Manager"))    {     LinkButton tmp = (LinkButton)e.Item.FindControl("lbPassed");     if(tmp.Text == "Passed")     {      ((LinkBu...

Hyperlink's, ImageURL's, and OnError's
I created an ASP:Hyperlink and set the ImageURL attribute so the link will be the image.If the image is missing, I would like it to display a 'missing image' pic that I have.  I know you can use the OnError attribute of the <img> tag to run some javascript to change it.Unfortunately I can't find a way to access the Hyperlink's Image that is inside it, so I can add an Attribute so the resulting <img> tag will have an OnError attribute inside of it.Any help?If my Hyperlink is called 'foo'....would I do...  ((Image) foo.Controls[0]).Attributes.Add(&...

multiple SMTP's and different IP's, domain names to send email from this server using different SMTP's
Is anybody can help me with this 2 issues we have: 1. We need to have multiple SMTP's installed on our server - how do you do that 2. We need to rotate different IP's, domain names to send email from this server using different SMTP's          Thanks   Third party mail server.  Look at Smartermail or iMail, Exchange if you need that much. JeffPlease: Don't forget to click "Mark as Answer" on the post that helped you. That way future readers will know which post solved your issue. Is this only option? &n...

Net security is everyone's problem not just Microsoft's, says Ballmer
Speaking at the Center for Strategic and International Studies in Washington DC, Microsoft chief executive Steve Ballmer declared that responsibility for cybersecurity falls on everyone---users, software vendors, and government agencies. Mr. Ballmer did not outline any new security initiatives, but continued to promote the upcoming Windows XP Service Pack 2, an update to the company's server operating system, and future versions of Internet Explorer that will block pop-up ads and unauthorized downloads. Mr. Ballmer outlined active protection technology, designed to stop worms...

Who's show is SN? Steve's or Leo's?
I don't want to start anything (honestly)! Just want to ask a simple question. Does the Security Now podcast belong to Steve Gibson or Leo Laporte? Maybe I'm in a world all to myself, but when I listen to the excellent SN podcasts, I want to hear STEVE, not Leo. But especially in the past few shows, it seems Leo will repeatedly interrupt Steve in the middle of a sentence that I want to hear the rest of. I consider this very rude of Leo. Steve is making a point that I (we) want to hear, then looses his train of thought after Leo barges in and asks something. It...

Guru's..?? Any do's and/or dont's for Zfd4 and Citrix..?
We've got a nw6/sp5 network with GW 6.5, bm3.7 and zfd 4.01 up'n'running.. Now we're adding a citrix server ( win2003) to the mix, will supply a couple off app's to users over the internal VPN in another city. Probably we'll skip the AD phase since we can not see any app and/or user with the need for AD. So,, any special considorations..? tip's'tricks..? known issues...? t.i.a... On Mon, 16 Aug 2004 15:57:10 GMT, Emerson wrote: > So,, any special considorations..? tip's'tricks..? known issues...? biggest one... zfd4.x d...

DataSet's DataTable's and TableAdapter's Oh My!
Here is my situation.  I am using VB as my programming language.I am creating a part of a website that will be the admin section.  I want the admin to be able to add/edit data in a set of tables that normal users can't.  There are 20 lookup tables that I use in the website that I want the admin to be able to manage (i.e. add, edit, delete, insert).  I don't want to create 20 separate web pages (one for each table).  I have one page that has links to all the tables.  Each link has a "table" querystring variable associated with it.  When the...

Web resources about - Mozilla get's no style tag's from .net server. - asp.net.web-matrix

Resources last updated: 1/15/2016 5:09:53 AM