...

View Full Version : Resolved Make Hx and UL display on same line



CaptainB
10-21-2010, 04:50 PM
Hi guys,

How would I make an H and UL element display at the same line?
I tried to float both elements as well as apply display:inline; to one or both of them - no result!

abduraooft
10-21-2010, 05:15 PM
Set a float and width on the first element and then set an adequate margin(-left/right - depending upon the initial direction of float) on the second element.

CaptainB
10-22-2010, 12:33 AM
Thank you! It was the width I missed - I didn't know you were supposed to set it in order to make it work - but it's pretty obvious now you mention it.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum