Forums

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

Home Forums CSS How to make this banner?

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #204340
    motion2082
    Participant

    Hey guys,

    Can someone please advise me how the best way to make this banner is?

    http://i57.tinypic.com/21kz79f.jpg

    Looking to create the black bit with the jagged edges and changes the text for each page.

    Would a style with a background.png suffice or should I be looking at something else?

    #204344
    Shikkediel
    Participant

    An svg would probably be nicest, it’ll look better on retina screens. It can be used as a background but you could even dynamically change the text.

    #204346
    motion2082
    Participant

    Ok at the moment I’m using

    background-image:url(/image/custom/black-bg.png);
    background-repeat: no-repeat;
    background-position: top center;

    on the DIV

    #204347
    Shikkediel
    Participant

    Looks fine in itself although it doesn’t seem to be responsive. Might want to add background-size as well. If you’re sticking with a png, you could add one that’s twice the expected display size for the retina thing.

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