Search…

X3 Photo Gallery Support Forums

Search…
 
tschortsch
Experienced
Topic Author
Posts: 150
Joined: 01 Apr 2010, 17:23

Textpage - alignment of 2 graphics

06 Jul 2011, 05:57

Hey!

I would like to use to arrow graphics in a textpage for navigation. It does work perfectly but I don't know how to get the two arrows in one row next to each other. It works when using the code below but then there is too much space between the arrows because of the alignment...
Code
<a href="#/content/about/01/"><img align="left" height="30" width="30" src="content/data/prev.png" /></a><a href="#/content/about/02/"><img align="right" height="30" width="30" src="content/data/next.png" /></a>
Does anybody know how to do that?
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14007
Joined: 30 Sep 2006, 03:37

Re: Textpage - alignment of 2 graphics

06 Jul 2011, 08:53

Does this actually work? Do your images align beside each other? You can try to add this attribute in the <img> tag and see if it helps:
Code
hmargin="0"
All I can say other than this, is that Flash textifelds simply do not comply very well. After many failed attempts earlier, was not in fact aware that you could align two images side-by-side. Do you have a link?
 
tschortsch
Experienced
Topic Author
Posts: 150
Joined: 01 Apr 2010, 17:23

Re: Textpage - alignment of 2 graphics

06 Jul 2011, 10:59

Thanks for your reply!

I'm not able to align the arrows side-by-side, only the way I described before. With "vspace" attribute it's possible to align two images in a row...
Code
<a href="#/content/about/00/"><img height="30" width="30" src="content/data/prev.png" vspace="12" align="left" /></a><a href="#/content/about/02/"><img height="30" width="30" src="content/data/next.png" align="right" /></a>
I'll try to fix some things first an post a link afterwards!