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.HTML Code:<?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>
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.HTML Code:<?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.


LinkBack URL
About LinkBacks

.
Reply With Quote

star button at the bottom left to rate this post. Thanks.

