Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Mike Teezie

macrumors 68020
Original poster
Nov 20, 2002
2,205
1
I know diddly squat about JS. And I know less about .css that I thought I did.

Here is what I have so far:

Slider

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

attachment.php


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?
 

Attachments

  • Picture 1.png
    Picture 1.png
    22 KB · Views: 100

LtRammstein

macrumors 6502a
Jun 20, 2006
570
0
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:
Code:
.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.

http://www.w3schools.com

Hope this helps.

Steve
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.