1
Splish
Page width
  • 2004/3/3 12:34

  • Splish

  • Just popping in

  • Posts: 6

  • Since: 2004/3/3 1


Not sure if this is the right category, sorry bout that.

Here's my website: www.weaponofchoice.de

As you can see, XOOPS doesn't use all the space it could use, instead it leaves a rather large border on either side.
(I'm looking at it with 1024x768 res)

I want it to spread over the entire browser window, in other words 'optimized for 1024x768'.
How do i fix that? (I do realize people with lower resolutions will have to scroll.)

TIA

2
Vargr
Re: Page width
  • 2004/3/3 13:48

  • Vargr

  • Not too shy to talk

  • Posts: 130

  • Since: 2003/6/19


Odd.

Normally XOOPS is using dynamic width, meaning it will go as wide as it can get.

Maybe you cahnged something in the CSS? From say width="100%" to width="600px".

Had a look at your CSS and nothing there seemed wrong - but I might have missed it.

What happens if you place a centre-left and a cntre-right column side by side as the only centre-elements?

Did you change anything in your templates?

In your HTML set to the page you have this:


<td width="266" id="headerbanner1"><img src="http://www.weaponofchoice.de/themes/Zaja_Blue/hh_ekipa.gif" /></td>
<td id="headerbanner"> <div align="center">&nbsp;</div></td>


Your width is not defined. What is it? pixels? Per centages? Don't know if it will make a difference, as I can't locate the exact syntax at the moment.

The W3 validator doesn't like your page. Don't know how grave the errors are though.

3
Splish
Re: Page width
  • 2004/3/3 13:56

  • Splish

  • Just popping in

  • Posts: 6

  • Since: 2004/3/3 1


Wow. Thanks!

In my defense, I have to say, I didn't mess with it at all, I simply used the Zaja theme (call me lazy).

But I will look into everything you said.

4
MadFish
Re: Page width
  • 2004/3/3 15:15

  • MadFish

  • Friend of XOOPS

  • Posts: 1056

  • Since: 2003/9/27


A lot of the Zaja / 7 Days themes are fixed width.

5
Vargr
Re: Page width
  • 2004/3/4 14:58

  • Vargr

  • Not too shy to talk

  • Posts: 130

  • Since: 2003/6/19


MadFish wrote:

Quote:

A lot of the Zaja / 7 Days themes are fixed width.


Well, that sure would explain why the page won't go any wider.

But where does he hide that information? That it is fixed width? Looked for it, but probably the wrong places.

6
pdaddict
Re: Page width
  • 2004/3/4 15:39

  • pdaddict

  • Friend of XOOPS

  • Posts: 106

  • Since: 2003/4/6 1


Theme.html
<body>
<!-- 
Start Header -->
  
<
table class="[color=FF0000]zaja[/color]" border="0" align="center" cellpadding="2" cellspacing="0">



The css contains this code:
[color=FF0000].zaja[/color]
{
    
width760px;
    
background-color#F2F7FD;
}

7
Vargr
Re: Page width
  • 2004/3/4 15:56

  • Vargr

  • Not too shy to talk

  • Posts: 130

  • Since: 2003/6/19


pdaddict:

Thank you for pointing it out for me.

Must be getting blind in my old days

8
Vargr
Re: Page width
  • 2004/3/4 16:04

  • Vargr

  • Not too shy to talk

  • Posts: 130

  • Since: 2003/6/19


Splish:

Look at the post by pdaddict.

Change the


.zaja
{
width:
760px;
background-color: #F2F7FD;
}


to the following:


.zaja
{
width:
100%;
background-color: #F2F7FD;
}


With a bit of luck yoru page might now be dynamic (as far as its width is concerned).

Well, a quick look at your site and a change of the CSS as described above seemd to do the trick. Didn't test if the site as such started to look strange after the change, though.

Login

Who's Online

250 user(s) are online (169 user(s) are browsing Support Forums)


Members: 0


Guests: 250


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits