/    Sign up×
Community /Pin to ProfileBookmark

printing problem with <span>

HI
I have a page written in well formed XHTML + css. I am using absolute positioning to line up text(it is my resume.html). It looks fine in a browser but when I *print it* some of the text within a <span> that is using this class for abs positioning prints at the top of the page, overlapping one another and creating a mess. It is fine for the first page, trouble starts at page 2. 😡 I am printing with Mozilla 7.
Any ideas why?
thanks

to post a comment
HTML

3 Comments(s)

Copy linkTweet thisAlerts:
@FangNov 30.2005 — Make sure the container for the span is position:relative;

Also any negative margin values, if used, can cause printing problems.
Copy linkTweet thisAlerts:
@Robert_WellockNov 30.2005 — Screen is not print and how have you set the page dimensions via the CSS media print page it makes a huge difference.
Copy linkTweet thisAlerts:
@sgvauthorNov 30.2005 — thanks for the help!

I did not specify position in the parent container and the text was aligning relative to the <body> by default--just like you said.

sgv
×

Success!

Help @sgv spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.4,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...