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: 1956
Loc: Sweden, Uppsala

   Borderless templates to Del.icio.us Add to del.icio.us
  Digg Borderless templates Digg it
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 (47 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: 1956
Loc: Sweden, Uppsala
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: 1956
Loc: Sweden, Uppsala
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: 1956
Loc: Sweden, Uppsala
Thanks, I'll have a look at that page.
_________________________
/Gardener | Complete list of my mods

Top


Top Posters Last 30 Days
AllenAyres 18
Gizmo 12
sirdude 6
GEN 3
tackaberry 2
Philipp 2
willing 2
Who's Online
0 Registered (), 35 Guests and 11 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Team UBBDev Rides Again!
by Gizmo
08/28/08 11:45 PM
Multiple Identity Detector
by MattUK
08/28/08 04:10 PM
[7.3.x] ubb.links
by AllenAyres
08/26/08 09:57 AM
Installing FlashChat with 7.3
by Gizmo
08/23/08 05:36 AM
[7.2.1] - Naked shoutbox
by Iann128
08/22/08 07:27 PM
Nice Ajax Chat
by M4D
08/21/08 10:02 PM
51-card NVIDIA folding rig cranks out 265,200 ppd
by AllenAyres
08/13/08 10:10 PM
New Mods
Installing FlashChat with 7.3
by Paug
08/23/08 12:14 AM
[7.x] AddThis - Social Networking
by Gizmo
08/01/08 01:30 AM
[7.3.x] ubb.links
by AllenAyres
06/20/08 11:50 PM
[7.3] Dissallow quotes more then 3 levels deep
by blaaskaak
06/09/08 09:01 AM
[7.2.1] - Naked shoutbox
by sirdude
08/17/07 10:36 PM
Newest Members
welcomeback1, Paug, Tim Keating, anscers, Murphdog
13324 Registered Users

 

 

 
fusionbb message board php hacks