+ Reply to Thread
Results 1 to 4 of 4

Thread: HTML/CSS and firefox 3.6.10

  1. #1
    bhupendra2895's Avatar
    bhupendra2895 is offline x10 Elder bhupendra2895 is an unknown quantity at this point
    Join Date
    Jun 2010
    Location
    India
    Posts
    554

    HTML/CSS and firefox 3.6.10

    Hi,

    In firefox 3.6.10(in ubuntu) html code below renders two links (test 1 and test 2)
    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>
    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.

    Please help me to know the actual reason behind it.
    Last edited by bhupendra2895; 10-19-2010 at 12:49 PM. Reason: privacy control
    Liked this? Click on the icon on the bottom of post to make me .

  2. #2
    techairlines's Avatar
    techairlines is offline x10 Flyer techairlines has much to be proud oftechairlines has much to be proud of
    Join Date
    Jul 2009
    Location
    New York City
    Posts
    2,853

    Re: HTML/CSS and firefox 3.6.10

    Are you using an ad blocker add-on such as Adblock Plus? Adblock Plus filters all divs and classes containing the word ad in it and it probably didn't catch it with the underscore there.

    Both codes are working fine for me in Firefox 3.6.10 as well as Firefox 4.0b6.
    Last edited by techairlines; 10-19-2010 at 05:08 PM.
    Best regards,
    Brian Yang - TechAirlines


    How am I doing? Click the star button at the bottom left to rate this post. Thanks.
    Terms of Service | Account Portal | Wiki

  3. #3
    bdistler's Avatar
    bdistler is offline x10 Lieutenant bdistler is an unknown quantity at this point
    Join Date
    May 2010
    Location
    Catalina AZ USA
    Posts
    349

    Re: HTML/CSS and firefox 3.6.10

    In top code change ==>.abs_<== to ==>.bob<== X3
    In bottom code change ==>.abs<== to ==>.bob<== X3

    then they both are the same and work in ubuntu's - firexox/chromium/opera

    It dose not like you to use '.abs'
    which '.abs_' is not like it

  4. #4
    bhupendra2895's Avatar
    bhupendra2895 is offline x10 Elder bhupendra2895 is an unknown quantity at this point
    Join Date
    Jun 2010
    Location
    India
    Posts
    554

    Re: HTML/CSS and firefox 3.6.10

    Quote Originally Posted by techairlines View Post
    Are you using an ad blocker add-on such as Adblock Plus? Adblock Plus filters all divs and classes containing the word ad in it and it probably didn't catch it with the underscore there.

    Both codes are working fine for me in Firefox 3.6.10 as well as Firefox 4.0b6.
    Yes I am using adblock plus, thanks for helping.
    Liked this? Click on the icon on the bottom of post to make me .

+ Reply to Thread

Similar Threads

  1. Replies: 9
    Last Post: 06-25-2010, 12:47 AM
  2. Hide spread firefox in firefox but show in IE
    By taha116 in forum Programming Help
    Replies: 8
    Last Post: 07-13-2009, 11:44 AM
  3. Replies: 1
    Last Post: 05-08-2008, 04:40 PM
  4. is there a diff between mozilla firefox and mozilla, firefox?
    By aquila in forum Scripts & 3rd Party Apps
    Replies: 4
    Last Post: 11-15-2007, 07:12 AM
  5. Firefox: Using Firefox for Beginners
    By pulse__xx in forum Tutorials
    Replies: 9
    Last Post: 11-26-2005, 07:50 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers