Tue, 2003-07-15 06:53
I'm a css newbie here and was wondering how do you set the nowrap attribute for a div in css?
Tue, 2003-07-15 07:18
#1
DIV and 'nowrap' attribute
Try this:
<style type="text/css" rel="stylesheet"> <!-- .nowrap { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #666666; white-space: nowrap; } --> </style>
and in the DIV use:
<div class="nowrap">Content here</div>
Tue, 2003-07-15 07:36
#2
DIV and 'nowrap' attribute
The first bit of code should be inserted into the HTML file like so:
<html> <head> ... <style> -- as above -- </style> ... </head> <body> ... </body> </html>