You must Sign In to post a response.
  • Category: ASP.NET

    ASP.NET Page Alignment is disturbing in various browser (i.e Chore, IE, Mozilla, Opera...)

    I've a webpage design in asp.net, And it's working great in Google Chrome but when its comes to Internet Explorer, Mozilla and Some Other Browser. The Page Alignment is changing that means web page design is messed.

    Can you please tell me why it's happening.
  • #762588
    Hi

    You can try this css for your design page or html page



    div {
    width: 70px;
    height: 300px;
    border: 1px solid #c3c3c3;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-align-content: center;
    align-content: center;
    }


    Name : Dotnet Developer-2015
    Email Id :kumaraspcode2009@gmail.com

    'Not by might nor by power, but by my Spirit,' says the LORD Almighty.

  • #762612
    Hi Srikant,

    Web Browsers are powered by rendering engine. Google Chrome & Opera runs on Blink engine. IE runs on Trident, Firefox on Gecko, Safari on Webkit and many other browsers and engines too. Major are above.
    Alignment of page are controlled by CSS. As CSS versions are changing and many features of latest CSS are not supported by all engines. As well as there are some compatible CSS keywords which we can use to make our webpage look like same.

    .TextBox {
    -moz-border-radius: 15px;
    border-radius: 15px;
    }

    In above code, we tried to make a textbox with rounded corner but we have to write alternative css code for separate engine. Thus it make Textbox rounded corner in different browser.

    All the Best.

    -------------
    Glad to be,
    John Bhatt
    Editor - DNS Forums
    https://www.pyarb.com


Sign In to post your comments