Jump to content

Centering Text


backtoworkrecords

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.