Grow your CSS skills. Land your dream job.

Problem with embed fields

  • vee
    # January 27, 2010 at 10:44 am

    Hi!

    Perhaps somebody can help me out with a pretty weird bug in

    Firefox 3.5 :

    Well, I created an input field which is containing an embed code for a video.
    Within the input field, I inserted the following: onfocus="this.select()"
    (just to highlight the code automatically).

    Now the weird thing is the behaviour of the text being highlighted:
    Instead of a dark blue colored background (which should be usual)
    only the text changes the color- from black to blue – without me having
    indicated this behaviour in the styles.

    The only indications for the input field are:

    font-size: 11px;
    overflow: hidden;
    width: 205px;
    height: 20px;
    margin-bottom: 10px;
    padding:5px 10px 0 5px;
    color: #464646;

    Any idea why the background won’t get highlighted?

    I’d be so thankful for any answer :-)

    # January 27, 2010 at 12:53 pm

    If you posted a link to the page in question it would be easier to help you out :?

    vee
    # January 28, 2010 at 11:07 am

    Hi, I already solved the problem. Thank you anyway ;-)

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".