> I am having trouble with boxes in LaTeX.
>
> I can create a framebox with specified dimensions. I can create a colorbox
> with a specified background colour.
>
> What I want to do, but can not achieve is to have a box with a specified
> dimensions and background colour. How do I do this? Examples of each below;
>
> \framebox(120, 20){\$\hspace{8em}}
> \colorbox[gray]{0.85}{bla bla}
Try the following
http://www.math.canterbury.ac.nz/php/resources/compdocs/latex.pdf
which I wrote a few years ago on latex, that has examples of what you want.