wolfcry044
01-25-2007, 11:50 PM
http://www.uafclan.com
is my website
If you see to the right hand side is a paypal button. I've tried so many things, but I can't get the width to show up properly. It auto stretchese itself to really long. I've even deleted the div's it was nested in, and it was still stretched.
The html for it is in the header, here is the html for all the right side boxes:
**Note** I tried putting height and width elements in the paypal code, however height seemed to work fine, width would not respond. I checked and rechecked the code and it was correct.****
<!------------------- RIGHT Side Box Elements -------------------->
<!-- RIGHT Side Box Elements -->
<div class="class1"><!-- Lnk Properties-->
<div id="inviscontainerrightboxes"><!-- Begin invisible container to hold txt boxes-->
<!-------------BEGIN SIDEBOX ------------>
<!-------------SideBox Header ------------>
<DIV style="height:21px; width:150px; font-size: 14px; background-color: #000000; color: #000000; text-align: center;
font-weight: bold; background-image:url(http://www.uafclan.com/main/assets/sideboxheader.png); background-repeat:
repeat; ">
</div><!--END Div Style -->
<!-------------SideBox Content------------>
<div id="sideboxbackground">
<!-- Side Box Content -->
<span class="boxtext">
<span class="mainbodytext">
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</span><!-- END mainbodytext -->
</span><!-- END boxtext -->
</div><!--END Sideboxbackground-->
<!-------------END SIDEBOX------------>
<br>
<!-------------BEGIN SIDEBOX ------------>
<!-------------SideBox Header ------------>
<DIV style="height:21px; width:150px; font-size: 14px; background-color: #000000; color: #000000; text-align: center;
font-weight: bold; background-image:url(http://www.uafclan.com/main/assets/sideboxheader.png); background-repeat:
repeat; ">
Top Donators
</div><!--END Div Style -->
<!-------------SideBox Content------------>
<div id="sideboxbackground">
<!-- Side Box Content -->
<span class="boxtext">
<span class="mainbodytext">
<br>
No Donations have been made to UAF yet
<br>
<br>
</span><!-- END mainbodytext -->
</span><!-- END boxtext -->
</div><!--END Sideboxbackground-->
<!-------------END SIDEBOX------------>
<br>
<!-------------BEGIN SIDEBOX ------------>
<!-------------SideBox Header ------------>
<DIV style="height:21px; width:150px; font-size: 14px; background-color: #000000; color: #000000; text-align: center;
font-weight: bold; background-image:url(http://www.uafclan.com/main/assets/sideboxheader.png); background-repeat:
repeat; ">
Upcomming Events
</div><!--END Div Style -->
<!-------------SideBox Content------------>
<div id="sideboxbackground">
<!-- Side Box Content -->
<span class="boxtext">
<span class="mainbodytext">
<br>
We currently do not have any upcomming events
<br>
<br>
</span><!-- END mainbodytext -->
</span><!-- END boxtext -->
</div><!--END Sideboxbackground-->
<!-------------END SIDEBOX------------>
<br>
<!-------------BEGIN SIDEBOX ------------>
<!-------------SideBox Header ------------>
<DIV style="height:21px; width:150px; font-size: 14px; background-color: #000000; color: #000000; text-align: center;
font-weight: bold; background-image:url(http://www.uafclan.com/main/assets/sideboxheader.png); background-repeat:
repeat; ">
Affiliates
</div><!--END Div Style -->
<!-------------SideBox Content------------>
<div id="sideboxbackground">
<!-- Side Box Content -->
<span class="boxtext">
<span class="mainbodytext">
<br>
We currently do not have any affiliates
<br>
<br>
</span><!-- END mainbodytext -->
</span><!-- END boxtext -->
</div><!--END Sideboxbackground-->
<!-------------END SIDEBOX------------>
<br>
<!-------------BEGIN SIDEBOX ------------>
<!-------------SideBox Header ------------>
<DIV style="height:21px; width:150px; font-size: 14px; background-color: #000000; color: #000000; text-align: center;
font-weight: bold; background-image:url(http://www.uafclan.com/main/assets/sideboxheader.png); background-repeat:
repeat; ">
Get Flash Here!
</div><!--END Div Style -->
<!-------------SideBox Content------------>
<div id="sideboxbackground">
<!-- Side Box Content -->
<span class="boxtext">
<span class="mainbodytext">
<br>
<a href="http://www.adobe.com/shockwave/download/download.cgi"><img
src="http://www.uafclan.com/main/assets/get_flashplayer.gif" border="0" alt="Get Flash Player Here If You Cannot
Properly View the Flash On This Site!"></a>
<br>
<br>
</span><!-- END mainbodytext -->
</span><!-- END boxtext -->
</div><!--END Sideboxbackground-->
<!-------------END SIDEBOX------------>
<br>
<!-------------BEGIN SIDEBOX ------------>
<!-------------SideBox Header ------------>
<DIV style="height:21px; width:150px; font-size: 14px; background-color: #000000; color: #000000; text-align: center;
font-weight: bold; background-image:url(http://www.uafclan.com/main/assets/sideboxheader.png); background-repeat:
repeat; ">
Donate To UAF!
</div><!--END Div Style -->
<!-------------SideBox Content------------>
<div id="sideboxbackground">
<!-- Side Box Content -->
<span class="boxtext">
<span class="mainbodytext">
<br>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="wolfcry044@msn.com">
<input type="hidden" name="item_name" value="United Armed Forces">
<input type="hidden" name="no_shipping" value="2">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="tax" value="0">
<input type="hidden" name="lc" value="US">
<input type="hidden" name="bn" value="PP-DonationsBF">
<input type="image" src="http://www.uafclan.com/main/assets/donate.png" border="0" name="submit" alt="Make payments
with PayPal - it's fast, free and secure!" >
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
<br>
</span><!-- END mainbodytext -->
</span><!-- END boxtext -->
</div><!--END Sideboxbackground-->
<!-------------END SIDEBOX------------>
<br>
</div><!--END Inviscontainer that wraps around the body to maintain position of text boxes-->
</div><!--END Class1 link properties-->
Here's the CSS Stylesheet:
@charset "utf-8";
/**************************************************************************
* This Style Sheet Controls The Styles, And Graphics Of The Entire Website*
***************************************************************************/
/* --------------------Background Properties-------------------- */
/* --------This Script and the script in the header file Preloads the images so they only have to load once!---------- */
.hiddenPic {display:none;}
body {
font-family:sans-serif;
background-repeat: repeat;
background-color: #000000;
background-position: 0px 0px; position: relative;
background-attachment:fixed;
color: #000000;
text-align: left;
font-size: 13px;
}
.mainbodytext {font-family: sans-serif;
font-size: 13px; color: #ffffff; background-color: transparent;
}
.sidebartext {font-family: sans-serif;
font-size: 14px; color: #C3C4B6; background-color: transparent;
}
/* --------------------Page Graphics-------------------- */
#banner {position:absolute; left:40px; top:0px; z-Index:10;}
#mech {position:absolute; left:20px; top:10px; z-Index:100;}
#menubar {position:absolute; left:40px; top:77px; z-Index:1;}
#undertopbannermorals {position:absolute; left:40px; top:112px; z-Index:1;}
#soldier {position:absolute; left:794px; top:110px; z-Index:100;}
#handbookindex {position:relative; left:200px; }
#copyright { border-color:transparent; border-style:solid; border-width:0px; background-color: transparent; font-size: 10px; text-align:center; font-weight: none; color: #ffffff;}
#inviscontainer { position: absolute; left: 195px; top: 165px; z-Index:1; width: 600px; background-color: transparent; }
#inviscontainerleftboxes { position: absolute; left: 40px; top:366px; z-Index:100; width: 150px; background-color: transparent; }
#inviscontainerrightboxes { position: absolute; left: 803px; top:165px; z-Index:100; width: 150px; background-color: transparent; }
#textboxes { border-color:#5C5950; border-style:solid; border-width:2px; width: 600px; background-color:#252525; font-size: 20px; }
#sideboxbackground { border-color:#5C5950; text-align: center; border-width:0px; width: 150px; background-color: #252525; background-image:url(sideboxbackground.png);font-size: 15px; }
/*--------------------Form CSS for Enlist Page--------------------*/
<style type="text/css">
label{
float: left;
width: 120px;
font-weight: bold;
}
input, textarea{
width: 180px;
margin-bottom: 5px;
}
textarea{
width: 250px;
height: 150px;
}
.boxes{
width: 1em;
}
#submitbutton{
margin-left: 120px;
margin-top: 5px;
width: 90px;
}
br{
clear: right;
}
</style>
/*--------------------Generic Text And Link Attributes--------------------*/
.boxtext { padding: 8px;}
/*--------------------*NOTE* the nowrap code is so the text does not Get out of order
when browser resizes. Not good to use for main body however, just for headers--------------------*/
/* *mental note to self* Remember to make more classes if you need to make different text subjects have different link attributes. Any name can be used
but for simplicity purposes I've chosen class1, class2. etc. change if you wish*/
.class1 a:link { color:#CCCCCC; background-color: transparent; text-decoration: none;}
.class1 a:visited { color:#CCCCCC; background-color: transparent; text-decoration: none;}
.class1 A:active { color:#FFFFFF; background-color: transparent; text-decoration: none;}
.class1 a:hover { background: #B6B7A9; color :#000000; text-decoration: none;}
/*--------------------Text Indent [used anytime anyone uses p tag--------------------*/
p {text-indent: 8px;}
/*--------------------Unique Text Attributes--------------------*/
/*--------------------*REMEMBER, to use whitespace: nowrap; when you dont want text to stretch with browser--------------------*/
/*--------------------Body header is the welcome header unique to each page. --------------------*/
#bodyheader {font-family: sans-serif, Arial, Helvetica; border: 0px; text-decoration:underline overline;
font-size: 18px; font-weight: bold; color: #000000; background-color: transparent; position: absolute; left: 375px; top: 195px;
z-Index:1; white-space: nowrap; width:450px; height: 25px; text-align: center;
}
is my website
If you see to the right hand side is a paypal button. I've tried so many things, but I can't get the width to show up properly. It auto stretchese itself to really long. I've even deleted the div's it was nested in, and it was still stretched.
The html for it is in the header, here is the html for all the right side boxes:
**Note** I tried putting height and width elements in the paypal code, however height seemed to work fine, width would not respond. I checked and rechecked the code and it was correct.****
<!------------------- RIGHT Side Box Elements -------------------->
<!-- RIGHT Side Box Elements -->
<div class="class1"><!-- Lnk Properties-->
<div id="inviscontainerrightboxes"><!-- Begin invisible container to hold txt boxes-->
<!-------------BEGIN SIDEBOX ------------>
<!-------------SideBox Header ------------>
<DIV style="height:21px; width:150px; font-size: 14px; background-color: #000000; color: #000000; text-align: center;
font-weight: bold; background-image:url(http://www.uafclan.com/main/assets/sideboxheader.png); background-repeat:
repeat; ">
</div><!--END Div Style -->
<!-------------SideBox Content------------>
<div id="sideboxbackground">
<!-- Side Box Content -->
<span class="boxtext">
<span class="mainbodytext">
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</span><!-- END mainbodytext -->
</span><!-- END boxtext -->
</div><!--END Sideboxbackground-->
<!-------------END SIDEBOX------------>
<br>
<!-------------BEGIN SIDEBOX ------------>
<!-------------SideBox Header ------------>
<DIV style="height:21px; width:150px; font-size: 14px; background-color: #000000; color: #000000; text-align: center;
font-weight: bold; background-image:url(http://www.uafclan.com/main/assets/sideboxheader.png); background-repeat:
repeat; ">
Top Donators
</div><!--END Div Style -->
<!-------------SideBox Content------------>
<div id="sideboxbackground">
<!-- Side Box Content -->
<span class="boxtext">
<span class="mainbodytext">
<br>
No Donations have been made to UAF yet
<br>
<br>
</span><!-- END mainbodytext -->
</span><!-- END boxtext -->
</div><!--END Sideboxbackground-->
<!-------------END SIDEBOX------------>
<br>
<!-------------BEGIN SIDEBOX ------------>
<!-------------SideBox Header ------------>
<DIV style="height:21px; width:150px; font-size: 14px; background-color: #000000; color: #000000; text-align: center;
font-weight: bold; background-image:url(http://www.uafclan.com/main/assets/sideboxheader.png); background-repeat:
repeat; ">
Upcomming Events
</div><!--END Div Style -->
<!-------------SideBox Content------------>
<div id="sideboxbackground">
<!-- Side Box Content -->
<span class="boxtext">
<span class="mainbodytext">
<br>
We currently do not have any upcomming events
<br>
<br>
</span><!-- END mainbodytext -->
</span><!-- END boxtext -->
</div><!--END Sideboxbackground-->
<!-------------END SIDEBOX------------>
<br>
<!-------------BEGIN SIDEBOX ------------>
<!-------------SideBox Header ------------>
<DIV style="height:21px; width:150px; font-size: 14px; background-color: #000000; color: #000000; text-align: center;
font-weight: bold; background-image:url(http://www.uafclan.com/main/assets/sideboxheader.png); background-repeat:
repeat; ">
Affiliates
</div><!--END Div Style -->
<!-------------SideBox Content------------>
<div id="sideboxbackground">
<!-- Side Box Content -->
<span class="boxtext">
<span class="mainbodytext">
<br>
We currently do not have any affiliates
<br>
<br>
</span><!-- END mainbodytext -->
</span><!-- END boxtext -->
</div><!--END Sideboxbackground-->
<!-------------END SIDEBOX------------>
<br>
<!-------------BEGIN SIDEBOX ------------>
<!-------------SideBox Header ------------>
<DIV style="height:21px; width:150px; font-size: 14px; background-color: #000000; color: #000000; text-align: center;
font-weight: bold; background-image:url(http://www.uafclan.com/main/assets/sideboxheader.png); background-repeat:
repeat; ">
Get Flash Here!
</div><!--END Div Style -->
<!-------------SideBox Content------------>
<div id="sideboxbackground">
<!-- Side Box Content -->
<span class="boxtext">
<span class="mainbodytext">
<br>
<a href="http://www.adobe.com/shockwave/download/download.cgi"><img
src="http://www.uafclan.com/main/assets/get_flashplayer.gif" border="0" alt="Get Flash Player Here If You Cannot
Properly View the Flash On This Site!"></a>
<br>
<br>
</span><!-- END mainbodytext -->
</span><!-- END boxtext -->
</div><!--END Sideboxbackground-->
<!-------------END SIDEBOX------------>
<br>
<!-------------BEGIN SIDEBOX ------------>
<!-------------SideBox Header ------------>
<DIV style="height:21px; width:150px; font-size: 14px; background-color: #000000; color: #000000; text-align: center;
font-weight: bold; background-image:url(http://www.uafclan.com/main/assets/sideboxheader.png); background-repeat:
repeat; ">
Donate To UAF!
</div><!--END Div Style -->
<!-------------SideBox Content------------>
<div id="sideboxbackground">
<!-- Side Box Content -->
<span class="boxtext">
<span class="mainbodytext">
<br>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="wolfcry044@msn.com">
<input type="hidden" name="item_name" value="United Armed Forces">
<input type="hidden" name="no_shipping" value="2">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="tax" value="0">
<input type="hidden" name="lc" value="US">
<input type="hidden" name="bn" value="PP-DonationsBF">
<input type="image" src="http://www.uafclan.com/main/assets/donate.png" border="0" name="submit" alt="Make payments
with PayPal - it's fast, free and secure!" >
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
<br>
</span><!-- END mainbodytext -->
</span><!-- END boxtext -->
</div><!--END Sideboxbackground-->
<!-------------END SIDEBOX------------>
<br>
</div><!--END Inviscontainer that wraps around the body to maintain position of text boxes-->
</div><!--END Class1 link properties-->
Here's the CSS Stylesheet:
@charset "utf-8";
/**************************************************************************
* This Style Sheet Controls The Styles, And Graphics Of The Entire Website*
***************************************************************************/
/* --------------------Background Properties-------------------- */
/* --------This Script and the script in the header file Preloads the images so they only have to load once!---------- */
.hiddenPic {display:none;}
body {
font-family:sans-serif;
background-repeat: repeat;
background-color: #000000;
background-position: 0px 0px; position: relative;
background-attachment:fixed;
color: #000000;
text-align: left;
font-size: 13px;
}
.mainbodytext {font-family: sans-serif;
font-size: 13px; color: #ffffff; background-color: transparent;
}
.sidebartext {font-family: sans-serif;
font-size: 14px; color: #C3C4B6; background-color: transparent;
}
/* --------------------Page Graphics-------------------- */
#banner {position:absolute; left:40px; top:0px; z-Index:10;}
#mech {position:absolute; left:20px; top:10px; z-Index:100;}
#menubar {position:absolute; left:40px; top:77px; z-Index:1;}
#undertopbannermorals {position:absolute; left:40px; top:112px; z-Index:1;}
#soldier {position:absolute; left:794px; top:110px; z-Index:100;}
#handbookindex {position:relative; left:200px; }
#copyright { border-color:transparent; border-style:solid; border-width:0px; background-color: transparent; font-size: 10px; text-align:center; font-weight: none; color: #ffffff;}
#inviscontainer { position: absolute; left: 195px; top: 165px; z-Index:1; width: 600px; background-color: transparent; }
#inviscontainerleftboxes { position: absolute; left: 40px; top:366px; z-Index:100; width: 150px; background-color: transparent; }
#inviscontainerrightboxes { position: absolute; left: 803px; top:165px; z-Index:100; width: 150px; background-color: transparent; }
#textboxes { border-color:#5C5950; border-style:solid; border-width:2px; width: 600px; background-color:#252525; font-size: 20px; }
#sideboxbackground { border-color:#5C5950; text-align: center; border-width:0px; width: 150px; background-color: #252525; background-image:url(sideboxbackground.png);font-size: 15px; }
/*--------------------Form CSS for Enlist Page--------------------*/
<style type="text/css">
label{
float: left;
width: 120px;
font-weight: bold;
}
input, textarea{
width: 180px;
margin-bottom: 5px;
}
textarea{
width: 250px;
height: 150px;
}
.boxes{
width: 1em;
}
#submitbutton{
margin-left: 120px;
margin-top: 5px;
width: 90px;
}
br{
clear: right;
}
</style>
/*--------------------Generic Text And Link Attributes--------------------*/
.boxtext { padding: 8px;}
/*--------------------*NOTE* the nowrap code is so the text does not Get out of order
when browser resizes. Not good to use for main body however, just for headers--------------------*/
/* *mental note to self* Remember to make more classes if you need to make different text subjects have different link attributes. Any name can be used
but for simplicity purposes I've chosen class1, class2. etc. change if you wish*/
.class1 a:link { color:#CCCCCC; background-color: transparent; text-decoration: none;}
.class1 a:visited { color:#CCCCCC; background-color: transparent; text-decoration: none;}
.class1 A:active { color:#FFFFFF; background-color: transparent; text-decoration: none;}
.class1 a:hover { background: #B6B7A9; color :#000000; text-decoration: none;}
/*--------------------Text Indent [used anytime anyone uses p tag--------------------*/
p {text-indent: 8px;}
/*--------------------Unique Text Attributes--------------------*/
/*--------------------*REMEMBER, to use whitespace: nowrap; when you dont want text to stretch with browser--------------------*/
/*--------------------Body header is the welcome header unique to each page. --------------------*/
#bodyheader {font-family: sans-serif, Arial, Helvetica; border: 0px; text-decoration:underline overline;
font-size: 18px; font-weight: bold; color: #000000; background-color: transparent; position: absolute; left: 375px; top: 195px;
z-Index:1; white-space: nowrap; width:450px; height: 25px; text-align: center;
}