CSS Style center

CSS Styles, CSS tips

Portfolio

Tag Archives: css div

Dynamic Div Box

In order for you to create a dynamic div box you should have an image of a box. Then you have to devide it into 3 different images, the top part of it, middle and the bottom. Except the middle part should be only 1 pixel height, it will get the repeat-y rule so that [...]

IE 7 ul in floating div

Hi guys, Recently i have encountered a problem in IE7 when i put a ul in a floating div, for some reason the ul slides out of the div and it doesn’t look good at all. The Solution for the ul in floating div: Just add in your header a new stylesheet witch will load [...]

Center a DIV with CSS

Hi, This time i am going to show you how to center a DIV block with CSS style. Centering a DIV The code you need to center only your DIV. <div id=”center”> some code… </div> CSS code for centering DIV #center   {width:700px; margin:0 auto;} You may change the width of the DIV to any [...]