inherit
241421
0
Mar 10, 2017 17:41:46 GMT -8
bionicoven28
8
January 2017
bionicoven28
|
Post by bionicoven28 on Feb 7, 2017 16:31:06 GMT -8
I know a thing or two about coding, but it's been awhile since I've had to build a container from scratch. I want to build a box to put information in my global header/main header but for some reason, none of the techniques I'm using are working for me? This is what's in my global header right now.
<htmL>
<head>
<style>
</style>
</head>
<div id="boxed">
<h1>announcement hub</h1>
</div>
Someone please tell me what I'm doing wrong and how to fix it. I was told by someone else that a <div> </div> element would wrap around the entire thing but it's not working.
All I'm looking for is a box that I can put my information in.
Thank you for your help - in advance!
EDIT: I know how to do borders and make containers, but when I try to use <body> or <p> the border I'm only trying to put around the announcement box in the global header, goes around everything tagged with <body> or <p>. That's the issue I'm having, to be more clear. How do I get it to not do that?
|
|
#eb7100
33409
0
1
Nov 24, 2024 4:27:37 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Feb 13, 2017 16:27:34 GMT -8
Hi, bionicoven28 . The <html>, <head>, and <body> tags have no use outside of your Forum Wrapper template. I would suggest removing those entirely from your global header. This is the only part of your code that's necessary: This should already be showing on the forum if you have it in place. If you want it to be stylized in any way you'll need to use CSS. Or if you use the existing container classes that come with the forum you can have it match your existing containers, like so:
|
|
inherit
241421
0
Mar 10, 2017 17:41:46 GMT -8
bionicoven28
8
January 2017
bionicoven28
|
Post by bionicoven28 on Feb 22, 2017 12:48:41 GMT -8
Thank you so much! I really appreciate it!
|
|