theheggy
5th January 2005, 06:01 AM
I was just wondering if someone could help me with this... Basically what I want to do is have the same border around the light grey page table as is on my tables (with the red and black)
When I add the border to "Page Background" it shows up fine, except for the footer, which is a seperate table below everything. I want to be able to include the footer in that border too, but I don't know how to do so without making everything funky....
My forum page is located at http://forums.hoytroid.com so you can see how I have everything set up.
Thank you for your help
Robert
5th January 2005, 08:07 AM
So do you want the footer to be separated form the page BG like the header is? And then do you want the border to go around that?
Or do you want the footer to stay where it is but have a border around the whole page BG itself including the footer?
theheggy
5th January 2005, 08:14 AM
The second one :)
I tried adding a CSS border to the right, bottom and left of the footer in the Main CSS, but it didn't work correctly and had the border around each individual cell inside of it as well. It's just... Confusing me right now.
Robert
5th January 2005, 08:45 AM
It's just... Confusing me right now.That's cool, I get that a lot. And then I kick myself when I see what I need to do and can't believe I didn't see it first time.
On my forum I have a border (thanks again Floris) that is generated by the Extra CSS Attributes in the Page Background (.page) which looks like this
border-right-width: 1px;
border-left-width: 1px;
border-right-style: solid;
border-left-style: solid;
border-right-color: #919B9C;
border-left-color: #919B9C;
if you add code for the top and bottom it should place a border around your whole page.
the final CSS should look like this:
border-right-width: 1px;
border-left-width: 1px;
border-right-style: solid;
border-left-style: solid;
border-right-color: #919B9C;
border-left-color: #919B9C;
border-top-width: 1px;
border-bottom-width: 1px;
border-top-style: solid;
border-bottom-style: solid;
border-top-color: #919B9C;
border-bottom-color: #919B9C;
Obviously change the attributes to what suites your colours.
theheggy
5th January 2005, 09:13 AM
I forgot to mention that I've tried that way too, and it makes some funny glitches on the top where I added a custom table with no cellpadding above the navbar, and down at the footer you can tell the footer is moved over just a bit or something weird :\ I've attatched a couple screenshots so you can see what I mean. Also, I don't want to put the border on the TOP of the footer.
LOL, see? Confusing :D
Robert
5th January 2005, 10:55 AM
Right, I see the problem and this will take a little more work to fix. I have a pressing appointment for about an hour but I will endeavour to get back to you today with a fix.
In short (to give you something to have a play with) your header and footer are sitting outside your page content (hence the border being above your footer and below your header). What I would do, though there may be an easier way to do this) is to move your footer and header content within your page tag.
My styles are mostly variations of the ProStyle which is set up in this way. So when I drop the code I used into the attributes box I get the desired result.
I will try and workout the steps you need to get this working, failing that you could send me your CSS and I could try and fix it for you. But that would have to be a Friday job as I have a lot on at the moment.
Sorry I can’t be of more help.
theheggy
5th January 2005, 11:11 AM
Wow, thanks man :D You've been extremely helpful, so don't apologize at all! I'll play around with getting the footer and the navbar inside the page tag. Not exactly sure where that would be other than somewhere on the FORUMHOME template, so I'll give it a shot.
Again, thanks for all of this. You rock :D Karma points for Architect!
HiDeo
6th January 2005, 01:32 AM
I can't go on your forum :(
theheggy
6th January 2005, 02:46 AM
Is it down? :( It's working fine for me, an as a guest too...