Page 1 of 1

Weird problem, take a look ...

Posted: Fri Mar 18, 2005 4:59 pm
by somenoise
in 800x600 it works fine. ..

but, with someone using 1024px resolution...there are some problems
take a look...
This is the normal, when someone opens the site, everything centralized:
http://www.showdeprecos.com.br/index.php

But, when visiting a page which contains the module/script Yellowpages, all the content goes to the right side
take a look:
http://www.showdeprecos.com.br/modules. ... ellowpages

And it just happens with this theme, *autocad" ... with the default themes of php-nuke, it works fine..

So, why is it happening?? and how can I fix it???

please, I really need help with this

Posted: Fri Mar 18, 2005 5:54 pm
by John Cartwright
considering your HTML is over 1k lines.. I'm not going to find out the problem for you.. but my guess is that you have a missing closing table tag, or something like. Have you made any edits to the template files?

....

Posted: Fri Mar 18, 2005 6:28 pm
by Calimero
Look at this piece of code:

<body bgcolor="#ffffff" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="10"><Table align="ccnter" width=100% border=0 ceellpadding=0 cellspacing=0>
<tr> <TD style="BACKGROUND-POSITION: right top; BACKGROUND-REPEAT: repeat-y" ...

The second one - pulls the first one - as it comes badly defined

Try to change these two - I havent inspected your entire code - but it looks like that theese create a problem.

Posted: Mon Mar 21, 2005 6:37 am
by somenoise
thanks...

how would you change this code to page looks right?

I tried changing here, but it is still wrong :(

Posted: Mon Mar 21, 2005 6:44 am
by AGISB
You create a table that is 100% of the resolution. You style defines that the td part goes to the top right. Thats exactly what it does.

Posted: Mon Mar 21, 2005 7:10 am
by Maugrim_The_Reaper
CSS - look it up...

If you have Firefox, you can try out the htmlTidy extension...it will not fix garbled styling, but any other errors...

Posted: Mon Mar 21, 2005 7:21 am
by CoderGoblin
HTML Tidy is also available outside Firefox. :wink:
You can probably find it easily enough with google.