I'm trying to set up a top of a page where it is a text title hard up against the left side of the page and an image hard up against the right side of the page with whitespace between the two. I've tried float:left on the text and float:right on the image, but then the text from below jumps up and fills in the space between them. Any other suggestions on how I can go about achieving the desired effect? Thanks!
-jinkaseither
1) float only one of the images.
2) Put clear: both; in your styles for the text underneath.
3) Apply a margin-top: 50px; to the text underneath.
That is if you mean what I think you mean!clear: both! Why didn't I think of that? Yeah, thanks...brain is fried today. I just floated both the text and the image and then cleared the text beneath. Works perfectly! Thanks!
-jinkasNo Probs
-jinkaseither
1) float only one of the images.
2) Put clear: both; in your styles for the text underneath.
3) Apply a margin-top: 50px; to the text underneath.
That is if you mean what I think you mean!clear: both! Why didn't I think of that? Yeah, thanks...brain is fried today. I just floated both the text and the image and then cleared the text beneath. Works perfectly! Thanks!
-jinkasNo Probs