Post: [REWARD] Website problem
02-23-2010, 01:13 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Alright, I'm making my very own website (Not for the first time.). But, I'm a little rusty with CSS. So I was wondering, how do I get an image beside text?

Example:

You must login or register to view this content.

The image is on the right of the text, without moving the text under it. How would I do this with CSS or HTML codes? Reward: 30K VBUX
(adsbygoogle = window.adsbygoogle || []).push({});
02-23-2010, 01:18 AM #2
Cpt.S
Banned
In CSS?

What coding you using.. HTML?

lol
02-23-2010, 01:24 AM #3
Originally posted by Cpt.S View Post
In CSS?

What coding you using.. HTML?

lol


Just tell me how to do it, I can find my own mistakes once I know how to do it.
02-23-2010, 01:27 AM #4
move the pic to the right and the text to the left?
02-23-2010, 01:31 AM #5
Cpt.S
Banned
Try.

.left{float:left;}

<img class="left" src="your/img/here">
text here.

---------- Post added at 08:31 PM ---------- Previous post was at 08:29 PM ----------

Or try...

.textmiddle {vertical-align:middle;}
YOUR TEXT HERE.

The following user thanked Cpt.S for this useful post:


02-23-2010, 01:34 AM #6
Originally posted by Cpt.S View Post
Try.

.left{float:left;}

<img class="left" src="your/img/here">
text here.

---------- Post added at 08:31 PM ---------- Previous post was at 08:29 PM ----------

Or try...

.textmiddle {vertical-align:middle;}
YOUR TEXT HERE.


Thank you, it worked! Donating 30K right now.
02-23-2010, 01:36 AM #7
Cpt.S
Banned
Originally posted by 825910
Thank you, it worked! Donating 30K right now.


No probs lol.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo