| Welcome to NeoPound.com Forums. We hope you enjoy your visit.
You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.
Join our community!
If you're already a member please log in to your account to access all of our features:
|
Badly In Need Of Coding Help!, Neo coding hates me!
| Lexi the Cat |
|

Foster Parent

Group: Members
Posts: 285
Member No.: 5,736
Joined: 31-August 07

|
So... I am fighting with this page. http://www.neopets.com/~aquiloniaBasically I'm trying to get a table to show up inside of a div, and it isn't cooperating at all. There is a table there, but it doesn't show up. I've been fighting with this for days, trying a bunch of different coding and even premades to try to work it out and I just can't. :/ So any input on what is wrong is hugely appreciated! If you can't put a table inside a div, what else can I use? I really need a table equivalent. | CODE | <style> table { display: none; } .sf { font-size: 1%; line-height: 1px; color: #C6E5D9; } .sf a:link { font-size: 1%; line-height: 1px; color: #C6E5D9; } body { background-color: #E2DEE3; font-size: 10pt; font-family: arial,verdana,tahoma,sans-serif; color: #dbbfe3; line-height: 12pt; } a:link, a:visited { color: #FFFFFF; text-decoration: none; } a:hover { color: #e8dee9; cursor: n-resize; } b { color: #efd629; font-size: 10.5pt; } i { color: #542437; font-size: 9pt; letter-spacing: 1px; } h1 { font-family: arial,verdana,tahoma,sans-serif; font-size: 50pt; text-align: center; color: #BD1550; letter-spacing: 1px; margin-bottom: 0px; } h2 { font-family: arial,verdana,tahoma,sans-serif; font-size: 20pt; color: #CDB380; font-style: italic; text-align: center; letter-spacing: 2px; } h3 { font-family: verdana,tahoma,arial,sans-serif; text-align: center; font-size: 20pt; color: #BD1550; text-transform: uppercase; letter-spacing: 4px; margin-bottom: 5px; } </style> <br><br><br>
<center> <div style="padding: 15px; width: 610px; background: #8A778F; text-align: left;">
<img src="http://www.earth-works.com/pics/bchistory.jpg"> <p>Welcome to my Beauty Contest History page. ^^</p> <p> Here I list all of the trophies that I've won in my favorite aspect of Neopets -- the Neopian Beauty Contest! Keep in mind that some of these pets have been lost in my pre-2007 account freezings and, while some pets were recreated, others were not. Likewise, a few have been adopted out to new homes. Only the pets on my lexi0bah, sleepymew, and artpaw accounts are still mine, and all pets were on my main at the time of them being entered in the Beauty Contest to comply with the old BC rules, back when the contest still gave out NP prizes.</p>
<p>It's amazing to me how much my art has improved over the months and years I've been actively participating in the Beauty Contest. Entering a new picture almost every week has done wonders for my art, and though I'm still not at the level that I'd like to be, it's really encouraging to look back at my old art and think "wow, that's really bad" when I used to think just the opposite!</p>
<p>Keep in mind that my (numerous!) past placings lower than 3rd have not been recorded for the sake of simplicity</p>
<p>To view the full size of any of my BC entries, either right click one and select "view image" or click and drag the picture into the address bar of your browser.</p>
<p><center><img src="http://www.earth-works.com/pics/gold.jpg"><br><b>* 34 Trophies * </b></center></p>
<p><center>
<table border="0" cellspacing="10"> <tr> <td width="280"> <img src="http://content.neopets.com/beauty/images/winners/Azaqiel-2007-04-27.jpg" width="100" height="100" border="1"> </td> <td width="150" class="gghead"> <b>Azaqiel</b><br> 27 Apr 2007 - Peophin</td> </tr>
</table>
</p></center>
<p><center> ---<br> layout coding by <a href="/~tofade">neopound</a> </center></p>
</div> </center> |
--------------------
main account: lexi0bah
|
|
|
| Dodoro |
|

I Am Your Neighbor

Group: Board Moderators
Posts: 3,407
Member No.: 4,844
Joined: 23-May 07

|
The reason why your table won't show up is because of this at the beginning of your code:
| CODE | table { display: none; } |
If you want to get rid of the top bar but keep the tables inside of your div, simply add this somewhere into the CSS:
| CODE | div table{ display: inline !important; } |
--------------------
|
|
|
| Dodoro |
|

I Am Your Neighbor

Group: Board Moderators
Posts: 3,407
Member No.: 4,844
Joined: 23-May 07

|
| QUOTE (Lexi the Cat @ Dec 10 2011, 08:22 PM) | Oh yay, thanks so much! Something so tiny causing such a giant headache. xD
I think it's fixed now. <3 |
No problem! If you have any other issues, feel free to ask. :)
--------------------
|
|
|
| Lexi the Cat |
|

Foster Parent

Group: Members
Posts: 285
Member No.: 5,736
Joined: 31-August 07

|
I found something else to ask! lol http://www.neopets.com/~mawsiI just realized that my BC guide has been affected by this "table has no background color" thing too. Do you have any clue what's causing it this time? >>
--------------------
main account: lexi0bah
|
|
|
| Dodoro |
|

I Am Your Neighbor

Group: Board Moderators
Posts: 3,407
Member No.: 4,844
Joined: 23-May 07

|
| QUOTE (Lexi the Cat @ Dec 10 2011, 10:41 PM) | I found something else to ask! lol
http://www.neopets.com/~mawsi
I just realized that my BC guide has been affected by this "table has no background color" thing too. Do you have any clue what's causing it this time? >> |
Do you actually have a background color defined for the table you want to have a background for?
I can't find anything in the CSS or HTML about your table - the only table background I can find is the one for the top bar.
If you want to color the table through HTML, replace this code:
| CODE | | <table width="700" border="0" cellpadding="0" cellspacing="0"> |
WIth this:
| CODE | | <table width="700" border="0" cellpadding="0" cellspacing="0" bgcolor="#colorhere"> |
For CSS, it'd have to be:
| CODE | | <table width="700" border="0" cellpadding="0" cellspacing="0" class="bgc"> |
With this entered into the CSS:
| CODE | .bgc{ background: #color here; } |
--------------------
|
|
|
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
 Join the millions that use us for their forum communities. Create your own forum today. Learn More · Register Now
Track this topic
Receive email notification when a reply has been made to this topic and you are not active on the board.
Subscribe to this forum
Receive email notification when a new topic is posted in this forum and you are not active on the board.
Download / Print this Topic
Download this topic in different formats or view a printer friendly version.
Neopets Characters © 2000-2011 Neopets, Inc.
All Rights Reserved. Used With Permission
All other content © NeoPound.com
Banner and forum skin coded by Dorothy. Buttons by Ophelia.
|