dev_d
03-12-2010, 04:26 PM
please delete this thread.
sry!!
sry!!
|
Click to See Complete Forum and Search --> : When should display attribute be used in CSS? dev_d 03-12-2010, 04:26 PM please delete this thread. sry!! rproctor83 03-12-2010, 04:37 PM By default, divs are block elements. So reiterating it in CSS does nothing, unless you change the divs display to none, at which point setting it back to block will make a difference. All elements have a display value, where a span is inline, meaning it will stay in line with its other elements, as opposed to a div which is a block, meaning it takes up its own line. dev_d 03-12-2010, 04:43 PM yeah, i figured it out. it was a silly question from my side. hence asked to delete the thread. but thnks anyways. webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |