HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

some modifications in style.php

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#1337 (In Topic #325)
Avatar

Fan in training

some modifications in style.php

Hi, i´ve made some mods in style.php …
In this "version" you can choose diferent colors for titles (ex: red  for left and right menu titles and blue for center area, you can have diferent title colors for 1 level and 2 level tables), i removed the borders around "parent" tables (tables that have child tables "level 1" :) :D"


You must change start.php as well to make this work
in all calls to get_table_start function you must add param. true
Ex: get_table_start("width='100%' style='height: 100%'",0,"Image of the day",true);

Except when this function is called from do_news() function; in this case you must change this lines  :


Code

    $news_text.=get_table_start("width='100%'",0,date("Y-m-d",$row_news['date'])." - <normal>".smile($row_news['title'])."</normal> $admin",$i+1);  


Code

 $news_text.=get_table_start("width='100%'",0,$i);

Notice that in these 2 lines the mod is just adding the param.  ($i and $+1)
Back to the top
 
Posted
Rating:
#1642
Avatar

Fan in training

I tried your new style sheet without changing start.php and everything seems to work fine. What are those changes for; are you sure we need them?
Back to the top
 
Posted
Rating:
#1647
Avatar

Fan in training

Those changes r not needed, except if u want to remove, in the central area, level 1 table (background table) .  :)
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: