same css classes on two different websites appear differenly

Discussion in 'CSS' started by farazch, Dec 20, 2009.

  1. #1
    Hi All,

    I am trying to use a class of another website in my website,in fact the site on which i am working on will b embedded in

    that main site so for that i need to have same css class(font size,color etc).The problem i m facing is,i use same css class

    but its not matching with main website.
    I used the same doctype bt even then there is no success.
    this is main site link :
    cenigent.com/Exclusive/

    And page's link which i m working on and will b embedded is:
    ins.ifastnet.com/cenig2/"]http://www.ins.ifastnet.com/cenig2/


    if you go at the footer ,there is a phone number.I am trying to match that phone numbers class bt unable to do so.Kindly

    help me out wat is going wrong here.Thanks.
     
    farazch, Dec 20, 2009 IP
  2. qazu

    qazu Well-Known Member

    Messages:
    1,834
    Likes Received:
    62
    Best Answers:
    0
    Trophy Points:
    165
    #2
    I think it's a default styling issue. Check what's in the other websites * {}, html {}, and body {} sections in it's CSS file.

    Hope that helps.
     
    qazu, Dec 20, 2009 IP
  3. farazch

    farazch Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    i have checked it using firebug the firefox adon and it shows the css class which is applied on a text and tht class is exactly the same as that of what im using :(.
     
    farazch, Dec 20, 2009 IP
  4. Wp-Mod.Com

    Wp-Mod.Com Peon

    Messages:
    381
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #4
    try adding this to the class

    the reason that is happening is because , the h2 class is meant for headings and it is taking automatically bold tag , hope i am helpful

    Please add reputation if you like my post
     
    Wp-Mod.Com, Dec 21, 2009 IP