Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / April 2008

Tip: Looking for answers? Try searching our database.

clip span content

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
rodchar - 13 Apr 2008 03:21 GMT
hey all,
is it possible to clip <span> content?

thanks,
rodchar
rodchar - 13 Apr 2008 03:27 GMT
to be a litte more clearer:
you know like in a div you can say overflow:hidden

can you do something like this in a span? i tried surrounding the span with
a div but it didn't work.

> hey all,
> is it possible to clip <span> content?
>
> thanks,
> rodchar
wisccal@googlemail.com - 13 Apr 2008 18:20 GMT
Hi Rodchar,

You can set overflow:hidden on a div, because you can also set a width
on it. However, widths  do not apply to spans. They are always as wide
as their content. You were correct to surround the span with a div.
But did you also give the div a width? Otherwise it will just expand
to the width of the span.

Also, I would suggest that you ask such styling-specific questions in
a newsgroup that is concerned with CSS like
comp.infosystems.www.authoring.stylesheets.

============
Regards,
Steve
www.stkomp.com

> to be a litte more clearer:
> you know like in a div you can say overflow:hidden
[quoted text clipped - 7 lines]
> > thanks,
> > rodchar
rodchar - 14 Apr 2008 03:35 GMT
thank you for the help,
rod.

> Hi Rodchar,
>
[quoted text clipped - 24 lines]
> > > thanks,
> > > rodchar

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.