Forums

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

Home Forums CSS image repeated before and after?

  • This topic is empty.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #207003
    craignewman78
    Participant

    I want an image to repeat-x either side of my H1 titles. My image is a transparent png (just a simple yellow dot).

    Can this be done?

    Note: Some of my H1’s are placed over background images, not always on a solid colour.

    Here’s a screenshot of what I’m looking to do http://i.stack.imgur.com/0Ug64.png

    #207004
    Paulie_D
    Member
    #207007
    craignewman78
    Participant

    This almost works! Although if I change:

    border-bottom: 1px solid #000;

    to

    border-bottom: 1px dotted #000;

    and increase the size to 6px I get a square! lol

    #207008
    craignewman78
    Participant
    #207009
    Paulie_D
    Member

    Dotted borders are, I understand, implemented differently in each browser. Some use squares, some use circles.

    Chromes uses squares (as does Safari 5…I can’t test higher on Windoze), FF & IE circles (although IE has issues with starting with full circles).

    CSS is fun…innit!?

    #207011
    craignewman78
    Participant

    Sometimes! ha

    Is there an answer to this using a repeating background png maybe?

    My clients are insisting on this design! … Pain in the … ;)

    #207012
    Paulie_D
    Member

    Is there an answer to this using a repeating background png maybe?

    Probably the way to go in this instance.

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