1
m0nty
Problem with stylesheet or theme.html?
  • 2003/11/19 21:09

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


i've been kinda modifying an existing theme and stylesheet somewhat..

altho i'm no expert with html or the like..

the problem i am having is when someone clicks the message board link and goes to the forum, the header & banner section goes all weird..

also i have turned the blocks off on the message board page, so that the forum is displayed full width of the screen (well that's what i thought it wud do) but no it leaves the left column blank instead..

if any1 could take a look and tell me what i've done wrong, it would be much appreciated

the address is http://www.clubithard.com/main

forum is http://www.clubithard.com/main/modules/ipboard/

username = test
pw = tester

2
Per4orm
Re: Problem with stylesheet or theme.html?
  • 2003/11/19 21:44

  • Per4orm

  • Documentation Writer

  • Posts: 145

  • Since: 2003/11/14


The problem definately stems from the theme.html file, as I can also see some layout problems in the main page, which are translated and highlighted in the forums. I hazard to guess that if you include a centre block in the front page, you will experience very similar problems.

Saying exactly what you've done wrong is a little difficult without viewing the theme.html source on it's own though, but it does look like the columns are handled badly which is causing the extra width. For example, on the forums it looks as though there is a left column defined somewhere with no content, creating the black space on the left hand side.

My first suggestion would be to have a look at all the commands, and double check what they all do...

3
m0nty
Re: Problem with stylesheet or theme.html?
  • 2003/11/19 22:13

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


well here's the source from theme.html

Well I can see the problem on screen, but I dunno how to actually solve it.. the main problem i am having is the header is overlayed and designed for 800x600 resolution, so i had to add an extra piece to the right hand side..

also same prob with the banner section to an extent altho that is easier to fix..

what i actually want is it all to fit on the screen perfectly.. 800x600 resolution and to automatically expand if viewed on larger resolutions, i'm sure it's to do with the width="100%" command, but i'm not sure on the colspan etc.. i don't want it so that users have to scroll horizontally to view the right hand side..

-----------------------------------------------------

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

lang="<{$xoops_langcode}>">










<{$xoops_sitename}> - <{$xoops_pagetitle}>




<{$xoops_module_header}>


















width="100%" height="8">

width="17" height="78">
27CDB6E-AE6D-11cf-96B8-444553540000"

codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"

width="132" height="78">



pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"

width="132" height="78">

height="78">

align="center" height="78">

Today is:






















width="100%" height="18">

height="18">

onMouseOut="MM_swapImgRestore()"

onMouseOver="MM_swapImage('E-Mail','','<{$xoops_imageurl}>butt_link_1.gif',1)">
src="<{$xoops_imageurl}>table_head_bg_merge_r1_c2.jpg" width="93" height="18" alt="E-Mail" border="0"

name="E-Mail">

height="18">

onMouseOver="MM_swapImage('Home','','<{$xoops_imageurl}>butt_link_1.gif',1)">
src="<{$xoops_imageurl}>table_head_bg_merge_r1_c2.jpg" alt="Homel" name="Home" width="93" height="18"

border="0">

width="14" height="18">

onMouseOut="MM_swapImgRestore()"

onMouseOver="MM_swapImage('News','','<{$xoops_imageurl}>butt_link_1.gif',1)">
src="<{$xoops_imageurl}>table_head_bg_merge_r1_c2.jpg" alt="News" name="News" width="93" height="18"

border="0" id="Image71">

height="18">

onMouseOut="MM_swapImgRestore()"

onMouseOver="MM_swapImage('Forum','','<{$xoops_imageurl}>butt_link_1.gif',1)">
src="<{$xoops_imageurl}>table_head_bg_merge_r1_c2.jpg" alt="Forum" name="Forum" width="93"

height="18" border="0" id="Image72">

height="18">

onMouseOut="MM_swapImgRestore()"

onMouseOver="MM_swapImage('Gallery','','<{$xoops_imageurl}>butt_link_1.gif',1)">
src="<{$xoops_imageurl}>table_head_bg_merge_r1_c2.jpg" alt="Gallery" name="Gallery" width="93"

height="18" border="0" id="Image73">

height="18">

onMouseOut="MM_swapImgRestore()"

onMouseOver="MM_swapImage('Links','','<{$xoops_imageurl}>butt_link_1.gif',1)">
src="<{$xoops_imageurl}>table_head_bg_merge_r1_c2.jpg" alt="Links" name="Links" width="93" height="18"

border="0" id="Image74">

height="18">

height="18">

height="18">















src="<{$xoops_imageurl}>bannertotal_left.jpg" width="240">

align="center"><{$xoops_banner}>

src="<{$xoops_imageurl}>bannertotal_right.jpg" width="240">












<{if $xoops_showrblock == 1}>



<{/if}>




<{foreach item=block from=$xoops_lblocks}>
<{include file="iaolsICE/theme_blockleft.html"}>
<{/foreach}>





<{if $xoops_showcblock == 1}>











<{foreach item=block from=$xoops_ccblocks}>
<{include file="iaolsICE/theme_blockcenter_c.html"}>
<{/foreach}>





<{foreach item=block from=$xoops_clblocks}>
<{include file="iaolsICE/theme_blockcenter_l.html"}>
<{/foreach}>





<{foreach item=block from=$xoops_crblocks}>
<{include file="iaolsICE/theme_blockcenter_r.html"}>
<{/foreach}>




<{/if}>



<{$xoops_contents}>



<{foreach item=block from=$xoops_rblocks}>
<{include file="iaolsICE/theme_blockright.html"}>
<{/foreach}>








©Copyright 2003 Clubithard.com





Login

Who's Online

501 user(s) are online (127 user(s) are browsing Support Forums)


Members: 0


Guests: 501


more...

Donat-O-Meter

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

Latest GitHub Commits