Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Design Make borders on .gif go away PLEASE.

  • This topic is empty.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #167316
    Kandi
    Participant

    This nav bar has a .gif as its background to create the fading light bulb effect.

    http://kandianne.com/kreations.html

    Is there a way I can eliminate the light border of the .gif to make it look smoother and not have those light lines that look like a grid.
    Or maybe any suggestions how to make this same effect a different way?

    Gracias

    #167317
    Paulie_D
    Member

    To start with, please don’t use tables for layout…there are much better and flexible ways to layout pages.

    As for the ‘grid’….I’m not seeing it in Chrome….unless I’m, missing something.

    Also, using <br> tags for positioning is not a good idea…use margins/padding instead.

    #167319
    Paulie_D
    Member

    Alternatively, don’t use a .gif at all: http://codepen.io/Paulie-D/pen/KGmJh/

    #167320
    Kandi
    Participant

    Thanks Paulie. I will remove <br> and tables, and replace with better alternatives.

    I am using Chrome as well, and as the reddish colors fade in and out there is a light border on each that appears on each little gif that makes it look like grid as it fades in and out.

    Do you see what I mean?

    #167321
    Kandi
    Participant

    you are awesome! Thank you so much :)

    #167322
    Paulie_D
    Member

    I am using Chrome as well, and as the reddish colors fade in and out there is a light border on each that appears on each little gif that makes it look like grid as it fades in and out.

    Do you see what I mean?

    I had to zoom in a lot to see it but, eventually, yes. On my normal desktop at usual zoom level, I couldn’t see it.

    I suspect that ‘effect’ is a function of the gif not being perfectly aligned to the pixel grid in the imaging program.

    #167325
    Kandi
    Participant

    For the alternative you provided, it only works in Chrome right?

    #167333
    Paulie_D
    Member

    No…I just haven’t used the other vendor prefixes for it to work in other browsers

    https://css-tricks.com/snippets/css/keyframe-animation-syntax/

Viewing 8 posts - 1 through 8 (of 8 total)
  • The forum ‘Design’ is closed to new topics and replies.