View Full Version : photobox floating left and right

11-05-2009, 10:23 AM
I would like to insert a photos onto my site and would like to create a style for the box i.e. Padding,Border .
I would then like to float the photobox left or right as needed, I realise I could just create a style for each like .photoLeft or .photoRight but was wondering if there is way to just style the box once without having to duplicate the style of the box and then float it left or right with the neccesary margins for each !

Many Thanks,
Nick Carter ;-)

11-05-2009, 11:06 AM
Sorry Guys,
I think I may have sorted it and answered my own question here !
If I create a style for the img tag and then a class for leftImg and rightImg that should do the trick I think !!!

Nick C ;-)