• 0

Help needed with a website design


Question

Hiya,

I know little about web design but have offered to put up a one page site for my brother. He sent me this image as a concept.

The problem I am trying to get my head around is how to do the borders of the content. He would like the flower design to be repeated so no matter how wide the browser is, the flower pattern can be seen. If the border between the content and the background was a straight line then it would be simple case of repeating a single flower. However, given that the border is made up of halved flowers, I cant figure out how to do it without either making each side of the content a massive image or having the border overlap the background images and ruin the pattern.

I hope that makes some kind of sense, it's difficult to explain.

eYxWp.jpg

post-63802-0-83813100-1357749055.jpg

Link to comment
https://www.neowin.net/forum/topic/1129940-help-needed-with-a-website-design/
Share on other sites

22 answers to this question

Recommended Posts

  • 0

http://jsfiddle.net/bFdfh/

image-border can't be used in IE i don't think.

If the content width is always the same just create a tiled background image.

I made a dynamic width version :p though it requires IE9.js for IE8 and below >.> (could be resolved when I make additional elements instead of using :before&:after)

  • Like 2
  • 0

http://jsfiddle.net/bFdfh/

I made a dynamic width version :p though it requires IE9.js for IE8 and below >.> (could be resolved when I make additional elements instead of using :before&:after)

yeah this is definitely better for responsive pages, i'd go with the additional elements.

(ps OP i've deleted the page in my original post you can see it here: https://dl.dropbox.com/u/33447305/test.htm)

  • 0

cheers for the replies everyone, I appreciate them. I'm not sure if my explanation wasn't clear enough, or if I misunderstand the answers. I was hoping to have the flower pattern to repeat itself across the page so that no matter how wide the brower is, the flowers go from the content to the edge of the browser window. Is the best way to do this to just use Seahorepip's example and just make the background image a lot wider, for example adding 6 flowers to it width ways? Is that considered good web practice, or is a background image that size not very good?

dxkMf.jpg

  • 0

Thanks, I appreciate the help. The problem with that is that if you look closely at the border in the first post, it joins the flowers together so is different to the other flowers. I know I'm being fussy, I just wondered how it would be done.

  • 0

If you only want them to join together at the border then non of this will work. you'll need to do a vertical tile for the entire height of the document and then use another tile for the rest of the document.

the last example i showed you was almost there: https://dl.dropbox.com/u/33447305/test.htm

  • Like 2
  • 0

https://dl.dropbox.c...447305/test.htm

not the best solution.

Another solution would be to create a tile of that and then repeat it vertically down the page in a wrapper property or something, then use the tile background on the body to cover the rest... this way you'll be able to get rid of those extra divs.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.