Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 03-09-2016, 04:52 PM
SilverDragonTears's Avatar
SilverDragonTears SilverDragonTears is offline
I am your Nemesis.
 
Join Date: Jun 2011
Posts: 1,113
Gender: Female
Credits: 82,401
SilverDragonTears is on a distinguished road
Default Table styling

This stuff is so alien to me How can I style or remove the tables? Especially the adopts table.
__________________

Check out SilvaTales
Reply With Quote
  #2  
Old 03-09-2016, 05:31 PM
Kyttias's Avatar
Kyttias Kyttias is offline
Premium Member
 
Join Date: Jan 2014
Posts: 857
Gender: Unknown/Other
Credits: 88,435
Kyttias is on a distinguished road
Default

Try and make an image of how you want things and it'd be easier to help from there.

I believe several of us are using a modified version of code we found over here. In that thread we changed it so rather than displaying pet information in a row we display each pet it's own cell, side by side. From there it's much easier to style the table without needing to remove it.

Inevitably, styling is always done with css. I believe the css id of the table should be #adopttable and from there you should be able to remove table borders, control spacing, etc.
__________________
Please do not contact me directly outside of Mysidia.
I also cannot troubleshoot code more than two years old - I legit don't remember it.
Reply With Quote
  #3  
Old 03-09-2016, 07:37 PM
Abronsyth's Avatar
Abronsyth Abronsyth is offline
A Headache Embodied
 
Join Date: Aug 2011
Location: NY
Posts: 1,011
Gender: Male
Credits: 113,497
Abronsyth is on a distinguished road
Default

Each table can be individually styled using the table's ID in the CSS file. Say you want to style the adopts table (as displayed on adopts.php) individually from any other table. In adoptview.php find this line (around 37 in my file):
PHP Code:
$adoptTable = new Table("table"""FALSE); 
Change "table" to a unique id, such as; "freebietable". Once that is done, go to your css file and you can do something like this;
Code:
#freebietable {
css stuff here
}

#freebietable, tr {
css stuff here
}

#freebietable, td {
css stuff here
}
That way you can individually style that particular table. If you have questions about things to do with CSS, or specific tables you want to edit, just ask :)
__________________
My Mods Site (1.3.4, 2020 Mods)
Reply With Quote
Reply


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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 11:59 AM.

Currently Active Users: 9789 (0 members and 9789 guests)
Threads: 4,080, Posts: 32,024, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636