View Single Post
  #1 (permalink)  
Old Apr 25th, 2008, 13:48
lightningjim lightningjim is offline
New Member
Join Date: Apr 2008
Location: New Jersey
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Trouble with divs

I have a problem. I've been trying to make it so some paragraphs within a html document line up at different places. For example:

A paragraph is
me. I am a
paragraph.

I too am a paragraph,
but i line up over here.

Paragraph pgph
etc etc etc.

I decided to use divs, and defined them as such

div.main {position: absolute; left: 15px; right: 75px}
div.sub {position: relative; left: 50px}

Although it appears to work nicely when viewed in a browser, when I attempt to print the page from MSIE, the text is pushed into a thin column on the left side of the screen. I've been banging my head into the keyboard trying to figure out how to make it print correctly and appear correctly in a browser as well, without having to create a second "printable" html page. Any suggestions? (Well, other than to stop banging my head into the keyboard.)
Reply With Quote