[Typo3] Blank Space help

JoH info at cybercraft.de
Sat Oct 22 02:39:38 CEST 2005


> I see others have had this problem as they have mentioned it in other
> forums but I am now having the problem and would really appreciate
> some help.

> I have a gap of around 60 pixels at the top of the main content page.

I don't know where you got your template from, but there is something like
this

<table border="0" cellpadding="0" cellspacing="0" width="2"><tr><td><img
src="clear.gif" width="1" height="1" border="0" alt="" /></td><td><img
src="clear.gif" hspace="200" width="1" height="1" border="0" alt=""
/></td></tr><tr><td><img src="clear.gif" width="1" vspace="39" height="1"
border="0" alt="" /></td><td valign="top"><table border="0" cellpadding="0"
cellspacing="0"><tr><td><img src="clear.gif" width="1" hspace="10"
vspace="7" height="1" border="0" alt="" /></td><td><img src="clear.gif"
width="1" hspace="40" height="1" border="0" alt="" /></td><td><img
src="clear.gif" width="1" height="1" border="0" alt=""
/></td></tr><tr><td></td><td colspan="2"><b><font face="Verdana" size="5"
color="#000066"><i></i></font></b></td></tr><tr><td></td><td></td><td><font
face="Verdana" size="2"
color="#000066"><b></b></font></td></tr></table></td></tr><tr><td
colspan="2" valign="top">

above the first line of text on your page.

Asid from the fact that you are using almost any deprecated HTML code that
is imaginable you should know that there are at least 3(!) different
appearances of clear.gif on top of your right frame. These images have got
different values for "height" and "vspace" that will sum up to the 60px you
mentioned.

So find out, where this crap comes from and eliminate it.

> It only appears on the main page not on any others and there is no
> actual content meant to be above my first bit of text on the web page.
>
> Take a look at www.promopicker.com and you will see what I mean.
>
> The gap is so bad I am having to seriously consider scrapping Typo3
> which I do not want to do as in other areas it meets my needs exactly.

Well - it may sound harsh - but if this is a template you created on your
own, you should seriously consider to book some courses about HTML/CSS
basics.
But maybe you are just using some of the so called "static templates" from
the "stone age" of TYPO3 (at this time nobody knew about XHTML or
accessibility and Netscape 4.x was state of the art).
If so, drop them and switch over to valid XHTML/CSS code by using your own
templates.
If you don't know how to do this, you might find the following documents
useful:

http://typo3.org/documentation/document-library/doc_tut_n1/
http://typo3.org/documentation/document-library/doc_tut_templselect/
http://typo3.org/documentation/document-library/doc_tut_templselect2/

http://typo3.org/documentation/document-library/doc_core_tsbyex/
http://typo3.org/documentation/document-library/doc_core_tsref/

Good luck

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your knob sometimes!)
Dieter Nuhr, German comedian
openBC: http://www.openbc.com/go/invuid/Jo_Hasenau





More information about the TYPO3-english mailing list