I apologize if this is off topic.  If it's of any help, I'm working on
designing some documentation for an API who's backend is written in
python to be run on linux.  8)

I'm attempting to finally learn the "correct" way of doing things with
xhtml and css.  My question is basically this: using a "strict" document
type, how does one align an image?  In good 'ole html, I'd probably just
do something hackish like:

<right>
<img blah blah blah>
</right>

Then we got "more" politically correct and would do:

<div align="right">
<img blah blah blah>
</div>

This is valid in a "transitional" xhtml doctype, but not in "strict"
which is what we're trying to conform to.


As I understand, the "correct" way to do it now would be with style
sheets.  However, I can't seem to figure out the attribute to use.  The
closest I could find was "text-align", but that seems to only work on
text (which does make sense).


I've been using www.w3schools.com (a very handy reference) to pick up
xhtml and css, but I couldn't find anything about this in there. 
Anybody have any hints, pointers, etc?  


-- 
"I have tact.  I just choose not to use it."
-Ben Scott

Cole Tuininga
Lead Developer
Code Energy, Inc
[EMAIL PROTECTED]
PGP Key ID: 0x43E5755D


_______________________________________________
gnhlug-discuss mailing list
[EMAIL PROTECTED]
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss

Reply via email to