Hello, I have been designing a personal website for myself, Not a css professional by any means. I have mainly been following tutorials online on how to transfer my Photoshop layout to the web. Having a big problem trying to layout the horizontal menu though. I have found a style I really like and would like to implement the style into mine. The style: [http://betanightclub.com/ [URL="http://3.7designs.co/blog/"]http://3.7designs.co/blog/](http://betanightclub.com/) Right now I have a basic menu that I have been following from a tut and I have been trying to code it to look like the ones I like, but lets just say im still trying!

My site if you would like to take a look and please feel free to give me your input on things that perhaps may be wrong.http://www.joecampoli.com/test

TehYoyo
—
2012-04-02T01:08:45Z —
#2

Most likely you'll want to use display:inline-block; and set a width and height. Inside of that li, you can use a heading to define the navigation item, and maybe a paragraph or <small> to define the description. Take a look at Veerle's blog to see how she does her top three boxes like that.

~TehYoyo

RyanReese
—
2012-04-02T01:54:31Z —
#3

Hi. Have you already fixed this? Viewing in Chrome and the top menu (at the right) is already horizontal. The only other menu is the one in the footer, and that's horizontal as well :).

Vox98
—
2012-04-02T02:03:22Z —
#4

Hey Ryan, what im trying to do is style it like the ones in the links i provided up top.

RyanReese
—
2012-04-02T02:09:08Z —
#5

It's nothing special. The <li>'s are floated, basically. That's it. Then this style is applied to each anchor (they have each anchor defined separately) :).

The "sexiness" of the menu is just the image there. The text-indent takes away the text you'd put inside the anchor of the HTML and hides it so that it won't affect the view of it. It'll come back though if CSS is off :).

Here is the link to the image in question.

The bottom part of the image I linked is used as the hover state. That image I linked to is a CSS sprite. It combines multiple images into one file for less HTTP requests.

Vox98
—
2012-04-02T02:14:42Z —
#6

is there a way to accomplish the menu with just css? im trying some different examples but really throws my divs out of whack

thanks TehYoyo i just did that haha.... need to work on spacing and possible separators though. and im not sure why the numbers are indented a slight touch.

RyanReese
—
2012-04-02T02:56:28Z —
#10

The numbers are indented because of the padding you set on the anchors. It affects the first line of text since it's an inline element. Setting the anchor to display:inline-block would fix this, or remove the padding altogether. I recommend the first option.

Looks like you are doing pretty good. The page hs changed since last I saw it so I assume you're still making progress on the page. You're probably going to have to throw some <span>'s in there inside the anchor to replicate the horizontal "break" / border effect.

On your page, the Gallery,Links and VIP can all have spans wrapped around that text and give that a bottom border to replicate that effect.

Vox98
—
2012-04-02T03:04:28Z —
#11

I am going to take your tips and work on it. Packing it in for the night but I hope you can check back tomorrow if you have time and see how i did. Thank you both for your help and input!

RyanReese
—
2012-04-02T03:23:44Z —
#12

I work tomorrow morning until 1 PM (ET) but if you have it updated with your current attempt by then, I'll surely be able to help you along with any snags you have :). Or if I don't get to it, any other member here is sure to help.

Vox98
—
2012-04-03T10:33:10Z —
#13

My attempt has been done but im thinkin, maaaaybe I might give images a try

RyanReese
—
2012-04-03T11:06:37Z —
#14

It would certainly be easier .

I went to your site though, and it's certainly not a bad attempt.

Vox98
—
2012-04-04T00:43:13Z —
#15

Any chance you can point me in the right direction?

RyanReese
—
2012-04-04T02:29:38Z —
#16

In what, making the image? If so, unfortunately that's not my area of expertise.

If not, then I don't know what you could need help on, since after image creation it's straight forward: placing it on an element :).

TehYoyo
—
2012-04-04T02:33:24Z —
#17

I can make the image, if you want. It's not that I usually outsource myself, but I've been looking for a chance to stretch my Photoshop brain and here it is!

I assume that's what you want (really, b/c Ryan said that). I just skimmed over the thread.

~TehYoyo

Edit: Not to discourage you from doing your own work, of course.

Vox98
—
2012-04-04T20:29:06Z —
#18

Thank you TehYoyo I appreciate the offer but I have the images The layout is my own work as well. Im just wondering where i put the image in the css code. I will fiddle around!

TehYoyo
—
2012-04-04T22:48:34Z —
#19

Vox98 said:

Thank you TehYoyo I appreciate the offer but I have the images The layout is my own work as well. Im just wondering where i put the image in the css code. I will fiddle around!

Sure, no problem! Good luck with it - if you have questions, you always know where to ask.