Welcome Guest ( Log In | Register)



2 Pages V   1 2 >  
Closed TopicStart new topic
> Need Layout Assistance: Content Area Is Not In Middle [resolved], I desperately need help with my css site
heavensounds
post Feb 13 2007, 09:40 PM
Post #1


Super Member
*********

Group: [HOSTED]
Posts: 496
Joined: 15-March 05
Member No.: 4,538



Hi guys & girls,

i have a big problem, because I am making a site for this congress and here is what is happening to my site using CSS. When I check it on my wamp local server, everything looks great, but when I put it on the internet here on trap, things just don't work anymore...

Please click to visit my problematic site

How can I make this "WELCOME... " div in the middle and the sidebar with news to the right..

Pleeeeease help soon..

Thanks in advance
Go to the top of the page
 
+Quote Post
truefusion
post Feb 13 2007, 09:54 PM
Post #2


Ephesians 6:10-17
Group Icon

Group: [MODERATOR]
Posts: 1,893
Joined: 22-June 05
From: The World of Gentoo
Member No.: 8,528
T17 GFX Crew



Move this:
HTML
<div id="content">
<h2>Welcome to prime congress 2007! </h2>
<p>&nbsp;</p>
</div>
outside all DIV tags, to the bottom...
Go to the top of the page
 
+Quote Post
heavensounds
post Feb 13 2007, 10:07 PM
Post #3


Super Member
*********

Group: [HOSTED]
Posts: 496
Joined: 15-March 05
Member No.: 4,538



Thank you for that, but there is still a problem. The right "sidebar div" is now a bit too low and the bottom "footer div" is not cleared even though I did clear: both on the footer div in the css...


Pleeeease help..
Go to the top of the page
 
+Quote Post
heavensounds
post Feb 13 2007, 10:36 PM
Post #4


Super Member
*********

Group: [HOSTED]
Posts: 496
Joined: 15-March 05
Member No.: 4,538



Thank you for everything TRUEFUSION, after an hour and with your help I DID NOT managed to fix it...

NEW PROBLEM is in the post below..

thx for helping out..


This post has been edited by heavensounds: Feb 13 2007, 10:57 PM
Go to the top of the page
 
+Quote Post
jlhaslip
post Feb 13 2007, 10:39 PM
Post #5


A computer once beat me at chess, but it was no match for me at kick boxing.
Group Icon

Group: [MODERATOR]
Posts: 4,001
Joined: 24-July 05
From: In Trouble Again... still?
Member No.: 9,787
Spam Patrol



What Browser are you using? I am looking at it in IE6 and Fx2 and both look the same.
Can you be more descriptive of the problem? and did you know about the php errors on the news sidebar?
Go to the top of the page
 
+Quote Post
heavensounds
post Feb 13 2007, 10:55 PM
Post #6


Super Member
*********

Group: [HOSTED]
Posts: 496
Joined: 15-March 05
Member No.: 4,538



Thanks for being here...

Yes, now my problem is the <? include("news.txt") ?> which ruins the whole thing as I've found out! The thing is that when the document is parsed, it is all ok untill it reaches the <?include> section. Anyone maybe know what is wrong and how can i fix this?

I am lookin' in OPERA 9 and in IE 6, using macromedia dreamweaver...

I am using this simple PHP news script which works with only a simple news.txt file....is there any way to make it work like it is now???

Anyone maybe know of some other scripts for news like this one that can be css-manipulated and built in this site..

THANKS for everything guys and PLEASE HELP..

Mark
Go to the top of the page
 
+Quote Post
jlhaslip
post Feb 13 2007, 10:58 PM
Post #7


A computer once beat me at chess, but it was no match for me at kick boxing.
Group Icon

Group: [MODERATOR]
Posts: 4,001
Joined: 24-July 05
From: In Trouble Again... still?
Member No.: 9,787
Spam Patrol



Move the sidebar div above the footer div, and it'll be good.

And the news script looks like it'll work just fine, once the output is raised. (see above)
Go to the top of the page
 
+Quote Post
heavensounds
post Feb 13 2007, 11:02 PM
Post #8


Super Member
*********

Group: [HOSTED]
Posts: 496
Joined: 15-March 05
Member No.: 4,538



I did that as you can see HERE but the "footer div" is not below where it should be. If I remove the <? inlcude...> code it is down below where it should be...the footer should ba 100% at the bottom..

WHY?

thanks for cooperating..

EDIT: Please REFRESH if everything is the same..

This post has been edited by heavensounds: Feb 13 2007, 11:03 PM
Go to the top of the page
 
+Quote Post
jlhaslip
post Feb 13 2007, 11:09 PM
Post #9


A computer once beat me at chess, but it was no match for me at kick boxing.
Group Icon

Group: [MODERATOR]
Posts: 4,001
Joined: 24-July 05
From: In Trouble Again... still?
Member No.: 9,787
Spam Patrol



CODE
<div id="sidebar">

    <table class='sn'> <tbody> <tr><td class='sn-title'> Site is up & running </td></tr> <tr><td class='sn-date'> Posted on: 13/02/2007 </td></tr> <tr><td class='sn-post'> Here it is - the official site of the Spring Congress 2007. Please get into the net! </td></tr> </tbody></table><div><br />
<p align="center"><a href="admini/post.php" target="_blank">Admin Area</a></p></div>

That is the code as per a view source.

Add an ending div tag to see what happens. I think you have missed one there at the end.