• Hi all.
    On my website i have a small problem with some buttons. When i create a button <a href="link"><button>button_text</button> it sure enough creates the button, but sometimes when creating the button it makes an underline on the text O.o and i have no clue to why this is happening. Can someone tell me why it does what it does?
    See picture

    Also, sometimes when adding text to my site and update the page. When you hover over the text with your mouse it highlight the text with a red color. Why does wordpress do this and how do i do so it dosent highlight the text?

    Hope someone can help me.

Viewing 6 replies - 1 through 6 (of 6 total)
  • possibly caused by the default styles for links; not caused by wordpress, if at all caused by the stylesheet of your theme.

    try to identify the styles for these links (or confirm that these are missing) and edit the stylesheet accordingly.

    http://www.w3schools.com/css/css_link.asp

    if you post a link to your site, pointing to a post/page with this problem, someone might be able to help with this.

    Thread Starter drenriza

    (@drenriza)

    The problem with the text is that i have not decorated it at all. The only thing i have done is written it in the wordpress editor and updated the page. And then when i hover my mouse over it, it lights up in a red color.

    The problem with the text is that i have not decorated it at all.

    that could be the problem.
    add styles to style.css (or the stylesheet for customisation of your theme), and style the links the way you want to see them.

    Thread Starter drenriza

    (@drenriza)

    and style the links the way you want to see them.

    but it is not a link, its plain text that get the decoration, do i then still need to style the style.css? any guides on how you customize the style.css?

    if this is your code <a href="link"><button>button_text</button>, then that is a link;

    unless you post a link to your site, to enable someone to see your ‘problem’, there is not much more to suggest.

    Thread Starter drenriza

    (@drenriza)

    A okey we are talking about two different things.
    Problem #1 Is the button as you are talking about.
    Problem #2 Is normal text inserted in the wordpress editor sometime gets a red highlight. Okey so now that we both are talking about #1 it makes more sense :p

    Can you give me an example of how <a href="link"><button>button_text</button> could be worked into the style.css file?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘button and text problems’ is closed to new replies.