Hi,

I have solved table margins problem but now, I want to set "Page setup" margins in HTML or CSS. How can we do it? I dont want to set them manually all the time before printing.

Thanks

Recommended Answers

All 3 Replies

Add below tag between head tag

<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
-->
</style>

Hi,
I need to set "page setup" settings to print wide tables. Because, when check "print preview" nothing changes, therefore i cant print documents as a want.
Thanks

when you hit ctrl P it will open your printer properties. set the properties you like and save it as that.

There is no css code to set printer settings on your local printer.
This is a local machine issue with your printer settings.

Be a part of the DaniWeb community

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