Weird problem, take a look ...

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
somenoise
Forum Newbie
Posts: 2
Joined: Fri Mar 18, 2005 2:33 pm

Weird problem, take a look ...

Post 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
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post 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?
User avatar
Calimero
Forum Contributor
Posts: 310
Joined: Thu Jan 22, 2004 6:54 pm
Location: Milky Way

....

Post 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.
somenoise
Forum Newbie
Posts: 2
Joined: Fri Mar 18, 2005 2:33 pm

Post by somenoise »

thanks...

how would you change this code to page looks right?

I tried changing here, but it is still wrong :(
AGISB
Forum Contributor
Posts: 422
Joined: Fri Jul 09, 2004 1:23 am

Post 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.
User avatar
Maugrim_The_Reaper
DevNet Master
Posts: 2704
Joined: Tue Nov 02, 2004 5:43 am
Location: Ireland

Post 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...
User avatar
CoderGoblin
DevNet Resident
Posts: 1425
Joined: Tue Mar 16, 2004 10:03 am
Location: Aachen, Germany

Post by CoderGoblin »

HTML Tidy is also available outside Firefox. :wink:
You can probably find it easily enough with google.
Post Reply