jamus — 2010-10-22T12:02:54-04:00 — #1
<base href="http://www.example.co.uk/" />
Anyone know what might be causing this?
stomme_poes — 2010-10-25T11:30:18-04:00 — #2
Display: inherit on * looks wasteful and possibly a great way to introduce bugs (guess it depends on the display states set on all the elements, but I don't see why you'd even have to state that).
And I must say I've never seen such a thing. I guess it's a succinct print stylesheet but it's gotta be a resource hog on the browser. That and I always view my pages with their print stylesheets squished down to 750 px or so because I like things printing out nicely.
And I wonder if * really can override typical names in a stylesheet (I'm assuming you want to override the styles in the screen stylesheet? if you're not, why the float: none and width: auto stuff? Those are defaults).
jamus — 2010-10-25T17:54:36-04:00 — #3
Tell me about it. Still, you live and learn. Valid points - thanks for your input.
system — 2010-10-22T12:19:19-04:00 — #4
probably a start-tag end-tag error. have you validated your html?
jamus — 2010-10-25T06:20:25-04:00 — #5
The HTML was valid. After some time trying to find the issue I eventually found the problem.
The print stylesheet had the following
This display property was causing the issue. Now I need to work out
1) if it should be causing the js to print
2) out why it was there and
3) if it is really required.
Hope posting this helps someone else out.
stomme_poes — 2010-10-26T02:59:54-04:00 — #6
Well in any case if removing it removes the bug then that should be ok: Print Preview should show the page looking the same either way.