Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,471
There are 1027 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     HTML/XHTML/DHTML/CSS :

CSS navigation with lists

Thread title: CSS navigation with lists
Closed Thread  
Page 3 of 3 < 1 2 3
    Thread tools Search this thread Display Modes  
10-03-2006, 04:38 PM
#21
derek lapp is offline derek lapp
Status: design rockstar
Join date: Jan 2005
Location: guelph, ontario
Expertise:
Software:
 
Posts: 2,246
iTrader: 0 / 0%
 

derek lapp is on a distinguished road

  Old

Originally Posted by Andy
text-indent: -99999px
is something I truely hate - infact I hate pretty much all text replacements (ie an image where it should be text).

If you're coding to be user friendly you really aren't by using an image where it should be text.
ok, but say for your comany's brand image you've selected an uncommon cursive font. your want to use it for all your headlines to create a consistant design to match your print media (think business card, brochure). there's no clear cut, black and white way to do something. sometimes text indent is used neddlessly, sometimes it actually acocmplishes something. i say let the user decide.

all jokes aside, hasn't the whole i'm so leet because i use xhtml and css instead of an image fad died yet? it always bothered me.

10-03-2006, 07:40 PM
#22
Awesome is offline Awesome
Awesome's Avatar
Status: Pastafarian
Join date: May 2006
Location: Duct Taped to your Ceiling
Expertise:
Software:
 
Posts: 3,440
iTrader: 26 / 93%
 

Awesome is on a distinguished road

  Old

Originally Posted by dereklapp
ok, but say for your comany's brand image you've selected an uncommon cursive font. your want to use it for all your headlines to create a consistant design to match your print media (think business card, brochure). there's no clear cut, black and white way to do something. sometimes text indent is used neddlessly, sometimes it actually acocmplishes something. i say let the user decide.

all jokes aside, hasn't the whole i'm so leet because i use xhtml and css instead of an image fad died yet? it always bothered me.
Most of us use technologies as needed, and where appropriate... Fo rexample, an entirely flash based, text oriented site is just stupid.

10-23-2006, 05:53 PM
#23
Dylan Butler is offline Dylan Butler
Status: Junior Member
Join date: Feb 2006
Location: San Diego, CA
Expertise:
Software:
 
Posts: 27
iTrader: 0 / 0%
 

Dylan Butler is on a distinguished road

Send a message via AIM to Dylan Butler

  Old

Originally Posted by derek lapp
ok, but say for your comany's brand image you've selected an uncommon cursive font. your want to use it for all your headlines to create a consistant design to match your print media (think business card, brochure). there's no clear cut, black and white way to do something. sometimes text indent is used neddlessly, sometimes it actually acocmplishes something.
If you wanted to embed a font into your page, I would reccomend using sIFR. It uses javascript in combination with CSS and Flash to replace text with any font of your choice.

As far as using lists goes, check out these lists to know what I believe the best way to do navigation. One image, one stylesheet, and we added the extra conditioning to achieve the hover stay for each color tab. Drop-downs can be done entirely with CSS and lists, but Stu Nichol's table method can be used if you want the neat hover stay effect.
A clear choice IMO.

EDIT: sorry the code is a bit spaced out, as it is generated by a CMS.

10-24-2006, 12:01 AM
#24
Zack is offline Zack
Status: I love this place
Join date: Dec 2005
Location: US and A
Expertise:
Software:
 
Posts: 595
iTrader: 2 / 100%
 

Zack is on a distinguished road

  Old

It doesn't matter whether it is an unordered list or an ordered list, if you style it the same, it will look the same.
HTMLGuy

10-24-2006, 08:53 PM
#25
Dylan Butler is offline Dylan Butler
Status: Junior Member
Join date: Feb 2006
Location: San Diego, CA
Expertise:
Software:
 
Posts: 27
iTrader: 0 / 0%
 

Dylan Butler is on a distinguished road

Send a message via AIM to Dylan Butler

  Old

Originally Posted by HTMLGuy
It doesn't matter whether it is an unordered list or an ordered list, if you style it the same, it will look the same.
HTMLGuy

Yeah who needs semantic markup, not us XHTML coders, right? Oh wait that's the reason we're here. Unless you are listing FAQ links or a table of contents, I don't see an ordered list being near as appropriate as an unordered list.

10-24-2006, 10:48 PM
#26
Zack is offline Zack
Status: I love this place
Join date: Dec 2005
Location: US and A
Expertise:
Software:
 
Posts: 595
iTrader: 2 / 100%
 

Zack is on a distinguished road

  Old

An ordered list is no different than an unordered list if styled right. There is not a person out there who will tell you that you coded something wrong by using an ol instead of an ul.
HTMLGuy

10-24-2006, 10:51 PM
#27
Salathe is offline Salathe
Salathe's Avatar
Status: Community Archaeologist
Join date: Jul 2004
Location: Scotland
Expertise: Software Development
Software: vim, PHP
 
Posts: 3,820
iTrader: 25 / 100%
 

Salathe will become famous soon enough

Send a message via MSN to Salathe

  Old

Originally Posted by HTMLGuy
An ordered list is no different than an unordered list if styled right. There is not a person out there who will tell you that you coded something wrong by using an ol instead of an ul.
HTMLGuy
I would. If the list is meant in order, use an ordered list. Otherwise, use an unordered list. Makes sense to me!

10-24-2006, 11:28 PM
#28
Zack is offline Zack
Status: I love this place
Join date: Dec 2005
Location: US and A
Expertise:
Software:
 
Posts: 595
iTrader: 2 / 100%
 

Zack is on a distinguished road

  Old

Yea, it makes sense to do it that way, I was just saying that it really doesn't matter unless he wants numbers or bullets in front of his items. Think about it... I can make an ol look like an ul by adding this to the css...
Code:
ol {
list-style-type: bullet;
}
I wasn't saying you should, I was just saying that you could.
HTMLGuy

10-25-2006, 12:38 AM
#29
Garyrae is offline Garyrae
Status: Request a custom title
Join date: Dec 2005
Location: Colchester, UK
Expertise:
Software:
 
Posts: 4,625
iTrader: 16 / 100%
 

Garyrae is on a distinguished road

Send a message via MSN to Garyrae Send a message via Skype™ to Garyrae

  Old

I no longer use "text-indent:-9999px;". I code it like this:

<li class="home"><a href="index.php" title="Home"><span>Home</span></a></li>

Then put "display:none;" on the spans.

Closed Thread  
Page 3 of 3 < 1 2 3


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed