Friday, December 2, 2011

What is the cause of the horizontal scroll bar on my website?

What is the cause of the horizontal scroll bar on my website. How do I get rid of it. Is it because of my tables sizes or a CSS script or the pics too big.please advise. http://www.thailandtravels.co.uk/|||What ppl said here is totally right





I won't add anything new..








Just, nice site ^_^|||My answer was neither hostile nor negative. You asked for help and I spent some time trying to give you all the positive information you would need to solve your problem.





Guess I should have just reported your question for chatting and possibly being in the wrong category.





Ron

Report Abuse


|||Howizontal scroll bars appear when one element of the site is WIDER than the maximum available resolution of the viewing monitor.


It is also one of the most irritating design mistake that costs you many visitors.


You designed it with DreamWeaver 6, and have no idea how the layout is made.


You probably designed it on a PC with a monitor with 1660 horizontal resolution, and forgot to impose a maximum width to DW, hence, the code is "written" (very badly I must add) for that screen width and will NOT adapt to any other resolution.


This means you will loose about 70% of your visitors, too lazy to scroll horizontally.


PS: You also have several javascript syntax errors (probably from included/embedded code you have no control over)





My advices:


1. Get rid of DW.


2. Open the code with NOTEPAD++


3. Read and UNDERSTAND the code. If you leave one line of code you do not FULLY understand, you will begoing nowhere.


4. Keep another browser window opened to www.w3schools.com: you will have to refer to it numerous times...


Good luck|||You have an 800px wide image ( http://www.thailandtravels.co.uk/thaitra鈥?/a> ), then you placed more images on either side of that. This causes any browser that does not have its window open wide enough to trigger the horizontal scroll bar. Design your page for no more than 800-900 pixels wide and only browsers that have windows smaller than that will have an horizontal scroll bar.





You really need to correct these HTML Errors:





http://validator.w3.org/check?verbose=1%26amp;鈥?/a>





Ron|||Ouch. You have to learn the basics of css/xhtml. This looks like it was built in the 90's.





Trying taking a look at my sample template http://files.cogocreative.co.uk/sample.z鈥?/a>





It should help you understand modern web building.|||i'd highly reccomend using CSS layouts instead of a tabular layout but yeah it is the size of your table

No comments:

Post a Comment