Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6898635
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T07:19:18+00:00 2026-05-27T07:19:18+00:00

I tried following code to get an animated border on a div but i

  • 0

I tried following code to get an animated border on a div but i am not able to get it on left and right side.here is my code

<div id="test">test</div>
#test
{
position:absolute;
width:200px;
top:100px;
left:50px;
-moz-border-image:url(http://i.imgur.com/GziKo.gif)   8 0 stretch;
}

here is fiddle http://jsfiddle.net/ahvSR/30/
Thanks
Edit

Although @Mihalis Bagos solution is good. But i am not interested in wrapper div i want some thing on test div or border-image

New Edit

i have done it using border-image now my image is 4×4 pixels before it was 8×8 pixels.Fiddle is here http://jsfiddle.net/5rHCa/

But please can anyone explain thoroughly why it was not working with 8×8 pixels.

Final Edit
It can be done through 8×8 pixel also but no stackoverflow user got the mistake in my fiddle.See my answer.

Another Final Edit

The fiddle i have posted using 4×4 and 8×8 http://jsfiddle.net/5rHCa/ and http://jsfiddle.net/LzS7b/ are not working on firefox 3.6 does anyone have idea why these are not working on firefox it is working on chrome though.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T07:19:19+00:00Added an answer on May 27, 2026 at 7:19 am

    Use different AnimGif with transparency in the center;

    http://jsfiddle.net/ahvSR/32/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I tried the following code. Although I don't get any errors, it did not
I tried the following code to get an alert upon closing a browser window:
I want to get script's origin filename in global functions. I tried following code,
I have tried the following code but has no effect: Imports system.Runtime.InteropServices <DllImport(UxTheme.DLL, BestFitMapping:=False,
I need to localize the date. i tried with following code but its giving
I tried the following code, in an attempt to get the custom view displaying
I've tried the following code to change some css properties (.overthumb) of a DIV
I'm new to Objective C for iPhone. I tried the following code to get
I tried the following code in LINQPad and got the results given below: List<string>
I tried the following code from w3schools. When I enter letters in a input

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.