inherit
194230
0
Nov 21, 2015 5:56:42 GMT -8
Alan Vende
4,215
May 2013
l1o2u3i4s5
|
Post by Alan Vende on Mar 6, 2015 13:20:07 GMT -8
Forum URL: psychic-psyghtings.proboards.comIs it possible to put a div box in the header floating right, on the same "line" as the logo/forum title? When I try to do it, it goes underneath/to the right of it. I want the background around it and it only on one line, but I can't seem to do it. I wanted to use a div box so I can style it in the CSS area. This is the closest I could get: With this code for the div box: <div id="wrapper"> <header> <div id="banner-container" role="banner"> <h2 id="banner"> $[forum.title] </h2> <div class="radio-box"> <table width="30%" style="background: #FFFFFF; border: 5px solid #007ABE; padding: 0.5em 0.3em; text-align:center; color: #00137F; font-size: 9pt;" cellpadding="0" cellspacing="0" align="center"> <tbody> <tr> <td><br /><strong> Home of Psychic Psyghtings Radio<br /> <br /> </strong></td> </tr> </tbody> </table> </div> </div> Thanks for any help that you can give!
|
|
inherit
140147
0
Nov 19, 2024 5:07:22 GMT -8
Nscalerr
Throw me to the wolves and I'll return leading the pack!
3,043
May 2009
nscalerr
|
Post by Nscalerr on Mar 7, 2015 0:57:47 GMT -8
I did a bit of a play around on my test forum and I think I have come up with what you want. Let me know if it is not. You will have to set the colours to what you want, as I had to set them this way, so I could see them on my test forum. <div id="banner-container"> <table id="banner" style="border: 1px solid #ff0000; padding: 0.5em 0.3em; text-align:center; color: #ffffff; font-size: 9pt;" cellpadding="0" cellspacing="0" align="center"> <tr> <td><br /><strong> Home of Psychic Psyghtings Radio<br /> <br /> </strong></td> </tr> </table> </div>
|
|
inherit
194230
0
Nov 21, 2015 5:56:42 GMT -8
Alan Vende
4,215
May 2013
l1o2u3i4s5
|
Post by Alan Vende on Mar 7, 2015 13:27:04 GMT -8
That worked for the most part, Nscalerr, but for some reason, when I put it in, it went like the screenshot below: I tried to change it in my Stylesheet with: #radio-banner { width: 10px; height: 10px; } But that didn't seem to change anything; it said like it did in the screenshot above. Thanks for your help!
|
|
inherit
194230
0
Nov 21, 2015 5:56:42 GMT -8
Alan Vende
4,215
May 2013
l1o2u3i4s5
|
Post by Alan Vende on Mar 7, 2015 15:12:48 GMT -8
I figured out how to change the height and width... I put it too small to register. I changed it and this is what I have now: I'm just not sure why the purple went over to the right. I wanted it behind it; I wanted the div box to be on top of the purple gradient background. Thanks so much!
|
|
inherit
140147
0
Nov 19, 2024 5:07:22 GMT -8
Nscalerr
Throw me to the wolves and I'll return leading the pack!
3,043
May 2009
nscalerr
|
Post by Nscalerr on Mar 7, 2015 16:04:45 GMT -8
Odd because it worked ok in my test forum. Where did you place it in the wrapper. The code below is how I have it on my test forum. Link to my test forum, so you can see it in action. partworkstest.proboards.com/ <div id="banner-container" role="banner"> <h2 id="banner"> $[forum.title] </h2>
<div id="banner-container"> <table id="banner" style="border: 1px solid #ff0000; padding: 0.5em 0.3em; text-align:center; color: #ffffff; font-size: 9pt;" cellpadding="0" cellspacing="0" align="center"> <tr><td><br /><strong> Home of Psychic Psyghtings Radio<br /> <br /></strong></td></tr> </table> </div>
|
|
inherit
194230
0
Nov 21, 2015 5:56:42 GMT -8
Alan Vende
4,215
May 2013
l1o2u3i4s5
|
Post by Alan Vende on Mar 7, 2015 16:31:20 GMT -8
This is how I have it, which I thought is exactly how you have it: <div id="wrapper"> <header> <div id="banner-container" role="banner"> <h2 id="banner"> $[forum.title] </h2> <div id="banner-container"> <table id="radio-banner" style="border: 1px solid #000000; text-align:center; color: #000000; font-size: 9pt;" cellpadding="0" cellspacing="0" align="center"> <tr> <td><strong> Home of Psychic Psyghtings Radio </strong></td> </tr> </table> </div> </div>
This is the picture of what I have now: I put a few things into the Stylesheet to make it look the way it does in the way of where it's positioned, but that's it.
|
|
inherit
140147
0
Nov 19, 2024 5:07:22 GMT -8
Nscalerr
Throw me to the wolves and I'll return leading the pack!
3,043
May 2009
nscalerr
|
Post by Nscalerr on Mar 7, 2015 16:44:18 GMT -8
Think I have it this time Alan Vende <div id="banner-container" role="banner"> <h2 id="banner"> $[forum.title] <span id="radio-banner">Home of Psychic Psyghtings Radio</span> </h2> </div> Now for the CSS. #radio-banner { border: 1px solid #ff0000; text-align: center; color: #ffffff; font-size: 9pt; }
|
|
inherit
140147
0
Nov 19, 2024 5:07:22 GMT -8
Nscalerr
Throw me to the wolves and I'll return leading the pack!
3,043
May 2009
nscalerr
|
Post by Nscalerr on Mar 7, 2015 16:50:21 GMT -8
I added padding: 5px; to the css to make it look better.
|
|
inherit
194230
0
Nov 21, 2015 5:56:42 GMT -8
Alan Vende
4,215
May 2013
l1o2u3i4s5
|
Post by Alan Vende on Mar 7, 2015 16:54:13 GMT -8
I don't know what's going on, but the purple background, the gradient I put on the original header, isn't behind the box; it's to the left of it. I want to have it behind it. That's my only problem now -- it's showing on there, just not in the right place Thanks so much, Nscalerr!
|
|
inherit
140147
0
Nov 19, 2024 5:07:22 GMT -8
Nscalerr
Throw me to the wolves and I'll return leading the pack!
3,043
May 2009
nscalerr
|
Post by Nscalerr on Mar 7, 2015 16:57:55 GMT -8
Very weird, as it is working on my test forum. Maybe Kami or one of the others can come up with an answer. Good luck.
|
|
inherit
194230
0
Nov 21, 2015 5:56:42 GMT -8
Alan Vende
4,215
May 2013
l1o2u3i4s5
|
Post by Alan Vende on Mar 7, 2015 17:02:09 GMT -8
I'm not sure. It's the same thing as in the screenshots -- the background is the same as in the screenshots. I'm not sure why it's not working. Thanks for your help, Nscalerr!
|
|
inherit
140147
0
Nov 19, 2024 5:07:22 GMT -8
Nscalerr
Throw me to the wolves and I'll return leading the pack!
3,043
May 2009
nscalerr
|
Post by Nscalerr on Mar 7, 2015 17:05:23 GMT -8
Adding in a screenshot, so that others can see how it appears on my test forum.
|
|
inherit
194230
0
Nov 21, 2015 5:56:42 GMT -8
Alan Vende
4,215
May 2013
l1o2u3i4s5
|
Post by Alan Vende on Mar 7, 2015 17:07:11 GMT -8
That's, eventually, what I want to happen on mine. I'm not sure why it's putting my header gradient to the left. Above is what it is showing as of 8:06pm EST
|
|
inherit
140147
0
Nov 19, 2024 5:07:22 GMT -8
Nscalerr
Throw me to the wolves and I'll return leading the pack!
3,043
May 2009
nscalerr
|
Post by Nscalerr on Mar 7, 2015 17:11:16 GMT -8
Do you have a link, so I could see it happening ?
|
|
inherit
194230
0
Nov 21, 2015 5:56:42 GMT -8
Alan Vende
4,215
May 2013
l1o2u3i4s5
|
Post by Alan Vende on Mar 7, 2015 17:42:53 GMT -8
I do, but I'm working on my test themes. Hold on and I will make it the default, if I can.
|
|