A Digital Age Deserves A Digital Leader

Need help. CSS problem I think. Should be easy.

Need help. CSS problem I think. Should be easy.

Postby xxsonyboy4lfexx » Mon Mar 17, 2008 12:11 am

I don't have to get those dividers to be at the top of the link bar thing. I need the text centered in the link bar too. When I add in the dividers the links drop from the center.

http://firefox.thechillroom.com
http://firefox.thechillroom.com/style.css
http://firefox.thechillroom.com/images/
Image
PRO Level 8
User avatar
Posts: 315
Joined: Sat Jan 07, 2006 4:42 pm
Location: California

Postby xxsonyboy4lfexx » Wed Mar 19, 2008 8:07 pm

No one? :'(
Image
PRO Level 8
User avatar
Posts: 315
Joined: Sat Jan 07, 2006 4:42 pm
Location: California

Postby kanaloa » Wed Mar 19, 2008 8:14 pm

Have you thought of just making those items a user list with a border on the left of each list item? You could use padding to space the text away from the divider itself. And give the last (or first one) a class ID that has "border:none" and that'll make sure you don't have a divider on the last (or first) list item.

That's how I make most of mine. BTW... centering a user list can be a PITA. I had to do it about a month ago with floated images for list items, and I about pulled my hair out. With text you shouldn't have too many issues though.
"Greatness is not a function of circumstance. Greatness, it turns out, is largely a matter of conscious choice, and discipline." - Jim Collins
President
User avatar
Posts: 11795
Joined: Sun Mar 10, 2002 1:18 am
Location: Columbia, SC
Real Name: John Derrick

Postby xxsonyboy4lfexx » Sat Mar 29, 2008 11:20 pm

How? I tried this
border-left: background url(/images/divider.png);
border-left-width: 2px;
Image
PRO Level 8
User avatar
Posts: 315
Joined: Sat Jan 07, 2006 4:42 pm
Location: California

Postby xxsonyboy4lfexx » Sat Mar 29, 2008 11:47 pm

Ok I kinda got it to work but it won't come up right in IE8. And it isn't tall enough.
Image
PRO Level 8
User avatar
Posts: 315
Joined: Sat Jan 07, 2006 4:42 pm
Location: California

Return to HTML, CSS, and Scripts

Who is online

Users browsing this forum: No registered users and 1 guest

cron
cron