This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes HTML, CSS and JavaScript and the fly likes Span contents overflowing even though specified overflow as hidden Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Span contents overflowing even though specified overflow as hidden" Watch "Span contents overflowing even though specified overflow as hidden" New topic
Author

Span contents overflowing even though specified overflow as hidden

Naveen Cn
Greenhorn

Joined: Apr 25, 2012
Posts: 1
I want the div with id as arit to cut off the extra contents...but it just overflows....how can i achieve this?? Given below is the code of html:


And here is the h1 css.

 
 
subject: Span contents overflowing even though specified overflow as hidden