The problem is, I want a simple white bar going across like I currently have. I used this CSS coding to make it:
a.recently_added_button {
margin-top: 2px;
color:#F00;
width:600px;
background:#FFF;
padding-left:10px;
padding-top:1px;
padding-bottom:2px;
border-bottom: 1px solid #CCC;
}
a.recently_added_button:hover {
height:20px;
text-decoration: none;
color:#F00;
background:#FFF url(images/button_bg_o.jpg) no-repeat;
border-bottom: 1px solid #999;
}
and the HTML coding I have calling over to it is this:
<span class="toggle">
<a style="cursor:pointer;" class="recently_added_button">Wednesday, June 29th 2011 <img src="/includes/images/double_down_arrow.png"></a></span>
<div class="hiddenDiv">
<table width="600px">
ETC...
</div>
I simply cannot get the width of the top button to be the 600px I am telling to to be. It is only as long as the text I have typed into it which is not what I want it to do. For an idea of how I want it to look, it is kind of like the "messages" box in your youtube account, slightly different though.
I am able to get it HOW I want it to look by making the padding in the CSS
padding-right:415px;but then it still depends on how much text is typed for the width to be shown.
here is the page that I am having trouble with, the top is with the EXACT coding shown above, and below is how I WANT it to look, accomplished by using the padding-right code that obviously is not working entirely right either:
http://www.northtown...ently_added.php
Thanks so much guys! [:
This post has been edited by flip4life: 30 June 2011 - 03:38 AM

New Topic/Question
Reply


MultiQuote




|