Click here to Skip to main content
15,895,557 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
See more:
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
Comments
Sergey Alexandrovich Kryukov 25-May-12 14:35pm    
Do you think if you created a Web site in 15' laptop, it would be better? :-)
--SA
Pr!y@ 25-May-12 14:36pm    
Then what to do please answer
Sergey Alexandrovich Kryukov 25-May-12 15:58pm    
Done.
--SA
ZurdoDev 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.
Sergey Alexandrovich Kryukov 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

 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 25-May-12 15:57pm    
Can be useful, a 5.
--SA
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
 
Share this answer
 
Comments
fjdiewornncalwe 25-May-12 15:42pm    
+5...
Sergey Alexandrovich Kryukov 25-May-12 15:57pm    
Thank you, Marcus.
--SA
ZurdoDev 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.
Sergey Alexandrovich Kryukov 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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900