Sent by Climis, Tim on 29 March 2010 19:07
> Experiment with left/center/right alignments of the "legend" headings and the buttons;
> Add a background image to each form within the table.
>
> Can it be done?
Yes.
I'm presuming that you want each form to be different, right? So you need to give each one a way to
select it. Either a class or an id.
Ex:
<form id="track">
....
</form>
<form id="account">
....
</form>
<form id="order">
....
</form>
And then you can be more specific in your CSS.
#track { /* the element with id="track" (in this case a form) */
background-image: url('relative/path/to/image/file.jpg');
}
#track legend { /* the legend tag inside the form with id="track" */
text-align: left;
}
Voila!
If you use class names (form class="track") instead of id's then put in a dot (.) instead of a hash
(#).
---Tim
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/