Welcome to WebmasterWorld Guest from

Forum Moderators: not2easy

Message Too Old, No Replies

Border img



10:22 am on Jun 16, 2012 (gmt 0)

5+ Year Member

Hi there, i'm using hte html 5 doctype.

I was wondering if I can use an image repeat-x across the bottom border of an element. Or at least emulate that.

Does anybody know how that would be done?


8:18 pm on Jun 16, 2012 (gmt 0)

WebmasterWorld Senior Member lucy24 is a WebmasterWorld Top Contributor of All Time Top Contributors Of The Month

It sounds as if you're describing a straightforward background image. Set it to position: bottom, possibly with some bottom padding on the element if you need the whole image to be visible. It's done in CSS, not in the HTML itself.

You can attach a background to just about anything, not just big things like headers or complete documents.