bhupendra2895
New Member
- Messages
- 554
- Reaction score
- 20
- Points
- 0
Hi,
In firefox 3.6.10(in ubuntu) html code below renders two links (test 1 and test 2)
But html code below does not.
I am not able to understand reason behind it, I guess this due to some bug in firefox, because google chrome renders both code properly.
Please help me to know the actual reason behind it.
In firefox 3.6.10(in ubuntu) html code below renders two links (test 1 and test 2)
HTML:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style type="text/css">
.ads_{
text-align: center;
background-color: #eeeeee;
border-color: #dedede;
border-width: thin;
border-style: solid;
padding: 4px;
}
</style>
<title>Home</title>
</head>
<body>
<div class="ads_">
<a href="">Test 1</a><br/><a href="">Test 2</a><br/></div>
<p class="ads_"><a href="">Test 1</a><br/><a href="">Test 2</a><br/></p>
</body></html>
HTML:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style type="text/css">
.ads{
text-align: center;
background-color: #eeeeee;
border-color: #dedede;
border-width: thin;
border-style: solid;
padding: 4px;
}
</style>
<title>Home</title>
</head>
<body>
<div class="ads">
<a href="">Test 1</a><br/><a href="">Test 2</a><br/></div>
<p class="ads"><a href="">Test 1</a><br/><a href="">Test 2</a><br/></p>
</body></html>
Please help me to know the actual reason behind it.
Last edited: