Originally Posted by
Rob@ThePCWiz.info
Why not use <marquee> ? i was kind of diggin it... i like it. does it not come up correctly in some browsers? I mean i could prolly just remove it fine... no problem.
About <marquee>:
1. it is distracting and does never look good. it may look good for a kid club website, but not for professional website.
2. it is deprecated/non-standard tag. browsers only support it as legacy.
Some extra notes:
3. Avoid inline styles, use classes/ids and a separate css file. It looks dumb at first, but it makes a huge difference in the future when you start to work in big websites. I'm talking about those lines:
Code:
<div style="height:400;width:100%;overflow:auto;border-width:2;border:groove;">
<div style="border:2;height:75;width:100%;overflow:auto;border-width:2;border:groove;" align=center>
You could instead use (I'm using both id and class):
Code:
#maincontent { height:400;width:100%;overflow:auto;border-width:2;border:groove; }
.latest { border:2;height:75;width:100%;overflow:auto;border-width:2;border:groove; text-align: center; }
in the stylesheet
Code:
<div id="maincontent">
<div class="latest">
in the content. Much easier to read/understand those <div>s.
4. Those borders are ugly, and the main content needs some spacing/padding. Perhaps something like (using the same notation as the last example):
Code:
#maincontent { padding: 24px 48px; line-height: 1.5em; }
.latest { text-align: center; }
see how your site will look much better without the borders and with the extra spacing: http://omploader.org/vM2U0Ng (I made the changes using Firebug, which is a neat tool for a webdesigner)
Bookmarks