Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 30 Jun 2012, 16:01
Scanu's Avatar
Scanu Scanu is offline
 
Join Date: Nov 2010
Location: Italy
Real name: Andrea Scanu
Cellpadding doesn't work

Hi is cellpadding working on vbulletin? In the table if i put cellpadding="100" it doesn't work. It is very strange can someone help me?
Reply With Quote
  #2  
Old 30 Jun 2012, 16:58
borbole's Avatar
borbole borbole is offline
 
Join Date: Jan 2010
It should work. What is the whole coding and how/where are you trying to add it?
__________________
Unlimited PHP&HTML&BB Code Custom Pages
Please do not pm/email me for free support. I provide Paid Support Only in private. Thank you
My mods.
Reply With Quote
  #3  
Old 30 Jun 2012, 17:11
Scanu's Avatar
Scanu Scanu is offline
 
Join Date: Nov 2010
Location: Italy
Real name: Andrea Scanu
I tried this exactly code in the header template and it won't works :S

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and it is very strange because if i put it in the style it works

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I'm on Mac os X: Chrome
Reply With Quote
  #4  
Old 30 Jun 2012, 17:30
tbworld tbworld is offline
 
Join Date: Oct 2008
Cellspacing can get a bit tricky, especially with my favorite browser IE. This is the formula I use for your problem. The correct replacement for cellspacing is border-spacing. Hope this points yo in the right direction.

table {
border-collapse: separate;
border-spacing: 10px;
*border-collapse: expressopm('separate', cellspacing ='10px');
}

*border-collapse: expression('separate', cellspacing ='10px'); <-- for ie6 and ie7
On vb you really do not need to support anymore...


Using the <td> and setting the padding will work in many cases.

Last edited by tbworld : 30 Jun 2012 at 17:38.
Reply With Quote
  #5  
Old 30 Jun 2012, 17:50
Scanu's Avatar
Scanu Scanu is offline
 
Join Date: Nov 2010
Location: Italy
Real name: Andrea Scanu
I was talking about cellpadding not cellspacing i think that they are differently thanks anyway if there is no other way i will use the css code mentioned before
Reply With Quote
  #6  
Old 01 Jul 2012, 06:27
tbworld tbworld is offline
 
Join Date: Oct 2008
Oops! Should have looked a bit closer.... Oh well
Reply With Quote
  #7  
Old 02 Jul 2012, 17:03
Badshah93's Avatar
Badshah93 Badshah93 is offline
 
Join Date: Jun 2010
in vB4, padding is set to 0px for td, th etc tags..
i would suggest you to use class and thats the correct way. If possible upgrade tables to divs.
Reply With Quote
  #8  
Old 03 Jul 2012, 01:43
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
You need to use CSS for styling your table. Give it it's own id and then you can't style just it in the additional.css template.
__________________
Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 10:37.

Layout Options | Width: Wide Color: