Is there any way.....
Author
Discussion

V8 GRF

Original Poster:

7,299 posts

239 months

Tuesday 12th January 2010
quotequote all
... to centre text and/or pictures in a post or doea it always have to be left justified?

Dave^

7,895 posts

282 months

Tuesday 12th January 2010
quotequote all
V8 GRF said:
... to centre text and/or pictures in a post or doea it always have to be left justified?
Due to everybody's monitor and resolution being different, I wouldn't have thought so...

In essence, there is no limit to the number of characters that can be displayed, which means there is no edge over there ------>

For example, if you took out all the spaces and formatting of this (or any) text, you'd end up with one single (very long) line of text.....

HTH

Dave^

7,895 posts

282 months

Tuesday 12th January 2010
quotequote all
Dave^ said:
V8 GRF said:
... to centre text and/or pictures in a post or doea it always have to be left justified?
Duetoeverybody'smonitorandresolutionbeingdifferent,Iwouldn'thavethoughtso...Inessence,there'snolimittothenumberofcharactersthatcanbedisplayed,whichmeansthereisnoedgeoverthere------>Forexample,ifyoutookoutallthespacesandformattingofthis(orany)text,you'dendupwithonesingle(verylong)lineoftext.....HTH
See?

V8 GRF

Original Poster:

7,299 posts

239 months

Tuesday 12th January 2010
quotequote all
OK thanks for that.

On most forums there is an edge over there -------->

So if I understand correctly you're saying there is no right margin here? Why is that, any idea?

Dave^

7,895 posts

282 months

Tuesday 12th January 2010
quotequote all
V8 GRF said:
So if I understand correctly you're saying there is no right margin here? Why is that, any idea?
Erm, in a word, yeah... But I chose to complicate matters further with my long winded reply... laugh One of those days I guess!!

Only thing I can think of is so that the site looks good on all monitor sizes and resolutions, unlike some, especially when viewed on mobile devices like netbooks etc.

I have a Nokia N800, which has a (approx) 8in screen and a resolution of 640x480, and on some sites i have to scroll left to right as they are set up for 1024x768, whereas on my PC with 1280x1024, sites configured to 800x600 just has massive margins down either side...

H-another-long-winded-reply-H laugh

Xenocide

4,286 posts

237 months

Tuesday 12th January 2010
quotequote all
V8 GRF said:
OK thanks for that.

On most forums there is an edge over there -------->

So if I understand correctly you're saying there is no right margin here? Why is that, any idea?
Not quite true, there's a margin over there, ofcourse there is.

In HTML there's different alignment settings, Left, Center, Right. There's just no option in this forum software to center align.

If you use [rthumb ] tag, then it right aligns.


Dave^

7,895 posts

282 months

Tuesday 12th January 2010
quotequote all
Xenocide said:
V8 GRF said:
OK thanks for that.

On most forums there is an edge over there -------->

So if I understand correctly you're saying there is no right margin here? Why is that, any idea?
Not quite true, there's a margin over there, ofcourse there is.

In HTML there's different alignment settings, Left, Center, Right. There's just no option in this forum software to center align.

If you use [rthumb ] tag, then it right aligns.
Go on then, show us....

V8 GRF

Original Poster:

7,299 posts

239 months

Tuesday 12th January 2010
quotequote all
So then is there a way to force text or an image a set number of pixels/points from the left?

[rthumb ] doesn't seem to work.(unless I've done something wrong)

Edited by V8 GRF on Tuesday 12th January 14:45

Dave^

7,895 posts

282 months

Tuesday 12th January 2010
quotequote all
You could try with the 3x{

see http://www.pistonheads.com/gassing/formatting.htm




                    test



[NOWIKI]


[NOWIKI]


Only works with text, and you can't fool it with text wrapped in {}s then the pic...

Mr Will

13,719 posts

235 months

Tuesday 12th January 2010
quotequote all
It is possible for us to create a formatting code which will centre an image, but (and forgive me if I'm being stupid) why would you want to centre an image? confused