/    Sign up×
Community /Pin to ProfileBookmark

print style sheet, 2 questions

hi guys,

i am making my first print style sheet.

im just learning and playing around with what can be done etc.

i took my existing syle sheet and added display: none; to things.

now i have this print style sheet here: [url]www.deskjetmodels.co.nz/css/print_about.css[/url]

all i want is the <h2> and the Content to be present. i have done that but there is a big gap on the left hand side (i think left over from a nav div) but i cant get rid of it.

and anyone see what needs to be done?

and another question is my header. i am using <h1> for it, how can i get the alt text to print in a certain style and not the banner?

thanx guys

to post a comment
CSS

4 Comments(s)

Copy linkTweet thisAlerts:
@FangApr 15.2005 — Anything with [I](min-)height:100%[/I] is suspect
Copy linkTweet thisAlerts:
@Css_CalavauthorApr 18.2005 — hi guys,

still having troubles with a big white space (nav) on the left when i print this page.

Fang: i took all the (min-)height:100% etc out and still doing it

css print style sheet www.deskjetmodels.co.nz/css/print_about.css

thanx guys
Copy linkTweet thisAlerts:
@ray326Apr 18.2005 — Some of your pages seem to be picking up the print css and some aren't. The "first flights" doesn't look too bad but I'd get rid of buttons and other webish stuff.
Copy linkTweet thisAlerts:
@Css_CalavauthorApr 18.2005 — oh,

whats happened was i had "Flash of unstyled content" being displayed when i loaded my pages.

so i fixed it by adding a optional print.css link.

that fixed that problem.

now i want to acually have print style sheets for some of my pages.

the category pages will have a print style,

the centre nav links will have a print style

and the summary pages etc will have a print style.

i am new to doing this and am just working on the about page for layout. hence the name of the css, print_about.css

i was going to get onto the other styles later.

but will have a look now as you mentioned about that page printing fine!
×

Success!

Help @Css_Calav 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.26,
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: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

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