Test & Target code generates divs with style attributes that include display:block
. How do I replace this with inline-block
?
Asked
Active
Viewed 729 times
0

Paul Sweatte
- 24,148
- 7
- 127
- 265
1 Answers
0
Use the !important
declaration in the style sheet to override the mbox div, the generated div and descendants of the container ID:
div[style*='block'], #foo > div[style*='block']
{
display: inline-block !important;
vertical-align: top;
}
div.mboxDefault
{
display: inline-block !important; visibility: visible; }
}
Append the following query string to the URL parameters to toggle the mboxes:
- ?mboxDisable=1 (mbox Off)
- ?mboxDebug=1 (mbox On)
Use mousemove if you need to bind events to the mboxes instead of the load or ready events.
References

Paul Sweatte
- 24,148
- 7
- 127
- 265