3 replies [Last post]
lukewakeford
lukewakeford's picture
Offline
Enthusiast
UK, West Sussex, Dorset
Last seen: 50 weeks 3 days ago
UK, West Sussex, Dorset
Joined: 2010-07-24
Posts: 71
Points: 84

hey I have come across a problem, what I want to do is have these colourful lines drop down and reach the boxes, after they have hit the boxes i want them to stop so that they do not continue. at current they are literally the background image of the div below.

can anyone suggest a possible solution to this problem? thanks, Luke.

Verschwindende
Verschwindende's picture
Offline
Guru
Last seen: 1 week 2 days ago
Timezone: GMT-5
Joined: 2009-10-09
Posts: 2037
Points: 2259

Is it always going to be

Is it always going to be ordered like that getting longer as they go? If so, block the view of the background with an image that matches the black color of the background. If you need an example let me have access to your images.

mattjr
mattjr's picture
Offline
newbie
Last seen: 2 years 52 weeks ago
Timezone: GMT-5
Joined: 2011-11-23
Posts: 5
Points: 5

You could just create a black

You could just create a black div of 10px that goes under each white rounded-corner div. then, just get rid of any margin space between the two white boxes. See what I mean?

Verschwindende
Verschwindende's picture
Offline
Guru
Last seen: 1 week 2 days ago
Timezone: GMT-5
Joined: 2009-10-09
Posts: 2037
Points: 2259

No the extra DIV is not

No the extra DIV is not necessary. Presentational markup is not suggested.