mentalist Posted April 25, 2009 Share Posted April 25, 2009 I've just updated most of my menu generation functions to incorporate 'div' wrappers so they can be managed by CSS easier / better. However even though the menu's are still correct, the way they align within their respective page blocks is all defunct. Please... What's the easy way to centre and right align div's within div's? P.S. I'm just off for a cup o' char so I might add an example in a little while... Quote Link to comment Share on other sites More sharing options...
SuperBlue Posted April 26, 2009 Share Posted April 26, 2009 Set width + margin: 0 auto; Right alignment can be done using float: right; or the position properties of css. Quote Link to comment Share on other sites More sharing options...
shadiadiph Posted April 26, 2009 Share Posted April 26, 2009 use poition absolute for the dispaly blocks then top:0px they will appear next to the appropriate menu link Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.