If you want to text-align: center, it is your prerogative. But you will
be questioned by St Peter when you get to the gates. I have it on High
Authority that he takes an interest in these modern technologies and
does not like ragged left edges.
Two problems arise from the last markup/css:
One is that although I tend to save my pics as 610 px wide (to fit 800x600
screens), they are not all that width ,which means I would have to keep the
style criteria on every page rather than in a remote stylesheet
Secondly I sometimes wish to have some of the text centred. Here I have put
the picture location above the picture to achieve this when I would rather
have had it just above the main text. This also makes the nav icons behave
oddly when viewed in 800x600 IE or any Firefox page, but I dont like having
them at the top of the screen.
http://www.jimscot.myby.co.uk/jims_page_MH.htm[/QUOTE]
Your page is not showing up at the moment on my browsers (your server
down?) but I understand some of the things you are saying. (I don't know
what you mean by your "the picture location").
Please reconsider having the nav arrows flung off to the corners; it is
so much simpler and straightforward to have them under or over each pic.
I gave them an absolute position because that would be fine for most
people but there are are other ways, they can be floated left and right
too... I would need to see the page again.
Let's look, given your page is unavailable, at a page I made for you at:
<
http://netweaver.com.au/alt/jim.html>
Here the arrows are floated and work nicely and are always within the
bounds of the main wrapper div.
Basically, the problem you face is that you want shrink to fit the
current pic for the main wrapper without server side or js help!
Let me suggest you put the biggest size that covers most of your pics as
the width dimension for the main wrapper in the global css file. This
will then cover smaller pics and look not too bad. Let me adjust the
markup[ for you to be able to do this without having to be so exact.
Notice the way the image is now text-aligned to center to cope with the
fact that the block it is in is centered. Images, being inline by
default, will also by default align to the left. This needs correcting
now that we are being generous with the size of the block.
<
http://netweaver.com.au/alt/jimWithMoreLeeway.html>