i'm working on a website that's giving me a little bit of a problem. i need to remove the extra space at the top of the page (that is automatically put there above the text or image or whatever comes first on that page). i know there's a way to take it out, i just don't remember the code. can anyone help?
Rosey
12-05-2004, 04:25 AM
try adding top-margin:0 in your css of whatever you have first, table, div and whatever.
here's the style code i have in that page:
<style> body { overflow: hidden; }</style>
<style type="text/css"> { }
body, td, table {
font-weight: normal;
font-size: 7pt;
font-family: verdana;
color:#000000;
line-height:7px;
text-align:justify;
scrollbar-base-color:#000000; scrollbar-track-color:#2cffe4;
scrollbar-arrow-color:#000000}
A {color:#000000; text-decoration: none; font-weight:bold; cursor:default;
border-bottom:none; background:none;}
A:hover {color:#000000; cursor:default; font-weight:bold; text-decoration:none;
background:#cccccc;}
</style>
the first thing i have is linked text, so can i just stick it somewhere in there, or do i need to make a new <style> thing? (can you tell how much css experience i have?)
nevermind, i got it to work. thank you so much! <3
MaGiCSuN
12-05-2004, 04:03 PM
you can make your css this:
<style type="text/css">
<!--
body { overflow: hidden; padding: 0px; margin: 0px; }
body, td, table {
font-weight: normal;
font-size: 7pt;
font-family: verdana;
color: #000000;
line-height: 7px;
text-align: justify;
scrollbar-base-color: #000000; scrollbar-track-color: #2cffe4;
scrollbar-arrow-color: #000000}
A {color: #000000; text-decoration: none; font-weight: bold; cursor: default; }
A:hover {color: #000000; cursor: default; font-weight: bold; text-decoration: none;
background-color: #cccccc;}
-->
</style>
:)
Love,
Mirna