Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-09-2012, 03:34 PM   PM User | #1
JustNod
New to the CF scene

 
Join Date: Oct 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
JustNod is an unknown quantity at this point
Shrink to fit "not working"

Hi

I have a web page that is about 900px wide. Even when shrink to fit is set as default in browser (IE9 & Firefox), the content still spills off the right of the page yet, when I scale the page to 70% in the browser for example, it will print all the content successfully.

What precautions should I take within the HTML/CSS to ensure that Shrink to Fit actually does something useful?

Thanks.
JustNod is offline   Reply With Quote
Old 10-09-2012, 04:49 PM   PM User | #2
COBOLdinosaur
Regular Coder

 
COBOLdinosaur's Avatar
 
Join Date: Jul 2002
Location: Canada
Posts: 293
Thanks: 0
Thanked 18 Times in 18 Posts
COBOLdinosaur is an unknown quantity at this point
If this is for a public page, how do you intend to get users to set shrink to fit on their browser?

If it is just for you locally this should help but you have no control over user browser settings. If you want the page to size to the screen then you need to do a flexible design, without static dimensions.
__________________
100% standards compliant code is 100% correct 100% of the time.
one of my toys from my repository and perhaps some help getting help

Cd&
COBOLdinosaur is offline   Reply With Quote
Old 10-09-2012, 04:59 PM   PM User | #3
JustNod
New to the CF scene

 
Join Date: Oct 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
JustNod is an unknown quantity at this point
Thanks for the reply.

Sorry I should have said that this is for printing purposes. For those users who have shrink to fit set as default for printing, I'd like the page to print within the bounds of the printed page. It works when I use the scale option but not for shrink to fit. Must I use percentage widths for this to work?
JustNod is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:35 AM.


Advertisement
Log in to turn off these ads.