Jump to content

unwanted scroll bar in php file but doesnt exist in html file?


wright67uk

Recommended Posts

I have two files;

 

www.1pw.co.uk/newbusiness.html  (displays fine in IE) and

www.1pw.co.uk/newbusiness.php (unwanted scroll bar in IE)

 

newbusiness.html has only html, and newbusiness.php has a javascript file in the head, and php throughout, (form validation and sql).

The problem is although they both use the same css file and div layouts, for some reason or other newbusiness.php outputs an unwanted scroll bar to the side of the page.  This in turn puts one of my divs out.

 

Should the different file types output differently in this way, and are there any css rules I can use to force a browser not to display a scroll bar?

 

Many thanks - any ideas more than welcome.

Link to comment
Share on other sites

quicks mode is just what IE falls back on when it doesn't know what type of document it's dealing with.

What you'd want to read up on is the DOCTYPE declaration and what it actually does. And if you're writing XHTML, make sure you have a solid understanding of XML.

Don't know of any good resources off the top of my head.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.