Skip to main content

Posts

Showing posts with the label CSS

CSS : Div Layer with scroll bars (Cascading Style Sheet)

Sometimes the list content is very long and we dont want a very huge page length. iframe dont seem to work because we need a src="", and  also use ajax on this page. All we need to do it put a div around the content. Set its dimensions and overflow:auto in its style: < div style ="width:300px;height:250px;overflow:auto;"> your content goes here </ div > if the content is too long,then there will be a vertical scrollbar. If the content is too wide and  cannot wrap within div witdh,then there will be a horizontal scrollbar.

How to get DIV Layer to appear over flash Object in Website

Here we can add an attribure to our flash object or swf object, to show Div layer over Flash Object.  so.addParam("wmode", "transparent"); <script type="text/javascript">    var so = new SWFObject("movie.swf", "mymovie", "400", "100%", "8", "#336699");    so.addParam("quality", "low");     so.addParam("wmode", "transparent");    so.addParam("salign", "t");    so.write("flashcontent"); </script> or we can add "wmode=transparent"  In the “embed” area. <object classid="123" width="550" height="400" id="movie_name" align="middle">     <param name="movie" value=" dotnetcodebytes.blogspot.com.swf"/>     <!--[if !IE]>-->     <object type="application/x-shockwave-flash" data=" dotnetcodeby...