Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# ASP.NET
Hello Everyone !!!
 
I have created a website in 14' Laptop Using Asp.net (c#)
 
When i debug website in 14' Laptop it has no horizontal scrolling bar.
 
But When i debug website in 15' Laptop or LCD it has horizontal scrolling bar.
 

Can anyone guide me what to do ?
 
Thanks in advance !
Posted 25-May-12 9:32am
Pr!y@1.1K
Comments
SAKryukov at 25-May-12 14:35pm
   
Do you think if you created a Web site in 15' laptop, it would be better? :-)
--SA
Harshit Raj Singh at 25-May-12 14:36pm
   
Then what to do please answer
SAKryukov at 25-May-12 15:58pm
   
Done.
--SA
ryanb31 at 25-May-12 14:40pm
   
This is likely due to a smaller resolution of the display. This is also the way the web works. If you do not like it you have to deal with CSS and/or jQuery to get your heights and widths set just right. Or use Flash/SilverLight.
SAKryukov at 25-May-12 15:59pm
   
I just want to note: by default, with no styles and no tricks, everything is already fluid, but unnatural complications make it non-flexible. Please see my answer.
--SA
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

  Permalink  
Comments
SAKryukov at 25-May-12 15:57pm
   
Can be useful, a 5.
--SA
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

This is probably because you are doing wrong things from the very beginning: fixed sizes or positions of the element, inflexible design.
 
Please read some material on the problem of nice flexible Web page design:
http://www.flyte.biz/resources/newsletters/04/12-fluid-v-fixed-web-pages.php[^],
http://www.sitepoint.com/liquid-design/[^],
http://www.maxdesign.com.au/articles/liquid/[^],
http://www.digital-web.com/articles/liquid_web_design/[^].
 
Find some more: http://bit.ly/LvyOyr[^].
 
Think on the design. Focus on being clear and informative, don't allow yourself to put a single non-functional "decorative" detail. Try to keep it as simple as possible, but not simpler. Make the design not vulnerable not just to the size of the Browser window, but also to those peculiarities of different layout engines; allow your site looking slightly different while remaining recognizable, accessible and well readable.
 
—SA
  Permalink  
Comments
Marcus Kramer at 25-May-12 15:42pm
   
+5...
SAKryukov at 25-May-12 15:57pm
   
Thank you, Marcus.
--SA
ryanb31 at 25-May-12 16:02pm
   
Having fixed sizes is not wrong. Sometimes, that is what is called for. It would be great if we could always let the HTML flow naturally by the browser, but too often, the user wants a more predictable experience.
SAKryukov at 28-May-12 18:07pm
   
I'm not sure you are right. If some element goes outside the screen and is shown with scroll bars, is it more predictable and better?
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 584
1 Maciej Los 275
2 DamithSL 233
3 Sergey Alexandrovich Kryukov 209
4 BillWoodruff 200
0 OriginalGriff 6,803
1 Sergey Alexandrovich Kryukov 6,377
2 DamithSL 5,421
3 Manas Bhardwaj 4,841
4 Maciej Los 4,330


Advertise | Privacy | Mobile
Web01 | 2.8.1411023.1 | Last Updated 25 May 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100