| | |
Layout issues, repeating content boxes
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Apr 2008
Posts: 41
Reputation:
Solved Threads: 1
Evening
I am trying experiencing problems with a new layout. I am trying to achieve the following style:
http://www.further-flight.co.uk/test...es/attempt.htm
My current layout has ended up like this:
http://www.further-flight.co.uk/test...iledlayout.jpg
Code:
CSS:
Any help would be greatly appreciated.
I am trying experiencing problems with a new layout. I am trying to achieve the following style:
http://www.further-flight.co.uk/test...es/attempt.htm
My current layout has ended up like this:
http://www.further-flight.co.uk/test...iledlayout.jpg
Code:
PHP Syntax (Toggle Plain Text)
<div id="menu"><?php include($_SERVER['DOCUMENT_ROOT'].'/testing/notes/menu.php');?></div> <div id="main"> 1.1 Allow Apostrophes </div> <div id="content"> <p> Information relating to allow apostrophes here </p> </div> <div id="main"> method of testing </div> <div id="content"> <p> Information relating to method of testing here </p> </div> <div id="main"> testing criteria </div> <div id="content"> <p> Information relating to testing criteria here </p> </div> <div id="main"> current feedback </div> <div id="content"> <p> Information relating to current feedback here </p> </div>
CSS:
PHP Syntax (Toggle Plain Text)
#menu{ position: absolute; margin-top: -3px; z-index: 1;} #main{ position: absolute; margin-top: 10px; margin-left: 200px; width: 75%; height: 15px; font: bold 13px verdana; color: white; background: #606060 url(/images/arrowstop.gif) no-repeat 8px 6px; /*last 2 values are the x and y coordinates of bullet image*/ margin-bottom: 0; /*bottom spacing between header and rest of content*/ text-transform: uppercase; padding: 7px 0 7px 31px; /*31px is left indentation of header text*/ z-index: 2;} #content{ position: absolute; margin-top: 40px; margin-left: 200px; width: 76%; font: 13px verdana; color: #000000; background: #E9E9E9; padding: 7px 10px 7px 10px; /*31px is left indentation of header text*/ z-index: 2;}
Any help would be greatly appreciated.
my browser is telling me that your site has been reported as distributing harmful software. you might want to check on that.
otherwise, maybe try a layout without the absolute positioning. its a lot easier and will solve a lot of small problems.
i suggest posting this in the html/css forum instead of the php one, you might get some better responses.
otherwise, maybe try a layout without the absolute positioning. its a lot easier and will solve a lot of small problems.
i suggest posting this in the html/css forum instead of the php one, you might get some better responses.
![]() |
Other Threads in the PHP Forum
- Previous Thread: Warning: Unknown(): Unable to call () - function does not exist in Unknown on line 0
- Next Thread: defining sql query as function
| Thread Tools | Search this Thread |
Tag cloud for PHP
.htaccess access ajax alerts apache api array beginner binary broken cakephp checkbox class cms code convert cron curl database date directory display download dynamic echo email error file files folder form forms function functions google hack href htaccess html htmlspecialchars image include insert integration ip java javascript joomla limit link login loop mail menu methods mlm mod_rewrite multiple mysql network object oop overwrite parse paypal pdf php problem query radio random recursion redirect regex remote script search securephp server sessions sms soap source space sql structure syntax system table tutorial update upload url validation validator variable video web xml youtube






