Hi, i want to know that how can we create A4 size page in asp.net that flow middle of the web page and have scroll bar on 1 side. Please help me. i need quick solution. Here is a link http://www.ehow.com/how_8130066_draw-dfd.html that show web page as i want.

Thanks & Best Regards
Hitesh Kumar

Recommended Answers

All 2 Replies

Member Avatar

i want to know that how can we create A4 size page in asp.net that flow middle of the web page

You can't.

Webpages are created for screens, not printers.

You can used this CSS code (to design the setting of the webpage):

http://css-discuss.incutio.com/wiki/Print_Stylesheets

The link you provided has nothing to do with any code. It's a database structure.

If you know the width of the target size in pixels, you can just add a div and apply a width property with this value and a margin property such as...

 #div1 {width:##px;margin:0 auto;}
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.