![]() |
|
|
Thread Tools |
|
#1
|
||||
|
||||
|
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?
__________________
http://twitter.com/scanu_account No members have liked this post.
|
|
#2
|
||||
|
||||
|
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. No members have liked this post.
|
|
#3
|
||||||||
|
||||||||
|
I tried this exactly code in the header template and it won't works :S
and it is very strange because if i put it in the style it works
I'm on Mac os X: Chrome
__________________
http://twitter.com/scanu_account No members have liked this post.
|
||||||||
|
#4
|
|||
|
|||
|
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. No members have liked this post.
Last edited by tbworld : 30 Jun 2012 at 17:38. |
|
#5
|
||||
|
||||
|
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
__________________
http://twitter.com/scanu_account No members have liked this post.
|
|
#6
|
|||
|
|||
|
Oops! Should have looked a bit closer.... Oh well
![]() No members have liked this post.
|
|
#7
|
||||
|
||||
|
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.
__________________
vFcoders - Customize your vBulletin Forum No members have liked this post.
|
|
#8
|
||||
|
||||
|
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.) No members have liked this post.
|
![]() |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
| Thread Tools | |
|
|
| New To Site? | Need Help? |
All times are GMT. The time now is 10:37.



