We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 5532
    • 251 Posts
    Hi There,

    If clients use the floating tools in the insert/edit image window, will this create a page that does not validate?

    Cheers
      • 29076
      • 615 Posts
      Why should it not validate?  smiley It produces a
      <img src="..." style="float:left;" alt="" />
      and that should be correct. It should also be easy to test it your self. Use a template that validates, and test it by putting in an image with some floating, and see if it still validates.
        I think, thererfor I am! But what I am, and why...?
        • 5532
        • 251 Posts
        Thanks for the reply, I won’t be able to validate the page until I upload the site.

        The reason I wondered was because I’ve been searching for ways of styling <img style="" /> using CSS but can’t find any info - do you know how you might do this? Just looking to create some spacing rules on images floated using the tinyMCE editor.

          • 29076
          • 615 Posts
          See here. In your style sheet, put
          imgLeft { float:left; padding-right:10px; }


          As an example.  smiley
            I think, thererfor I am! But what I am, and why...?
            • 5532
            • 251 Posts
            Nice one!

            Thank you...