i'm tryng to create a forum and in the repliea section i want each replie to look like this:
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).
poster image position
poster image position
it's VZdaemon on xbox live
- Jackolantern
- Posts: 10891
- Joined: Wed Jul 01, 2009 11:00 pm
Re: poster image position
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?
Was this what you were looking for, or were you having problems with float already?
The indelible lord of tl;dr
Re: poster image position
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
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
- hallsofvallhalla
- Site Admin
- Posts: 12023
- Joined: Wed Apr 22, 2009 11:29 pm
Re: poster image position
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];
Re: poster image position
thanks every1 for all your help. you guys are awsome
it's VZdaemon on xbox live