Ace school

with brainly

  • Get help from millions of students
  • Learn from experts with step-by-step explanations
  • Level-up by helping others

A community for students.

i was making a website template using html and css and was using google chrome to preview the page. But after i finished making it , and i opened the page in different browsers (Mozilla, internet explorer ) and the page looked different in different browsers. It shows as if the code is browser dependent. How do we overcome this difficulty and write a code that looks same in all browsers????

Computer Science
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.

Join Brainly to access

this expert answer

SIGN UP FOR FREE
that's the main focus of a web designer these days. don't forget smartphones and tablets as well, as their screens/interfaces also can change the game. some browsers right now only know so much HTML5 and CSS3 so if you're making this page up to date you need to make alternatives to the unsupported features. (i.e. an embedded flash video for an embedded html video.) you'll also probably need to utilize javascript and php as well in order to accomplish some of your goals... there aren't many pages left that are strictly html/css anymore.
how we do that ?
haha well it's a little too complex to answer as a single question, and I'm honestly just figuring this stuff out myself (I designed websites several years ago before CSS even existed, so catching up to modern times now). there's a great lecture series from harvard I'm watching right now called "building dynamic websites" that I so far is doing a great job of showing how each layer of a modern page works. and don't be intimidated that there are multiple languages you must work with. they all have the same basic premise. each one you learn makes the next easier. also don't forget to check the developer sections of the various browser sites for their own recommendations on compatibility.

Not the answer you are looking for?

Search for more explanations.

Ask your own question

Other answers:

my web template design, that is the form that i have created moves from its location when i reduces the size of my browser window ??? why so??
hey its all part of the css , you have to make amendments in it so that when the page opens it first checks for the browser and then shows the page designed for it. for eg:- -moz-transform:rotate(180deg); /* Firefox 4 */ -webkit-transform:rotate(360deg); /* Safari and Chrome */ -o-transform:rotate(180deg); /* Opera */ these are some of the differences in transform.

Not the answer you are looking for?

Search for more explanations.

Ask your own question