Skip to:
Content
Pages
Categories
Search
Top
Bottom

Tag ”valign” crashed in BuddyPress Default theme


  • kshengelia
    Participant

    @kshengelia

    Hello,
    I am using BuddyPress Default theme on my BuddyPress, everything works fine, except the tag “valign” (which I mentioned in title too).
    The problem is, that when I insert table in page (with HTML code), and add valign tag to <td, it doesn't make any affect, I don't know what to do.

    I have already checked many resources, where I ensured, that I am inserting this code correctly (`

    `) and so, I think that it is fault of theme – BuddyPress Default.

    Please, help me ASAP and sorry if this question had been already answered in this forum..

Viewing 6 replies - 1 through 6 (of 6 total)
  • While this is a general CSS query, we need a link to your site/demo page to see the specifics. Can you share?


    kshengelia
    Participant

    @kshengelia

    Of course I can – http://eblog.ge/

    Site is in Georgian language and you may be confused, so I have created another page, with only table – http://eblog.ge/valign-test/

    * I have not made any changes in my .css files, only change was when I changed background color, but it couldn’t make any affect on TABLEs, in addition I had same problem with TABLEs until I change this background color (I know that it isn’t in touch with each other, but just to make everything clear..).

    This is HTML of code which I used on page above:

    `

    This text must be “valigned” to top This is simple text…

    `

    @kshengelia

    You shouldn’t really be using ‘valign’ it’s a deprecated attribute, presentation is handled by CSS.

    The reason that valign isn’t working for you is precisely because CSS has been used to apply a vertical-align: middle; to that cell.

    You need to use a debugging tool such as Firebug for FireFox to allow you to examine the applied style/ rulesets for elements then you would be able to see what was affecting what.

    BP default.css states that all table cells should be vertical-align: middle, you will need to adjust that specifically for that cell either by adding a class to style on or using descendant selectors.


    kshengelia
    Participant

    @kshengelia

    Thank you very much! I’ll edit it in default.css

    Appreciate your help


    kshengelia
    Participant

    @kshengelia

    1 more thing please:

    Which part of CSS is responsible for `

    ` tag?

    I am insterested with it, because I have used this tag and the text, which is between these tags ` Talking about this text

    ` is bold, but I haven’t found anything which makes it bold.

    Thank you in advance.

    You won’t find anything it’s not a BP or author style it’s a header cell so has default browser styles applied ‘font-weight: bolder; text-align: center;’ if you don’t want those then you will need to override them in your author styles.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Tag ”valign” crashed in BuddyPress Default theme’ is closed to new replies.
Skip to toolbar