Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Blocks
Author Message
scorpious
Worker
Worker



Joined: Dec 03, 2005
Posts: 153

PostPosted: Wed Nov 22, 2006 7:04 am Reply with quote

Hi all

I have created a block with just text in it, but all the text shows up on the right handside. What I would like to do is a header in the center of the block and then under that header starting from the left handside of the block have some more text.

how can I do this ??
 
View user's profile Send private message
hitwalker
Sells PC To Pay For Divorce



Joined:
Posts: 5661

PostPosted: Wed Nov 22, 2006 7:30 am Reply with quote

you can put in the image and use center tags...
after that use the text.
 
View user's profile Send private message
scorpious







PostPosted: Wed Nov 22, 2006 11:20 am Reply with quote

Hi Hitwalker

Worked on this most of the afternoon, and have come up with this:
$content .= "<center>Your text in the centre:</center>";
$content .= "<br />your text to the left of the block";

To space the lines I created a spacer with the same background colour, now I have a line spacing between lines:
$content .= "<br /><img src=\"images/spacer.gif\"<br />Your text here.";

It may not be the best way, but it worked

Now i will post in the module section Confused

Cheers
Scorp


Last edited by scorpious on Fri Nov 24, 2006 7:31 am; edited 1 time in total 
hitwalker







PostPosted: Wed Nov 22, 2006 1:44 pm Reply with quote

as long as it works for you.... Wink
 
scorpious







PostPosted: Thu Nov 23, 2006 3:43 am Reply with quote

Hi hitwalker

Ummm, whats with the Wink or is there an easier way I missed?
 
hitwalker







PostPosted: Thu Nov 23, 2006 6:59 am Reply with quote

oh nothing....
but if you wanted to do it the properway you had to do that in the stylesheet....i mean...the usage of spacing.
but then you had to change the block as well...
 
scorpious







PostPosted: Thu Nov 23, 2006 7:47 am Reply with quote

Hi hitwalker

Ok, u have me dribbling at the mouth, and speedtype most of the day, what is the properway ? stylesheet, and where would it go and how would I do it lol


Scorp
 
hitwalker







PostPosted: Thu Nov 23, 2006 8:06 am Reply with quote

start here.. [ Only registered users can see links on this board! Get registered or login! ]
 
scorpious







PostPosted: Thu Nov 23, 2006 8:42 am Reply with quote

Hi hitwalker

Nice one Very Happy Will have a good look at the the weekend

Cheers
Scorp
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Blocks

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©