Little HTML Help
#5

You should know that the <center> tag has been deprecated for a while. Adding <br> for stylistic reasons is also not done. That's what CSS is for. If you're just starting to learn something then you shouldn't start with deprecated tags and lazy hacks.

Код HTML:
<section id="widget">
    <iframe width="800" height="800" scrolling="no" src="http://widget.mibbit.com/?settings=8b71c0d91bc8459f780f947ef2ad92d4&server=irc.tl&channel=%23UoS.Echo%20%23UoS"></iframe>
</section>
CSS:
Код:
#widget {
    width: 800px;
    margin: 50px auto;
}
The above is the common method to center a block element (<section>, <div>, <p> etc.) within its parent container (body in this case).

You can add another section with buttons above the current section.
Reply


Messages In This Thread
Little HTML Help - by SsHady - 09.08.2016, 08:50
Re: Little HTML Help - by Smithy - 09.08.2016, 08:55
Re: Little HTML Help - by SsHady - 09.08.2016, 09:08
Re: Little HTML Help - by Smithy - 09.08.2016, 09:09
Re: Little HTML Help - by Vince - 09.08.2016, 09:17
Re: Little HTML Help - by klap - 09.08.2016, 11:13
Re: Little HTML Help - by Luicy. - 09.08.2016, 11:56

Forum Jump:


Users browsing this thread: 1 Guest(s)