shmish
08-12-2006, 02:51 AM
I'm trying to style a line of text such that some appears on the left side of the div and some on the right side. I tried to use something like:
<div id="navigate">text1<span>text2</span>
where #navigate span {text-align:right;}
This doesn't move "text2" to the right though.
I then tried
#navigate span {margin-right=300px;}
and this positioned "text2" where I wanted it. However, sometimes "text2" is in-line with "text1", sometimes it is a bit lower than it (but still to the right).
Is there a fool-proof way of doing this?
I've attached my template in case anyone wants to take a look at it. It's messy right now, being a work-in-progress. http://www.dryfly.ca/public/shmish.zip
The website is here (http://www.dryfly.ca/pixelpost). The areas I'm trying to adjust are the "comments" above the image and "categories" below the image.
thanks
<div id="navigate">text1<span>text2</span>
where #navigate span {text-align:right;}
This doesn't move "text2" to the right though.
I then tried
#navigate span {margin-right=300px;}
and this positioned "text2" where I wanted it. However, sometimes "text2" is in-line with "text1", sometimes it is a bit lower than it (but still to the right).
Is there a fool-proof way of doing this?
I've attached my template in case anyone wants to take a look at it. It's messy right now, being a work-in-progress. http://www.dryfly.ca/public/shmish.zip
The website is here (http://www.dryfly.ca/pixelpost). The areas I'm trying to adjust are the "comments" above the image and "categories" below the image.
thanks