...

View Full Version : css questin



andrew1234
11-01-2002, 10:41 AM
Hi

in the following


fred{
display:block;
}

what does"display:block" mean?

thanks

andrew

redhead
11-01-2002, 11:40 AM
it means that whenever any <fred>'s are found in the HTML they will display as a complete line (or several)... rather like using a <div>.

Hopefully that is right ;)

jkd
11-01-2002, 11:44 AM
Originally posted by redhead
Hopefully that is right ;)

It is. That line makes <fred> behave exactly like a <div> :).



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum