Style Classes Need To Be More Refined
RobertNelsonVance - May 28, 2008 - 03:40
| Project: | Community Tags |
| Version: | 5.x-1.0-beta1 |
| Component: | Miscellaneous |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Description
It seems to me that the CSS classes need to be more refined.
The current html renders as:
<form action="/forum/foobar" accept-charset="UTF-8" method="post" id="community-tags-form">
<div>
<div class="form-item">
<label>All tags:</label>
<div class="cloud">
<a href="/blahblahblah" class="tagadelic level1" rel="tag">blahblahblah</a>
</div>
</div>
<div class="form-item">
<label for="edit-tags">My tags: </label>
<input type="text" maxlength="100" name="tags" id="edit-tags" size="20" value="" class="form-text form-autocomplete form-tags" />
<div class="description">
<div class="description"><span class="no-js">A comma-separated list of terms describing this content. </span>Example: funny, bungee jumping, "Company, Inc.".</div>
</div>
</div>
<input class="autocomplete" type="hidden" id="edit-tags-autocomplete" value="http://example.com/taxonomy/autocomplete/4" disabled="disabled" />
<input type="submit" name="op" id="edit-submit" value="Save" class="form-submit" />
<input type="hidden" name="form_token" id="edit-community-tags-form-form-token" value="38f7d9511bbafb067fd51b50b422e134" />
<input type="hidden" name="form_id" id="edit-community-tags-form" value="community_tags_form" />
</div>
</form>It seems to me that the two different "form-item" classes should be separate classes so that you can style them separately. For example, if you want one div to float right so that you can have "All Tags" and "My Tags" left and right of one another respectively. So maybe have something like class="form-item all-tags" and class="form-item my-tags".
Thoughts?
