TextRanch

The best way to perfect your writing.

Discover why 1,062,726 users count on TextRanch to get their English corrected!

1. Input your text below.
2. Get it corrected in a few minutes by our editors.
3. Improve your English!

One of our experts will correct your English.

Our experts

width of document vs width of the document

Both phrases are correct, but they are used in different contexts. 'Width of document' is more general and can refer to the width of any document in a general sense. 'Width of the document' is more specific and refers to the width of a particular, specified document.

Last updated: March 17, 2024 • 849 views

width of document

This phrase is correct and can be used when referring to the general width of any document.

This phrase is used when discussing the width of documents in a general sense, without specifying a particular document.
  • up vote 1 down vote. Yes - width of window is width of browser window, and width of document is width of webpage.
  • Getting width of HTML document to resize with the browser window · 0 · Width of document/window different from real width ...
  • Mar 3, 2015 ... Difference between width of document (box model) on Firefox, IE and Chrome. up vote 0 down vote favorite. I've always wondered why ...
  • Width of document/window different from real width · 31 · jquery - how to get screen width without scrollbar? 35 · CSS media queries and ...

Alternatives:

  • document width
  • width of the paper
  • width of the file

width of the document

This phrase is also correct and is used when referring to the specific width of a particular document.

This phrase is used when discussing the width of a specific document that has been previously mentioned or is understood in the context.
  • Mar 20, 2015 ... Example. function init() { alert("The width of the document is " + document.width + " pixels."); }. Alternatives. document.body.clientWidth /* width ...
  • I have an question: How can I get the height of the document ? In the following example, the document height of the $mpdf1 should be equal $mpdf2 / 2
  • How to return the current width of the document and window elements. Display dimensions with related methods. How to use width(), height(), innerHeight(), ...
  • You could also use this to get the width of the document as follows: var docWidth = document.documentElement.clientWidth || document.body.

Alternatives:

  • document's width
  • width of that document
  • specific document width

Related Comparisons

What Our Customers Are Saying

Our customers love us! We have an average rating of 4.79 stars based on 283,125 votes.
Also check out our 2,100+ reviews on TrustPilot (4.9TextRanch on TrustPilot).

Why choose TextRanch?

Lowest prices
Up to 50% lower than other online editing sites.

Fastest Times
Our team of editors is working for you 24/7.

Qualified Editors
Native English experts for UK or US English.

Top Customer Service
We are here to help. Satisfaction guaranteed!