backtoworkrecords Posted April 3, 2007 Share Posted April 3, 2007 Hi, I'm just trying to center some text on my page (www.backtoworkrecords.com). I'd like "Home" "Artists" etc. to go side by side just above the orange instead of aligned to the left on top of one another. I'd also like "BACK TO WORK RECORDS" centered above the menu. Would you need the code to help me? I could give that. Could some please email me (warrenamiller@gmail.com) or instant message me (beatles136). Thank you, Warren Quote Link to comment https://forums.phpfreaks.com/topic/45482-centering-text/ Share on other sites More sharing options...
ToonMariner Posted April 4, 2007 Share Posted April 4, 2007 div#header {position: relative; top: 0; left: 0;} div#hnav {position: absolute; bottom 0} #hnav li {float: left;} NOTE you will have to alter the widths to keep this on one line. h1.header {text-align: centre;} PS your markup doesn't validate! you have a script tag inside a style tag in your head section. Quote Link to comment https://forums.phpfreaks.com/topic/45482-centering-text/#findComment-220855 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.