Currently when an invoice is being created, there are a bunch of tables being created.
Being a bit of a css purist, I wonder if its worth going to a pure css /forms approach for layout reasons. But is it worth it?
Example code is:
(for the html)
<label class="field-address"> Address
<input type="text" name="address" value="" ></label>
and the css to format it:form label.field-address {
float: left;
width: 310px;
margin: 0px 10px 0px 0px;
}
form label.field-address input {
float: left;
width: 310px;
padding: 0px;
}
The code above puts the text above the input, but its easy to put it to the left of the input box too. Just more flexibility.
If its worth putting into si, I'll give it a go. Is there much code needed to tie it into working with the database itself?
Hey SuperRoach,
having a css based layout for forms, invoices, etc.. would be great!!!
i've only relied on tables so far as my knowledge off css is not the best
grab the latest copy from svn and go for it!!!
re code/db
- only the printed invoices really depends on code kind of stuff - but i've been trying to move it to css as much as possible
- everything else is normal html/css
-- most of the layout stuff has been moved to smarty now - so just take a look in ./templates/default/'whatever' and you should be able to modify what you need
Cheers
Justin
It looks like you're new here. If you want to get involved, click one of these buttons!