This may sound dumb but...
How would you align something not in the center, but sort of between the center and the left side of the page? Tables don't really seem to be a big help here, and I see no other way really than putting a ton of " "s.
Aligning?
Moderator: General Moderators
- no_memories
- Forum Contributor
- Posts: 145
- Joined: Sun Feb 01, 2004 7:12 pm
- Location: New York City
This is just one of many ways to accomplish what you described.
Style:
Markup:
Style:
Code: Select all
.leftcenter {
position: relative; /* its better to use the relative attribute for this purpose */
top: 10%; /* this can be in a px value also */
left: 10%; /* same as above */
}Code: Select all
<table border="" cellspacing="" cellpadding="" summary="">
<tr><td>
<div class="leftcenter">This or That</div>
</td></tr>
<tr><td>
<div class="leftcenter">This or That</div>
</td></tr>
</table>