css help needed

Discussion in 'Web Design and Development' started by Mike Teezie, Mar 5, 2007.

  1. Mike Teezie macrumors 68020

    Mike Teezie

    Nov 20, 2002
    I know diddly squat about JS. And I know less about .css that I thought I did.

    Here is what I have so far:


    Here is what I'm trying to get the thing to look like:


    I want to create a "tab" under the banner. I want the about link to fit over the tab. Should be simple, but I'm struggling. I'm fine with the about link being code and not an image. The "about" on the tab in the mockup is just for illustrative purposes.

    I'm a bit confused about how to style that one section. I'm trying to use an image as a background, and force the thing to be 800px wide, but it just stays however wide the text is, and in the center to boot.

    All my nasty css is in the source code....

    Any ideas?

    Attached Files:

  2. LtRammstein macrumors 6502a


    Jun 20, 2006
    Denver, CO
    The CSS can change the text link to fit what you need, but it looks like the design you are going for won't work with just JavaScript and CSS.

    Here's an example of what CSS you could do:
    .alink {
             background-image: url(images/yourdesign.gif);
             font: Whatever font you want;
             size: whatever you want;
    If that doesn't help here's a great site that you can learn almost all the W3 technologies from.


    Hope this helps.


Share This Page