Header at top of pages in WeBuilder
Moderator: kfury77
Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
Please try to follow these guidelines. This will help to receive faster and more accurate response.
- Check the Support section of the corresponding product first. Chances are you will find your answer there;
- Do not create new topics for already reported problems. Add your comments to the existing topics instead;
- Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
- Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
- Include the version number of the software you are using;
- This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Header at top of pages in WeBuilder
Hi there,
Just a question I have been trying to sort out
with the header at the top of each of the new pages in WeBuilder, It's default is this:
[quote]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">[/quote]
All of my pages seem to be just a bit too wide for whatever screen they are on, the content looks fine, but there is still a sideways scroll bar. If i take away even this part of that coding:
[quote]<<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">[/quote]
The bar goes away but the rest of the page seems to act a bit funny.
I want to keep the code there btu i dont want the side scrollbar when it's not needed.
Any help is much appreciated.
Thanks
Drew
Just a question I have been trying to sort out
with the header at the top of each of the new pages in WeBuilder, It's default is this:
[quote]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">[/quote]
All of my pages seem to be just a bit too wide for whatever screen they are on, the content looks fine, but there is still a sideways scroll bar. If i take away even this part of that coding:
[quote]<<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">[/quote]
The bar goes away but the rest of the page seems to act a bit funny.
I want to keep the code there btu i dont want the side scrollbar when it's not needed.
Any help is much appreciated.
Thanks
Drew
The doctype definition is an important thing to include. You don't want to remove it. They have done a good job of making it more compact.
I have two monitors here with the following resolutions:
1280x800
1280x1024
When I open a new HTML document I do not get a horizontal scrollbar for the document. I think it is just the computer you are using has a extremely small resolution.
A solution would be to get a better computer with a monitor that can support higher resolutions as well as a video card in the computer that is capable of displaying the resolutions that the monitor supports.
Another solution would be to turn Word Wrap on in the Options menu of WeBuilder.
I have two monitors here with the following resolutions:
1280x800
1280x1024
When I open a new HTML document I do not get a horizontal scrollbar for the document. I think it is just the computer you are using has a extremely small resolution.
A solution would be to get a better computer with a monitor that can support higher resolutions as well as a video card in the computer that is capable of displaying the resolutions that the monitor supports.
Another solution would be to turn Word Wrap on in the Options menu of WeBuilder.
Re: Header at top of pages in WeBuilder
Do you mean the page is too wide when looking at the code or when viewing the page layout? As mentioned, this doctype code should not be reduced. It allows for greater cross-compatibility of your page in a variety of browsers.drewcoll wrote:All of my pages seem to be just a bit too wide for whatever screen they are on, the content looks fine, but there is still a sideways scroll bar.
This can happen, if you are talking about the page layout, as things render differently without a valid doctype in quirks mode than they do with a complete, full doctype in standards mode. In this case you just need to redesign your page so it's narrower.drewcoll wrote:If i take away even this part of that coding...The bar goes away but the rest of the page seems to act a bit funny.
However, if the layout's width seems fine and you don't know what's causing the scrollbar, then you'll need to post a url we can look at.
Hi there!
Thanks heaps for the replies.
My computers resolution is fine, up to date and its a 15" laptop, the video card is all up to date etc. Unless theres something i should donload off the net for it.
Anyway what I mean is that in "preview" mode and even when i open the html page itself, It seems to be just a tad bit too wide.
All the content is fine and can be seen so i dont understand why it is wide.
I am using a CSS layout with 3 coloumns and a header, so the middle coloumn is liquid in order to fit almost any screen display, but never-the-less it is still wide.
If that makes any more sense....
I will try and upload it soon and post the link to the site to show you. But if you understand what i mean.
Regards
Drew
Thanks heaps for the replies.
My computers resolution is fine, up to date and its a 15" laptop, the video card is all up to date etc. Unless theres something i should donload off the net for it.
Anyway what I mean is that in "preview" mode and even when i open the html page itself, It seems to be just a tad bit too wide.
All the content is fine and can be seen so i dont understand why it is wide.
I am using a CSS layout with 3 coloumns and a header, so the middle coloumn is liquid in order to fit almost any screen display, but never-the-less it is still wide.
If that makes any more sense....
I will try and upload it soon and post the link to the site to show you. But if you understand what i mean.
Regards
Drew
AH!! i think i may have hit it the problem on the head!
The only problem now is im not sure how to fix it. But i can figure that one out myself, if not I might just post my coding here. It just has something to do with the Width of the header, when i set it to 100% it seems to go slightly off page.
But ill sor that out.
Now one other question.
Does it matter what DOCOTYPE my html code is?
I mean where it says
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
does it matter that its 1.0? I remember when i first set up webuilder it asked me what type and i accidently put 1.0 ..... i do like the 4.1, how do i change the default, and does it matter in the long run?
Regards
Drew
The only problem now is im not sure how to fix it. But i can figure that one out myself, if not I might just post my coding here. It just has something to do with the Width of the header, when i set it to 100% it seems to go slightly off page.
But ill sor that out.
Now one other question.
Does it matter what DOCOTYPE my html code is?
I mean where it says
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
does it matter that its 1.0? I remember when i first set up webuilder it asked me what type and i accidently put 1.0 ..... i do like the 4.1, how do i change the default, and does it matter in the long run?
Regards
Drew
You should check out the HTML vs XHTML FAQ on Sitepoint.
- chrisjlocke
- Top Contributor
- Posts: 995
- Joined: Mon Aug 01, 2005 4:12 pm
- Location: Essex, UK
- Contact:
You can set the default by going to 'Options' -> 'Preferences'. In the 'General' section, set the 'Default template'.

The templates are in {webuilder directory}\templates\html

The templates are in {webuilder directory}\templates\html
Last edited by chrisjlocke on Wed Apr 23, 2008 10:10 am, edited 1 time in total.
- chrisjlocke
- Top Contributor
- Posts: 995
- Joined: Mon Aug 01, 2005 4:12 pm
- Location: Essex, UK
- Contact:
It is the best of both worlds. If you have ever spent hours upon hours trying to get someone else's style sheet or html to validate XHTML strict you will understand why.chrisjlocke wrote:Care to explain why?llbbl wrote:XHTML Transitional is the best.

XHTML strict is for people who like pain ... masochists?
That being said, it is impressive feat (waste of time) when a site validates Strict.

That may be if you're reworking someone else's bad code, but creating valid code when starting from scratch is hard not to do.llbbl wrote:If you have ever spent hours upon hours trying to get someone else's style sheet or html to validate XHTML strict you will understand why....That being said, it is impressive feat (waste of time) when a site validates Strict.
- chrisjlocke
- Top Contributor
- Posts: 995
- Joined: Mon Aug 01, 2005 4:12 pm
- Location: Essex, UK
- Contact: