Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
7 - 6 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
   

Re: Fixed width layout ?
by HBlinky on 2004/4/23 15:19:46

Yes, it worked perfectly. Thanks a lot everyone for your help so far.
Re: Fixed width layout ?
by djsckizo on 2004/4/23 11:31:56

I was wondering how to center my theme a while back, at 800px wide. This thread should help, in particular the last post by StudioC.

https://xoops.org/modules/newbb/viewtopic.php?topic_id=14564&forum=5#forumpost59583

That's the one that works for me.
Re: Fixed width layout ?
by Mithrandir on 2004/4/23 9:54:03

You can also try setting the maxwidth of the body in css
le="color: #000000"><?php body {max-width: 800px}
Re: Fixed width layout ?
by HBlinky on 2004/4/23 5:31:06

this is pretty much what I tried previously, though I hardcoded the table width into the HTML, rather than using CSS.

Unfortunately, this doesn't work either. I've set the widths of the columns in the css, and that seems to work ok. the columns though, have split apart, and there's a gap between them.

I seriously don't know where I'm going with it any more, should I just start over with the theme ?
Re: Fixed width layout ?
by m0nty on 2004/4/22 14:08:50

the easiest way i know is to add this line straight under your <body> tag

<table class="sitename" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>

then add this just above the </body> tag

</tr>
</table>

once done edit your style.css file and add this class

.sitename
{
width: 990px;
}


of course you can change sitename to whatever you want as long as they both match in theme.html & style.css

you can set the width to anything but remember to account for scrollbars.

there maybe a better way of doing it, but this is how i managed it..

Who's Online

184 user(s) are online (133 user(s) are browsing Support Forums)


Members: 0


Guests: 184


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits