Associate
- Joined
- 2 Jun 2004
- Posts
- 754
- Location
- Space
Hi Guys I'm stuck in a rut... I've been trying to work out a bit of css which i can't seem to get my head around and its making it hurt.
i got 2 DIVs as shown...
This is my Css for them
example how it ends up
I'm trying to get the 'image here' text appear to the right side of the page next to the 'welcome' but I'm not sure how to. can anyone help me its so frustrating thanks
mart
i got 2 DIVs as shown...
Code:
<div class="text">
<h2>Welcome</h2>
<p> To my site.... </p>
</div><div class="image">
<p>Image Here</p>
</div>
This is my Css for them
Code:
.text {
width: 300px;
height: 200px;
text-align: left;
float: left;
}
.image {
width: 300px;
height: 200px;
vertical-align: top;
float: right;
}
example how it ends up
I'm trying to get the 'image here' text appear to the right side of the page next to the 'welcome' but I'm not sure how to. can anyone help me its so frustrating thanks
mart