Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; phpbb_feed_base has a deprecated constructor in /home/poorsh5/public_html/ThePub/feed.php on line 428

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; phpbb_feed_forum has a deprecated constructor in /home/poorsh5/public_html/ThePub/feed.php on line 844

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; phpbb_feed_topic has a deprecated constructor in /home/poorsh5/public_html/ThePub/feed.php on line 973
[phpBB Debug] PHP Notice: in file /feed.php on line 173: Cannot modify header information - headers already sent by (output started at /feed.php:428)
[phpBB Debug] PHP Notice: in file /feed.php on line 174: Cannot modify header information - headers already sent by (output started at /feed.php:428)
RuneVillage.com Where Gamers Escape! 2015-01-27T09:40:43-06:00 http://poorshark.com/ThePub/feed.php?f=16&t=439670 2015-01-27T09:40:43-06:00 http://poorshark.com/ThePub/viewtopic.php?t=439670&p=10331836#p10331836 <![CDATA[Re: Help me with Clearfix css]]> this result that I found on Google, notice how the div says class="clearfix" on it. In this case, clearfix is just the name of a hack someone's made, but you could call it anything as long as the page elements you make have the same class name.

As for the first margin line, this link might help. Pages have a top, right, bottom, AND left margin, but if you're going for any type of symmetry at all, usually you don't want them all to be different. In this case, the first number (0) is the top AND the bottom margin, while the second value (auto) is the left and the right margin. That's probably so that your content all starts right at the top (0 top margin) but by putting an automatic margin on both sides, it will also stay in the middle of the page no matter how wide your screen is.

As for your second question, I'm not certain exactly what you're referring to (and since it's a clearfix thing, it's someone's personal hack rather than an official CSS thing) but you can Google "CSS clear" or "CSS content", etc. to get some pretty good pages that explain what each keyword does. The first result is usually W3Schools, and they have a "Try it yourself" button that shows you how each particular tag works.

Best of luck with your programming! :D

Statistics: Posted by Saten Ruiko — January 27th, 2015, 9:40 am


]]>
2015-01-27T07:30:22-06:00 http://poorshark.com/ThePub/viewtopic.php?t=439670&p=10331830#p10331830 <![CDATA[Help me with Clearfix css]]>
.clearfix {
width: 960px;
margin: 0 auto;
}
.clearfix:after {
clear:both;
content:"";
display:block;
line-height:0;
height:1%;
visibility:hidden;
}

The first line margin: 0 auto;
Question: Why do you need to specify the margin since its 0 and auto, why not leave it blank since its 0

The second line need help to explain what it all does

Statistics: Posted by Gateux — January 27th, 2015, 7:30 am


]]>