|
-
Jan 8th, 2006, 04:18 AM
#1
Thread Starter
PowerPoster
[Resolved]CSS and Absolute Positioning..
HTML Code:
<style>
div {font-family:Verdana; font-size:12px}
p {font-family:Verdana; font-size:30px; font-weight:bold; color:red;margin:0px}
</style>
</head>
<body>
<table border="1">
<tr>
<td style="height:25px;width:25px;text-align:right;vertical-align:top">
9
<div style="z-index:1; position:absolute; left:15px;top:4px">
<p>X</p>
</div>
</td>
<td style="height:25px;width:25px;text-align:right;vertical-align:top">
10
<div style="z-index:1; position:absolute; left:47px;top:4px">
<p>X</p>
</div>
</td>
</tr>
</table>
Hey Guys, trying to do a calender, and I want to have little crosses on days that have passed... however position:absolute makes it incredibly hard to make the page.. I thought you could use position:relative and it would start from the corner of the cell instead, but it puts it onto a second line instead and the cell wraps around the text.
Any ideas? :\
Last edited by Pc_Madness; Jan 8th, 2006 at 07:27 AM.
Don't Rate my posts.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|