Results 1 to 16 of 16

Thread: what way to use different browser for same coding

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jun 2007
    Posts
    241

    Question 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

  2. #2
    Arabic Poster ComputerJy's Avatar
    Join Date
    Nov 2005
    Location
    Happily misplaced
    Posts
    2,513

    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

  3. #3
    Arabic Poster ComputerJy's Avatar
    Join Date
    Nov 2005
    Location
    Happily misplaced
    Posts
    2,513

    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

  4. #4
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: what way to use different browser for same coding

    Yeah, grr.

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Jun 2007
    Posts
    241

    Thumbs up Re: what way to use different browser for same coding

    Quote Originally Posted by ComputerJy
    validate your pages with the W3C Markup validation
    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

  6. #6
    Arabic Poster ComputerJy's Avatar
    Join Date
    Nov 2005
    Location
    Happily misplaced
    Posts
    2,513

    Re: what way to use different browser for same coding

    Quote 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

  7. #7

    Thread Starter
    Addicted Member
    Join Date
    Jun 2007
    Posts
    241

    Thumbs up Re: what way to use different browser for same coding

    Quote 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

  8. #8
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: what way to use different browser for same coding

    What are you looking for now? Tutorials? Good design articles?

  9. #9

    Thread Starter
    Addicted Member
    Join Date
    Jun 2007
    Posts
    241

    Thumbs up Re: what way to use different browser for same coding

    Quote 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

  10. #10
    Hyperactive Member
    Join Date
    Oct 2006
    Posts
    354

    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.

  11. #11

    Thread Starter
    Addicted Member
    Join Date
    Jun 2007
    Posts
    241

    Thumbs up Re: what way to use different browser for same coding

    Quote 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

  12. #12
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    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.

  13. #13
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: what way to use different browser for same coding

    Mention your version of ASP.NET as well.

  14. #14

    Thread Starter
    Addicted Member
    Join Date
    Jun 2007
    Posts
    241

    Thumbs up Re: what way to use different browser for same coding

    Quote 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

  15. #15

    Thread Starter
    Addicted Member
    Join Date
    Jun 2007
    Posts
    241

    Thumbs up Re: what way to use different browser for same coding

    Quote 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

  16. #16
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    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
  •  



Click Here to Expand Forum to Full Width