Orientation for a Div

advertisements

Is there a way to change the orientation for a div using css.

ie I need to display a div in a slanting position.

Is there a way by which I can define the four corners of the div

(x1,y1) , (x2,y2) , (x3,y3) and (x4,y4)

Edit

Is there a way to do it using javascript or C#??

Is there a way to change the orientation of an image and not for a div??


This is not possible.

You will need to either use an image or VML/SVG

Please note that IE doesn't natively support SVG, and no other Browsers support VML, but there is an SVG to VML wrapper. Check google