News:

Want to get involved in developing SMF? Why not lend a hand on our GitHub!

Main Menu

Adding my Own header

Started by Cooper, April 05, 2004, 08:18:03 PM

Previous topic - Next topic

Cooper

Hi guys, im having serious troubles adding a simple header to my template.  what im trying to do is add a serperate table at the top of the page?  can someone tell me where to add this code.  thx


Cooper

ive added it but some weird things are happening.  i copied the header table from my old template and added it below this line on 135:

<body style="background-color: white;">';

see the site here hxxp:www.osrclub.com/forum/ [nonactive]

as you can see right under the weather all my info is aligned wrong and out of whck.  i have tried everything to center it.  been at this for about 6 hours with no luck.  thx guys

Cooper

charlottezweb

Maybe i'm missing your problem, but the table that is located in has a fixed width of 650.  Remove that width tag or set it to a percentage (like 90, 100, etc) and I think that may solve what you're seeing if you're referring to the left alignment in higher resolutions.

Regards,
Jason

Cooper

thx for the reply but thats not it.  its set to 650 so i can hopefully (when i find the answer im looking for) get it centered under the weather buttons.  problem is when i center it under the weather all my content through the rest of the page gets centered as well.

charlottezweb

Gotcha, just add another table into the mix so you can center align what you want in that one and then leave the main table area left aligned as it is.


Advertisement: