bigheaven
01-27-2010, 04:07 PM
I'm working on this webpage for a school project and I found a weird bug on my index page. If I click in the blue background everything in that div disappears. But if I scroll down first and then click, the scrollbar changes size but the text stays put. Does anyone know what could cause this or how to fix it? Thanks.
EthelPatterson
01-29-2010, 03:01 AM
It might be a good idea to post your coding, then it would be slightly easier to see where you may have gone wrong :)
bigheaven
03-05-2010, 03:48 PM
It doesn't do it on every page, so I don't think it's a style sheet issue. I can post that too though if you need it.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Future Business Leaders of America</title>
<LINK href="style.css" rel="stylesheet" type="text/css">
<!--[if IE 7]>
<link rel="stylesheet" type="text/css" href="style2.css">
<![endif]-->
</head>
<body>
<div id="col1">
</div>
<div id="bar1">
</div>
<div id="cssm1">
<ul>
<li><a href="index.htm">Home</a></li>
<li><a href="#">About Us »</a>
<ul>
<li><a href="activities.htm">Activities</a></li>
<li><a href="chapter.htm">Chapter</a></li>
<li><a href="officers.htm">Officers</a></li>
</ul>
</li>
<li><a href="#">Links »</a>
<ul>
<li><a href="http://www.fbla-pbl.org/">National Webpage</a></li>
<li><a href="http://www.hannibalchamber.org">HCC</a></li>
</ul>
</li>
<li><a href="Contact-Us.htm">Contact Us</a></li>
</ul>
</div>
<div id="header">
<h1 align="center">
<font color="#ffffff">
<font color="gold">F</font>uture
<font color="gold">B</font>usiness
<font color="gold">L</font>eaders of
<font color="gold">A</font>merica
<hr width=80% color="gold">
</h1>
</div>
<div id="content">
<br>
<a name=top></a>
<div align=center>
<a href=#MS>Mission Statement</a> |
<a href=#CR>Creed</a> |
<a href=#PL>Pledge</a>
</div>
<br>
<br>
<a name=MS><h2 align=center>FBLA Mission Statement</h2></a>
<hr width="80%" color="gold">
<div align=center>“FBLA-PBL is the premier student business association. Our mission is
to bring business and education together in a positive working relationship
through innovative leadership and career development programs.”
</div>
<br><br>
<div align=center><img src="fblabanner copy.jpg"></div>
<br>
<div align=center><font size=2> From the left: Regan Munger (President), Josh Van Meter (Treasurer), Taylor Moreland (Vice President), Katie Lane (Reporter/Historian), Heidi Turner (Vice President), Kyle Lehenbauer (Parliamentarian), Katie Miller (Secretary)</font><br><br>
</div>
<a name=CR><h2 align=center>FBLA Creed</h2></a>
<hr width="80%" color="gold">
<div align=center>I believe that free education is the right of every young person in America.<br><br>
I believe that the future of America depends upon mutual understanding and cooperation of business, industry, labor, the home, the church, the school, and by the peoples of our own and other lands.
<br><br>
I agree to do my utmost to bring about better understanding and cooperation on the part of all these groups.<br><br>
I believe every young person should prepare himself for a useful occupation and that they should carry on that occupation in a manner that will bring the greatest good to the greatest number.
<br><br>
I believe every young person should be actively interested in better social, political, community, and family life.
<br><br>
I believe every young person has a right to earn his living at a useful occupation and that this right should not be denied him because of race, color, or creed.
<br><br>
I believe that every young person should take responsibility for carrying out assigned tasks in a manner that will reflect credit to himself, his assoicates, his school, and his community.
<br><br>
I believe in my own ability to work efficiently and to think clearly, and I pledge myself to use these abilities to make America a better place for everyone.
<br><br>
</div>
<a name=PL><h2 align=center>FBLA Pledge</h2></a>
<hr width="80%" color="gold">
<div align=center>I solemnly promise to uphold the aims and responsibilities of Future Business Leaders of America - Phi Beta Lambda and, as an active member, I shall strive to develop the qualities necessary in becoming a responsible business leader.
</div>
<br>
<div align=center><a href=#top>Go to Top</a></div>
<br><br>
<font size=2>
<div align=center>Mission Statement taken from <a href="http://www.fbla-pbl.org/web/page/622/sectionid/614/pagelevel/2/main_interior.asp">http://www.fbla-pbl.org/</a>
</div>
<div align=center>Best if viewed by Internet Explorer 7 or above</div></font>
</font>
</div>
<div id="bar2">
</div>
<div id="col2">
</div>
</body>
</html>
bigheaven
03-05-2010, 04:35 PM
Never mind. We got it figured out. We had an extra space between two letters in our coding. Thanks anyway.
iGeek
03-07-2010, 06:55 AM
It should be noted you're using deprecated HTML tags, as well as omitting double quotes around HTML attributes. Also, keep in mind that empty divisions and other tags are also invalid. The "align" HTML attribute is deprecated as well and should be replaced by auto margins in CSS.