4 replies [Last post]
Tyssen
Tyssen's picture
User offline. Last seen 3 hours 57 min ago. Offline
rank Moderator
Moderator
Timezone: GMT+10
Joined: 2004-05-01
Posts: 8123
Points: 1302

How to get help
Post a link. If you can't post a link, jsFiddle it.
My blog | My older articles | CSS Reference

Tony
Tony's picture
User offline. Last seen 3 hours 18 min ago. Offline
rank Moderator
Moderator
Timezone: GMT+10
Joined: 2003-03-12
Posts: 3705
Points: 1115

Hey Tyssen do you use image

Hey Tyssen do you use image replacement in many of your projects.
I never really got into it.

Your question may have already been answered, search and read before you ask.

Tyssen
Tyssen's picture
User offline. Last seen 3 hours 57 min ago. Offline
rank Moderator
Moderator
Timezone: GMT+10
Joined: 2004-05-01
Posts: 8123
Points: 1302

Yeah I have quite a bit in

Yeah I have quite a bit in the past. These days I quite often just use an image in the HTML with appropriate alt attribute instead; depends on whether I'm using sprites or not, cos while you can use sprites with foreground images too, it looks crap if styles are turned off.

Having said that, with support for @font-face and CSS3 increasing, I can see my need for it dropping off as time goes on.

How to get help
Post a link. If you can't post a link, jsFiddle it.
My blog | My older articles | CSS Reference

CupidsToejam
CupidsToejam's picture
User offline. Last seen 2 weeks 1 day ago. Offline
rank Guru
Guru
Timezone: GMT-6
Joined: 2008-08-15
Posts: 2634
Points: 1552

I use #8 from this


First basic few steps in building a webpage
1. Gather and collect content.
2. Organize the content into meaningful semantic valid HTML
3. Design the prototype
4. Style using CSS

http://www.pixelbehavior.com

Stomme poes
Stomme poes's picture
User offline. Last seen 14 weeks 6 days ago. Offline
rank Elder
Elder
Timezone: GMT+2
Joined: 2008-02-04
Posts: 1854
Points: 378

Phark

While ugly and mother-in-law-large, I can't consider markup with nothing inside it non-semantic. If it has content, sure. But "<span></span>" has zero meaning, and no semantics whatsoever either way. While I don't like catering too much to IE users, I don't want to give them mystery-meat-menus like Phark does.

Having the spans in from the beginning allows you to later use some script to remove them all from your HTML when you've decided IE7 usage is below your threshhold.

Even though using regex to parse HTML brings Zalgo or whatever, here it's pretty simple because there's no content in the spans.

I'm no expert, but I fake one on teh Internets