forcing span to be certain width

pmj7's picture

He has: 234 posts

Joined: Nov 2002

Hi

How can I force a span to be a certain width, even if I display text (without spaces or returns) that's wider than the span? I know this can be done, I just don't remember where I saw the details. style="width: 500px;" isn't good enough, at least for Explorer.

Thanks!

Peter

Touchup image processing applet
Pixel Development Web Design, Photography

KarenArt's picture

She has: 354 posts

Joined: May 2001

The quick answer is IE stinks at applying css. Wink
There are tons of sites out there like this one http://www.positioniseverything.net/explorer.html showing you work arounds for IE anomalies.

It might help you more though if you could show us the code (or link to the page) where you're having problems.

gotta finish redesigning my sites so I can show them again.

The purpose of education is... to get more jokes!

pmj7's picture

He has: 234 posts

Joined: Nov 2002

It's a new wrinkle on the 'PhotoShop on a Web Page' page.

Thanks for the link. After more thought, I've decided on a different approach.

Peter Smiling

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.