Announcement

Collapse
No announcement yet.

Formating a fragment

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Formating a fragment

    We have some YouTube videos embedded within a fragment.

    Is it possible to format the embedded html so that the embedded YouTube video sits in the middle of the fragment page rather than hugging the left hand side of the fragment page?

    #2
    Yes

    Comment


      #3
      Perhaps I should have been a little more direct in my initial query.
      Any chance you can share how to do it then?

      Comment


        #4
        LOL sorry i could not help myself

        you just need to put and alignment around your code to centre this. I use

        <p align="center"

        Comment


          #5
          Thanks Darren,
          Have applied to the html and it worked a treat!
          The next bit of embedded code that I'd like to centralise is in JavaScript.
          What's the alignment code I need in Java?

          Comment


            #6
            Originally posted by FrazerPart View Post
            Thanks Darren,
            Have applied to the html and it worked a treat!
            The next bit of embedded code that I'd like to centralise is in JavaScript.
            What's the alignment code I need in Java?


            First of all, Java and JavaScript are not the same thing.

            Googling "format javascript" throws up some great sites that already explain everything you need.
            The Patchwork Rabbit

            Comment

            Working...
            X