1 reply [Last post]
ChambreNoire
ChambreNoire's picture
Offline
newbie
Last seen: 4 years 51 weeks ago
Timezone: GMT+1
Joined: 2010-09-15
Posts: 8
Points: 11

Hi there,

I have a problem with my layout and can't find a solution

The following code works fine but due to constraints of the j2ee platform I'm using I need the 'field' <span> to be enclosed in a <div>. As you'll see if you surround each span with the field class in a div, this breaks the layout resulting in the field span's padding overlapping the parent 'wfVarContainer'. I'm hoping someone most knowledgeable than I can fix this and explain what's happening...

http://jsbin.com/qinaviqixu/2/edit?html,css,output

Many thanks in advance,

ChambreNoire

ChambreNoire
ChambreNoire's picture
Offline
newbie
Last seen: 4 years 51 weeks ago
Timezone: GMT+1
Joined: 2010-09-15
Posts: 8
Points: 11

apologies

apologies I didn't escape the markup.

" I need the 'field' to be enclosed in a <div>"

Here's a link to the version that doesn't work : http://jsbin.com/locusomeve/2/edit