Mt. Moon Community

Full Version: Div Layout Confusion
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Could someone who is experienced with div layouts solve a problem?

On a layout I'm currently making, I'm having trouble with the content area.
The PHP stuff? You're pointing the include to the wrong directory.

Otherwise I don't see a problem...
try doing:

<?php
include="left bar here"
?>
<php
include="content here"
?>
<?php
include="right bar here"
?>

then in the left bar make it have the <div align="left"> then make the content have <div align="left"> then make the right bar have <div align="right">

if you still have problems try including the whole url in the include thing because if you are using folders then using /directory/folder/other it won't go to the right thing
No... I mean the extra white bit at the bottom on other pages.
I don't know try putting a backround color
It already had a background color. -_-'

* Eon-Rider sucks at making div layouts.
i really sucked at them but now i know how to make them (they still look like crap)
what I do is I start out making a 1 coulmn table down then i save it as left.php then i do the same thing but save it as right.php then i make a page called index.htm and i do:
<?php
include("left.php")
?>
<!-- cute news code here -->
<?php
include("right.php")
?>

then i upload them through a ftp server and hope it works XD then i just add links and colors try using this: animalcrossing.awardspace.com and view the source you should find out how
Those aren't div layouts though. Div layouts are basically CSS borders subtituting for a table.
oh. div layouts are hard
You're all kidding me using XHTML, especially for DIV layouts. I might recommend you slow down with your line breaks in DIV layouts, which isn't the main problem of your layout, if not that your container might be the problem of your layout not going well. Or, it's just that your layouts right menu won't show up as good without content , making your page higher/bigger. If that doesn't fix the problem, remove that right bar from your layout. Smile
Pages: 1 2
Reference URL's