Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    Senior Coder
    Join Date
    Jul 2002
    Posts
    1,628
    Thanks
    0
    Thanked 0 Times in 0 Posts

    crossbrowser form backgrounds

    Hello
    I have this image for the background of my text type inputs, its a small faded border that spans the left and top side of the box.

    when using background:url('input.gif') the picture will repeat itself in MSIE6.
    it is fine in Netscape7, so to fix it i added background:url('input.gif') no-repeat
    but when i do that, the background of the input in Netscape7 goes transparent, this also happens with any customization made after the ) in the code.

    is there a way around this problem?

  • #2
    New Coder
    Join Date
    Jun 2002
    Posts
    30
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Try this: background-repeat:no-repeat

  • #3
    Senior Coder
    Join Date
    Jul 2002
    Posts
    1,628
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks for the reply
    unfortunatly that wont work, its pretty much the same as ('pic.gif') no-repeat

    i guess i am just going to customize the borders to make the same effect because the image wont work, unless i can find a solution.

  • #4
    Senior Coder
    Join Date
    Jul 2002
    Posts
    1,628
    Thanks
    0
    Thanked 0 Times in 0 Posts
    ok, the "fixed" command seemed to work.
    the image isnt showing exactly the same in ie and netscape, it was hard to see in netscape i guess that was the problem(?).


    another victim of lack of sleep to make room for coding

  • #5
    jkd
    jkd is offline
    Senior Coder jkd's Avatar
    Join Date
    May 2002
    Location
    metro DC
    Posts
    3,163
    Thanks
    1
    Thanked 18 Times in 18 Posts
    Is your gif file transparent?
    If it is, and you don't see the applied background-color, you have found a bug. Search bugzilla for it, and if not found, please file a helpful report.

    Though Mozilla 1.0.1 (Netscape 7) is kinda old, you might want to grab a nightly trunk build (1.3) and see if you still get the same effect.

  • #6
    Senior Coder
    Join Date
    Jul 2002
    Posts
    1,628
    Thanks
    0
    Thanked 0 Times in 0 Posts
    thanks for the advice jkd

    nah its a white background, i dont know what my problem is/was.
    i can see the picture, just not as prominent as in ie


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •