poster image position

Got a kewl website or have a website question? Hosting? Servers?
Post Reply
User avatar
VZdemon
Posts: 93
Joined: Thu Nov 25, 2010 1:55 pm

poster image position

Post by VZdemon »

i'm tryng to create a forum and in the repliea section i want each replie to look like this:Image
but i can't get the image to move next to the post. does any1 have any idea how to do this? (i use div tages and a seperate style sheet).
it's VZdaemon on xbox live
User avatar
Jackolantern
Posts: 10891
Joined: Wed Jul 01, 2009 11:00 pm

Re: poster image position

Post by Jackolantern »

Here is a wonderful tutorial on using the CSS "float" attribute. Float will allow you to move content side-by-side within your reply div.

Was this what you were looking for, or were you having problems with float already?
The indelible lord of tl;dr
User avatar
VZdemon
Posts: 93
Joined: Thu Nov 25, 2010 1:55 pm

Re: poster image position

Post by VZdemon »

wow that's much better. Thanks a bunch :D :D :D :D :D .
it's VZdaemon on xbox live
User avatar
VZdemon
Posts: 93
Joined: Thu Nov 25, 2010 1:55 pm

Re: poster image position

Post by VZdemon »

say, do you also have a tutorial for separating data from a text value in mysql?
if you don't undersatnd what i mean then here is what i'm trying to get:

//in the database
1,2,3
// what i want to display from that value
1
2
3
it's VZdaemon on xbox live
User avatar
hallsofvallhalla
Site Admin
Posts: 12023
Joined: Wed Apr 22, 2009 11:29 pm

Re: poster image position

Post by hallsofvallhalla »

http://php.net/manual/en/function.split.php

Code: Select all

$data = "1,2,3";
$splitdata = split(',', $data);

echo $splitdata[0];
echo $splitdata[1];
echo $splitdata[2];
User avatar
VZdemon
Posts: 93
Joined: Thu Nov 25, 2010 1:55 pm

Re: poster image position

Post by VZdemon »

thanks every1 for all your help. you guys are awsome
it's VZdaemon on xbox live
Post Reply

Return to “WebSite”