• Hi,
    I have rich editor turned off and I tried to center a video in my post using <center></center>
    but it makes 3 errors in the validator.
    So what’s the correct way to center content?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter flush

    (@flush)

    Thanks, I’m not sure what I should be looking at..
    But I want to center the content of 1 post only, not of all posts. Does css apply also in this case?

    Thread Starter flush

    (@flush)

    Ok I understand what you meant, I can’t just wrap the content with <center>, I have to do it from within the css of the content.
    Now I must figure out what I must put in here to center this video.
    <div style="margin-bottom: 25px; margin-top: 25px; text-align: left; width: 320px"><iframe src="https://www.dailymotion.com/blog/video/69213?key=5lri5uvvf2jc9lp8d4o6jie9ebbplijf8r1e1pu7" style="width:320px;height:256px;border:none;margin:0px;" width="320" height="256" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" id="i5lri5uvvf2jc9lp8d4o6jie9ebbplijf8r1e1pu7">Dailymotion blogged video</iframe>
    <span style="margin-top:0px;"><a href="https://www.dailymotion.com/video/x1hel_emilie-simon-fleur-de-saison">Emilie Simon - Fleur de Saison</a></span></div>

    Ok, I think align=center has something to do with it, but I mustn’t be placing it where it should.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘centering a posts’ content without getting validation errors?’ is closed to new replies.