|
-
Jul 14th, 2007, 05:03 AM
#1
Thread Starter
Addicted Member
what way to use different browser for same coding
Hi,
I create a design in asp.net using HTML and JavaScript.I run the code in IE.But my client ask to run the code in Opera and FireBox,IE.I run the code the design is well in IE.But When i run the same script and Code,lot of changes in the design,while the output is appeared in the browser.
I think that this is browser compability.But i dont know how to design the page for other browser.If anyone knows send some suggestion.
Hope for help
Thanks
Failing to plan is Planning to fail 
-
Jul 15th, 2007, 01:14 AM
#2
Re: what way to use different browser for same coding
validate your pages with the W3C Markup validation
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
-
Jul 15th, 2007, 01:15 AM
#3
Re: what way to use different browser for same coding
And don't post multiple threads for the same topic
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
-
Jul 15th, 2007, 12:10 PM
#4
Re: what way to use different browser for same coding
-
Jul 15th, 2007, 10:50 PM
#5
Thread Starter
Addicted Member
Re: what way to use different browser for same coding
 Originally Posted by ComputerJy
Hi,
Thanks for ur reply. I Put the file for validate that u gave the above url.But this document can not be checked. I am unable to check the document because its content type is application/octet-stream, which is not currently supported by this service.
What i do? can i change and check the width of the design form and alignment of the page,height also? Is it any possible that can we give same design for all browser?
Hope i am expecting Ur's reply.
Thanks
Failing to plan is Planning to fail 
-
Jul 15th, 2007, 11:29 PM
#6
Re: what way to use different browser for same coding
 Originally Posted by Guvera
Is it any possible that can we give same design for all browser?
No, because each browser has it's own rendering algorithm and they do not all use the same standards. So what works for IE might not work for FF or Opera.
Your best choice would be to work by the W3C standards. at least all browsers support them
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
-
Jul 15th, 2007, 11:35 PM
#7
Thread Starter
Addicted Member
Re: what way to use different browser for same coding
 Originally Posted by ComputerJy
No, because each browser has it's own rendering algorithm and they do not all use the same standards. So what works for IE might not work for FF or Opera.
Your best choice would be to work by the W3C standards. at least all browsers support them
Yes.That's right to work by the w3c standards.But i finished all design issues.Now how can i change the coding and check some changes in coding.
How i will use w3c standards.
Hope i am expecting ur's reply.
Thanks
Failing to plan is Planning to fail 
-
Jul 19th, 2007, 07:39 AM
#8
Re: what way to use different browser for same coding
What are you looking for now? Tutorials? Good design articles?
-
Jul 19th, 2007, 08:13 AM
#9
Thread Starter
Addicted Member
Re: what way to use different browser for same coding
 Originally Posted by mendhak
What are you looking for now? Tutorials? Good design articles?
Hi Menthak,
No ya,I didnt look anything.Now i start to compare the IE and Firebox.Some control is working and some control is not working.
Thanks
Failing to plan is Planning to fail 
-
Jul 19th, 2007, 08:31 AM
#10
Hyperactive Member
Re: what way to use different browser for same coding
Guvera - this is a common problem all web developers. There is a lot techniques to get web site to work across all browser. Depending on your situation will depend on techinque used to over come it.
usually, if you did your html layer and css then ran it through the validator above most of your design should pretty much work in all browsers aside from minor tweaking. however, if you used the designer is VS2005 or Visual Web Dev 2005 it does produce w3c validated code. Another tool called Web Expression from Microsoft accomplishes this for ASP.NET. To get back with the point, you probably need to do some searching on "cross browser compatibility" on a search engine. I have the feeling you don't have enough grasp of the topic to ask a question that will really benefit you.
-
Jul 19th, 2007, 08:33 AM
#11
Thread Starter
Addicted Member
Re: what way to use different browser for same coding
 Originally Posted by mendhak
What are you looking for now? Tutorials? Good design articles?
Hi Menthak,
No ya,I didnt look anything.Now i start to compare the IE and Firebox.Some control is working and some control is not working.
Thanks
Failing to plan is Planning to fail 
-
Jul 20th, 2007, 08:54 AM
#12
Re: what way to use different browser for same coding
superbovine mentioned the basic problem. Perhaps you can be more specific about your problem and we can make blind guesses as to what the problem is.
-
Jul 20th, 2007, 08:54 AM
#13
Re: what way to use different browser for same coding
Mention your version of ASP.NET as well.
-
Jul 20th, 2007, 09:16 AM
#14
Thread Starter
Addicted Member
Re: what way to use different browser for same coding
 Originally Posted by mendhak
Mention your version of ASP.NET as well.
Hi mendhak,
I am using Asp.Net 2.0 Version. I got a problem in design and script in firebox browser.First i used IE and implement all coding according to IE.But now i put same coding in another application and run in firebox some design not visible and some script error.For example,
function TabStripMenu_onSelect(sender, eventArgs)
{
var selectedItem = eventArgs.get_tab();
alert(selectedItem);
var elemDashboard=document.getElementById('divDashBoard');
var elemCampaign=document.getElementById('divCampaign');
var elemCalendar=document.getElementById('divCalendar');
var elemCommunication=document.getElementById('divCommunication');
var elemReports=document.getElementById('divReports');
//var elemSnapshot=document.getElementById('divSnapShot');
var elemRollBack=document.getElementById('divRollBack');
var elemForums=document.getElementById('divForums');
var elemToDoList=document.getElementById('divToDoList');
//var selectedItem=eventArgs.get_item();
alert("elemCampaign");
//To show the element under Dashboard And to hide other Menu Items When selected Menu Item is DashBoard
if (selectedItem.get_text()=='DashBoard')
{
if (elemDashboard.style.visibility=='visible')
{
}
else
{
elemDashboard.style.display='block';
elemDashboard.style.visibility='visible';
CalllblSelectedProName.callback();
CalllblSelectedClientName.callback();
CalldgPastWeekMsgs.callback();
cbRecentMsgs.callback();
CalldgRollBackHistory.callback();
elemCampaign.style.display='none'
elemCampaign.style.visibility='hidden'
elemCalendar.style.display='none';
elemCalendar.style.visibility='hidden'
elemCommunication.style.display='none';
elemCommunication.style.visibility='hidden'
elemReports.style.display='none';
elemReports.style.visibility='hidden'
//elemSnapshot.style.display='none';
//elemSnapShot.style.visibility='hidden';
elemRollBack.style.display='none';
elemRollBack.style.visibility='hidden'
elemForums.style.display='none';
elemForums.style.visibility='hidden'
elemToDoList.style.display='none';
elemToDoList.style.visibility='hidden'
}
}
In The above javascript,I click dashboard, the dashboard content is not visible in firebox.But its working in IE and content display.I think now u got my problem mendhak.
Thanks,
Failing to plan is Planning to fail 
-
Jul 20th, 2007, 09:47 AM
#15
Thread Starter
Addicted Member
Re: what way to use different browser for same coding
 Originally Posted by mendhak
Mention your version of ASP.NET as well.
Hi menthak,
somethink come in my firebox browser.But in small dot only appears.In IE the whole div appear.This is also problem in design.
Thanks,
Failing to plan is Planning to fail 
-
Jul 20th, 2007, 01:48 PM
#16
Re: what way to use different browser for same coding
Two more questions,
First, is this TabStrip control an MSIE control (MSIE controls are not the same as ASP.NET controls)? Where did you get it from?
Second, what HTML is rendered for the corresponding control that doesn't show up right in Firefox?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|