Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- CSS and Positioning issues
August 11, 2005, 2:03 am
rate this thread
am just trying to get the proper formatting:
PHP (HTML) File:
<?php include('frontend.php'); ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<meta http-equiv="Content-Type" content="text/html;
<link href="statements.css" rel="stylesheet" type="text/css">
<div id="header"><?php dispheader(); ?></div> header displays
all three sections correctly
<div id="statementtitle"><?php statementtype(); ?></div>
statementtitle displays correctly
<div id="bottomsection">BOTTOM SECTION</div>
font:bold 1.2em serif;
In the HTML when I display bottom section it does not show up at the
very bottom, it displays overtop of where midsection begins. I need
help organizing this to make it display correctly based upon my first
message in the thread. Most likely the statement needs to look like
Header (fixed height based on height of graphic, but would be nice to
have a variable height)
Where I make a call to dispheader() in the PHP there three other
sections printed out here.
<div id="topleft">Stuff Here</div>
<div id="topcenter">Stuff Here</div>
<div id="topright">Stuff Here</div>
Where I make a call to statementtype() in PHP I have
<div id="statementtitle">Title/Type of Statment</div>
Mid Section (variable height)
Bottom Section (variable height)
Sorry about bad formatting with copy and paste.
I have looked over numerous sites with no prevail. Maybe some savvy
person with fresh eyes can find the dumb mistake I have with keeping in
mind IE and Firefox.
Re: CSS and Positioning issues
A URL is much more useful.
This is normal behaviour given the code in question. That is what
absolute positioning does - it removes the element from the flow of the
page, so anything following it acts as though that element was never
there in the first place.
Um, this *is* the first message in the thread.
<looks back through other threads>
Ah, you must be talking about this message:
(amongst other things) Google Groups is also dreadful at threading. If
at all possible, please do everyone a favour and get yourself a real
newsreader. Personally, I use 40tude Dialog -
http://www.40tude.com/dialog/ - but there are plenty of free ones
available. Even *cough* Outlook Express *cough* is preferable to Google.
You have misunderstood how absolute positioning works. Absolute
positioning should very rarely be used - there is certainly no need to
use it in this situation.
In this case, as mbstevens said in the other thread, a bank statement is
definitely tabular data, so use a table for the transactions. Just one
will suffice. ;-)
 Actually *this* is the second. The one I'm replying to is, of
course, the first. :-)
alt.html FAQ :: http://html-faq.com /