html cellspacing and cellpadding inside a table problem
5 posters
Page 2 of 2
Page 2 of 2 • 1, 2
html cellspacing and cellpadding inside a table problem
First topic message reminder :
Good evening:
I am having problems with the space at the top of each table. It is not the same as the sides and bottom.
Here is the image.
Good evening:
I am having problems with the space at the top of each table. It is not the same as the sides and bottom.
Here is the image.
- Code:
<center><table style="border:3px ridge #b88f4e;" cellspacing="0" cellpadding="0" width="100%" background="https://i.postimg.cc/150K6fhQ/untitled.png"><tbody><td></td></tr><td width="100%"><br>
Re: html cellspacing and cellpadding inside a table problem
Where exactly on your forum are you adding this?
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: html cellspacing and cellpadding inside a table problem
to give some space to that square add a <br> after line 17 on the code
for the width, it is depending on your forum/post width settings
in my test forum ... version same as yours .... seems ok (default templates)
do not only preview the result ...post it to see it
check the post details seems that they are displayed wrong ( see if you make any changes on the template) this may alter the post result
for the width, it is depending on your forum/post width settings
in my test forum ... version same as yours .... seems ok (default templates)
do not only preview the result ...post it to see it
check the post details seems that they are displayed wrong ( see if you make any changes on the template) this may alter the post result
TonnyKamper likes this post
Re: html cellspacing and cellpadding inside a table problem
I am using the same version and templates yes but I havent touched anything on it.
Can I see the code that you are using now please?
Re: html cellspacing and cellpadding inside a table problem
ok first of all lets correct some things
this is the new code that don't mess up with the post details and don't mess up with the like dislike new system buttons and it is equal justified
result
the width is auto resized meaning that if you write a whole sentence not just words ( like the code has right now ) the width will be automatic wider
example
if you DONT want the width to be auto resized then go to your admin panel...display..colors..css and add this code
result
this is the new code that don't mess up with the post details and don't mess up with the like dislike new system buttons and it is equal justified
- Code:
<center><table style="border: 3px ridge #b88f4e" cellspacing="5" cellpadding="12" width="100%" background="https://i.postimg.cc/XYRhNkq4/untitled1.jpg"><tbody><tr><td width="100%"><center><table style="border:3px ridge#b88f4e"cellspacing="35"cellpadding="5"width="100%" background="https://i.postimg.cc/gJwwtxBr/untitled-2.jpg"><tbody><tr><td width="100%"><center><table style="border: 3px ridge #b88f4e" cellspacing="25" cellpadding="0" width="100%" background="https://i.postimg.cc/fLdFvKZL/untitled3.jpg"><tbody><tr><td width="100%"><center><table border="0" cellspacing="0" cellpadding="10" width="100% "background="https://i.postimg.cc/gJwwtxBr/untitled-2.jpg"><tbody><tr><td width="100%"><center><table border="0" cellspacing="" cellpadding="" width="100%" background="https://i.postimg.cc/fLdFvKZL/untitled3.jpg"><tbody><tr><td width="100%">
Bla Bla bla bla TEST TEST test test test test Bla Bla bla bla TEST TEST test test test
test Bla Bla bla bla TEST TEST test test test test Bla Bla bla bla TEST TEST test test test
test Bla Bla bla bla TEST TEST test test test test
<center><table border="0" cellspacing="0" cellpadding="6" width="70%" background="https://i.postimg.cc/gJwwtxBr/untitled-2.jpg">
<tbody><tr><td width="100%"><center><table border="0" cellspacing="0" cellpadding="2" width="100%" background="https://i.postimg.cc/fLdFvKZL/untitled3.jpg"><tbody><tr><td width="100%"><center><table border="0" cellspacing="0" cellpadding="0" width="100%" background="ttps://i.postimg.cc/fLdFvKZL/untitled3.jpg"><tbody><tr><td width="100%">
</td></tr></table></td></tr></table></td></tr></table><br>
</td></tr></table>
</td></tr></table>
</td></tr></table>
</td></tr></table>
</td></tr></table>
result
the width is auto resized meaning that if you write a whole sentence not just words ( like the code has right now ) the width will be automatic wider
example
if you DONT want the width to be auto resized then go to your admin panel...display..colors..css and add this code
- Code:
table {
width: 100%;
background-attachment: fixed;
}
result
SLGray and TonnyKamper like this post
Re: html cellspacing and cellpadding inside a table problem
sorry i dont understand you
you mean the borders?
you mean the borders?
Re: html cellspacing and cellpadding inside a table problem
I just realized you are in Greece.
Awesome.
Okay that is a table for the background so no I dont want a border. What I want is to get rid of the top and bottom portion. I have been fiddling around with it but I can't seem to be able to get rid of it. I tried with Padding, cellspacing and even margins.
Re: html cellspacing and cellpadding inside a table problem
Hello @aprilshowers0923 try to add this to your Admin Control Panel -> Display -> CSS
- Code:
.tags:nth-child(2) {
padding: 35px!important;
}
TonnyKamper likes this post
Re: html cellspacing and cellpadding inside a table problem
I am working on another webset to use when posting but I am still having trouble on the top spacing
Re: html cellspacing and cellpadding inside a table problem
I suggest you to upgrade your forum version from PHPBB2 to latest ones, ModernBB or AwesomeBB
That CSS i give you will add margin: 35px to every element that is the second child of its parent.
For example :
That CSS i give you will add margin: 35px to every element that is the second child of its parent.
For example :
- Code:
<div class="tags">1</div>
<div class="tags">2</div> (add margin: 35px)
<div class="tags">3</div>
<div class="tags">4</div>
Re: html cellspacing and cellpadding inside a table problem
You can change the version of your forum anytime you want. This option can be found in the ACP:
ACP ...Display ...Choose a theme ... Version
You can choose up to 5 versions: phpBB3, phpBB2, Invision, PunBB and ModernBB
i suggest you save your css file first and keep in mind that the javascript may not work ( each version has different elements )
ACP ...Display ...Choose a theme ... Version
You can choose up to 5 versions: phpBB3, phpBB2, Invision, PunBB and ModernBB
i suggest you save your css file first and keep in mind that the javascript may not work ( each version has different elements )
Re: html cellspacing and cellpadding inside a table problem
Okay thank you so much for your help.
You can now close this topic.
Page 2 of 2 • 1, 2
Similar topics
» Putting the recent topics into a new HTML Table?
» Large Space in Post before html Table
» HTML problem?
» BBCode problem - table
» Notice using css and table problem !!
» Large Space in Post before html Table
» HTML problem?
» BBCode problem - table
» Notice using css and table problem !!
Page 2 of 2
Permissions in this forum:
You cannot reply to topics in this forum