Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

html tags compatibility with IE and NS

Status
Not open for further replies.

rushtosri

Programmer
Feb 25, 2001
80
US
hello friends,

Just recently i created a website with frontpage 2002. I have not used any external style sheets for the design but some internal tags are definately there. It works fine in IE 5 and above. But the same page or web if i open it in Netscape Navigator on Linux (Redhat 7.2), everything including the fonts and the text and margin alignments changes. I want to know why this happens and how i can prevent it? Is there any difference in the method of using the tags for webpages on NS and IE?? I would be grateful if you help me to solve this problem.

I've heard that there is some tutorial on the net which tells what tags are supported by which browser. Can any one point me to the site. Its an online tutorial as well as can be downloaded itseems. I dont know the url. please help me.

Awaiting for ur replies..
Thankx in advance.
Shri.
 
There are dozens of such tutorials available online, search and you'll find them.

Regarding text and alignment I recommend to use styles to determine all text attributes, like this:
p { font: 10pt verdana,arial,sans-serif; color: #663399; font-weight: bold; text-align: justify }

the same is about margins:
.one { margin-top: 5px; magring-bottom: 10px; margin-left: 0; margin-right: 0 }

This will make all text inside <p> tags and margins of elements with class=one look the same in all browsers.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top