php forum
php mysql forum
php mysql smarty
 
Topic Options
#219598 - 06/22/02 08:06 PM Borderless templates
Gardener Offline
Addict

Registered: 05/11/99
Posts: 1966
Loc: Sweden, Stockholm
I've just a template collection where all tablesurround-borders are removed. Since all these tables are in the templates and are set to a value of one on both cellspacing and cellpadding I haven't been able to remove them without changing all templates. If anyone has any other suggestion I'd be glad to hear of them.<br /><br />Anyways, I've done a search and replace in all templates to remove the tablesurround class attribute as well as setting cellpadding and cellspacing to 0 in those tables. I also had to change the open_table function in ubbt.inc.php as well as a place in newuser.php.<br /><br />If anyone is interested in having these templates just let me know and I'll upload them. See attached image for an example from the postlist page.


Attachments
50904-borderless_templates.png (278 downloads)

_________________________
/Gardener | Complete list of my mods

Top
#219599 - 06/23/02 07:44 AM Re: Borderless templates [Re: c0bra]
MTO Offline
Addict

Registered: 01/31/00
Posts: 1524
Loc: Burgos, Spain.
Im almost 95% certain that borderwidth and all that can be controlled through cascading style sheets. So if the current templates are specifying all that, hardcoded into every table, it would probably be best to remove it and let us control it through CSS. Changing the CSS would control tables in all templates without the need for changing every single template.
_________________________
Mateo Byler
CruceDeCaminos.com

Top
#219600 - 06/23/02 07:58 AM Re: Borderless templates [Re: D_Wolfwood]
Gardener Offline
Addict

Registered: 05/11/99
Posts: 1966
Loc: Sweden, Stockholm
Yeah there are options for changing border-widths and other things but if they are set in the html it doesn't work with any of the values I tried, and I tried everything that looked to be remotely like it could change those values.<br /><br />Didn't think of letting the class be and not setting the cellspacing and cellpadding though, then it would probably work with the css.<br /><br />It works now at least, I'll leave it at that for now. =]
_________________________
/Gardener | Complete list of my mods

Top
#219601 - 06/23/02 10:01 AM Re: Borderless templates [Re: c0bra]
MTO Offline
Addict

Registered: 01/31/00
Posts: 1524
Loc: Burgos, Spain.
Yeah, if its specified in the html code then takes prefference over the css.<br />The thing I suggest is to have the templates without it being specified in the html code. That way anyone can easily make it the way he likes it, only changing one file (the *.css)
_________________________
Mateo Byler
CruceDeCaminos.com

Top
#219602 - 06/23/02 10:06 AM Re: Borderless templates [Re: D_Wolfwood]
Gardener Offline
Addict

Registered: 05/11/99
Posts: 1966
Loc: Sweden, Stockholm
Yeah, I'd like that as well and I could change my templates into that if someone wants, now that I've fixed some things it'll only be one simple search and replace.<br /><br />But won't old browsers not show the borders correctly if this is done? I don't think Netscape 4.x supports those css values. But I'm not sure.
_________________________
/Gardener | Complete list of my mods

Top
#219603 - 07/19/02 12:53 AM Re: Borderless templates [Re: c0bra]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
One of the best resources I've found for CSS:<br /><br /> The complete CSS guide <br /><br />Doing things with CSS makes making changes later a lot easier, but you'll pull your hair out trying to design a page using CSS if you don't know what is and isn't supported...
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#219604 - 07/19/02 02:10 AM Re: Borderless templates [Re: jacksonm99]
Gardener Offline
Addict

Registered: 05/11/99
Posts: 1966
Loc: Sweden, Stockholm
Thanks, I'll have a look at that page.
_________________________
/Gardener | Complete list of my mods

Top



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks