![]() |
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?
|
It should work. What is the whole coding and how/where are you trying to add it?
|
I tried this exactly code in the header template and it won't works :S
HTML Code:
<table border="1" cellpadding="10"> HTML Code:
<style> |
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. |
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
|
Oops! Should have looked a bit closer.... Oh well :)
|
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. |
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.
|
All times are GMT. The time now is 06:31 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|