Thursday, 19 July 2012
How to Disable text wrapping inside an element in css
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
p
{
white-space:nowrap;
}
</style>
</head>
<body>
<p>
some text.some text.some text.
some text.some text.some text.
some text.some text.some text.
some text.some text.some text.
</p>
</body>
</html>
This post was written by: Bharathi
Bharthi is a professional blogger, web designer and front end web developer. Follow him on Twitter
Subscribe to:
Post Comments (Atom)
0 Responses to “How to Disable text wrapping inside an element in css”
Post a Comment