The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

change height of table

View previous topic View next topic Go down

Solved change height of table

Post by Ravenstar on October 8th 2012, 7:56 am

hello,

im making a rules section (like the green one on this forum)
and i have the code, and its been made, however, its got a large space at the top, and i cant manage to shorten the area down so its gone....

here is the code im using for the rules table:
Code:
<td><table style="background: url('http://i35.servimg.com/u/f35/17/55/07/23/scroll11.jpg') no-repeat left center #d4f4aa; border: 1px solid #9ccf5a; padding: 5px 5px 5px 60px; width: 100%; height: 50%; font-weight: bold; color: #; border-radius: 50px;"><tbody><tr><td align="left"><br>
<span style="font-size: 9px; line-height: normal"><br>
• Please read and respect our <a href="http://warriorclan.forumotion.com/f36-rules-and-guides">forum rules.</a><br>
• dont post anything unessesary, or it will be deleted<br>
• Ask ur staff for questions you may have, for technical work, ask the administrator Ravenstar.<br>
• Users will have 3 warnings, then will be banned from the chat, if the user breaks the rules once more, they will be banned from accessing the forum<br>
• Users cannot post un-related posts, unless the post is in a specified topic for it.<br>
• Keep the forum clean, no bad language! you are warriors, not apprentices<br>
• No advertising unless you have permission from an Administrator<br>
• role-play all your cats, otherwise, they may be deleted for the reason of being un-active.<br>
• Be kind to the other users in posts and chatbox (u can just hate them in your head)<br>
•have fun, and RP your cats in the WarriorClan world!
 </font></span></td></tr></tbody></table></td>
</body>
</HTML>

i have added a "height : 50" after the "width : 100%" but it hasnt done anything,
put this in notepad or something to see the large space at the top...
does anyone know how to fix it, and change the height?

Ravenstar
Forumember

Male Posts : 54
Reputation : 2
Language : English|Javascript|HTML|Lua|
Location : :3 somwhere!

http://warriorclan.forumotion.com/

Back to top Go down

Solved Re: change height of table

Post by Sanket on October 8th 2012, 10:47 am

Add it as height:200px or whichever amount & then check.

Sanket
ForumGuru

Male Posts : 48766
Reputation : 2819
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

Solved Re: change height of table

Post by Ravenstar on October 10th 2012, 2:50 am

do you mean like this?
Code:
<table><tbody><tr><td><td><td><table style="background: url('http://i35.servimg.com/u/f35/17/55/07/23/scroll11.jpg') no-repeat left center #d4f4aa; border: 1px solid #9ccf5a; padding: 5px 5px 5px 60px; width: 100%; height: 200px; font-weight: bold; color: #; border-radius: 50px;"><tbody><tr><td align="left"><br>
<span style="font-size: 9px; line-height: normal"><br>
• Please read and respect our <a href="http://warriorclan.forumotion.com/f36-rules-and-guides">forum rules.</a><br>
• dont post anything unessesary, or it will be deleted<br>
• Ask ur staff for questions you may have, for technical work, ask the administrator Ravenstar.<br>
• Users will have 3 warnings, then will be banned from the chat, if the user breaks the rules once more, they will be banned from accessing the forum<br>
• Users cannot post un-related posts, unless the post is in a specified topic for it.<br>
• Keep the forum clean, no bad language! you are warriors, not apprentices<br>
• No advertising unless you have permission from an Administrator<br>
• role-play all your cats, otherwise, they may be deleted for the reason of being un-active.<br>
• Be kind to the other users in posts and chatbox (u can just hate them in your head)<br>
•have fun, and RP your cats in the WarriorClan world!
 </font></span></td></tr></tbody></table></td>
</body>
</HTML></td></tr></tbody></table>

and it isnt changing a thing still

Ravenstar
Forumember

Male Posts : 54
Reputation : 2
Language : English|Javascript|HTML|Lua|
Location : :3 somwhere!

http://warriorclan.forumotion.com/

Back to top Go down

Solved Re: change height of table

Post by runawayhorses on October 10th 2012, 4:49 am

Try it like this, there was a lot of things wrong with the code.

Code:
 <html><table><tbody><tr><td><table style="background: url('http://i35.servimg.com/u/f35/17/55/07/23/scroll11.jpg') no-repeat left center #d4f4aa; border: 1px solid #9ccf5a; padding: 5px 5px 5px 50px; width: 100%; font-weight: bold; color: #000000; border-radius: 50px;"><tbody><tr><td align="left">
    <span style="font-size: 9px; line-height: normal">
    • Please read and respect our <a href="http://warriorclan.forumotion.com/f36-rules-and-guides">forum rules.</a><br>
    • dont post anything unnecessary, or it will be deleted<br>
    • Ask ur staff for questions you may have, for technical work, ask the administrator Ravenstar.<br>
    • Users will have 3 warnings, then will be banned from the chat, if the user breaks the rules once more, they will be banned from accessing the forum<br>
    • Users cannot post un-related posts, unless the post is in a specified topic for it.<br>
    • Keep the forum clean, no bad language! you are warriors, not apprentices<br>
    • No advertising unless you have permission from an Administrator<br>
    • role-play all your cats, otherwise, they may be deleted for the reason of being in-active.<br>
    • Be kind to the other users in posts and chatbox (u can just hate them in your head)<br>
    •have fun, and RP your cats in the WarriorClan world!
    </font></span></td></tr></tbody></table>
    </body>
    </HTML>

runawayhorses
Hyperactive

Male Posts : 2537
Reputation : 162
Language : English
Location : United States

http://runawayhorses.alldiscussion.net/

Back to top Go down

Solved Re: change height of table

Post by Ravenstar on October 10th 2012, 7:31 am

ok thanks Smile it does work.. but....
when i post it ... well.. its hard to explain, go to this link to see the problem:
http://warriorclan.forumotion.com/t657-lol-nobody-comment-about-this-muck-up-xp#4782

is this to do with the code.. or.... whatever it is, something has failed XP

Ravenstar
Forumember

Male Posts : 54
Reputation : 2
Language : English|Javascript|HTML|Lua|
Location : :3 somwhere!

http://warriorclan.forumotion.com/

Back to top Go down

Solved Re: change height of table

Post by Sanket on October 10th 2012, 8:39 am

It could be something to do with what Rideem posted. Rectify & then check.

Sanket
ForumGuru

Male Posts : 48766
Reputation : 2819
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

Solved Re: change height of table

Post by runawayhorses on October 10th 2012, 2:37 pm

@Sanket wrote:It could be something to do with what Rideem posted. Rectify & then check.
No I fixed what redeem mentioned, its not a <td> tag outside the table tag. If you actually read the code you will see this to be the case.

As for what the topic starter is asking now, they need to explain what they mean more clearly. I tested the code on an html test page and the text goes to the top of the table, there is no large gap like there was before, so if they are saying that there is still a gap, it could be the browser they are using (I used firefox while editing the code) because browsers read tables significantly different from each other, Internet Explorer being the worst case scenario, or it could possibly be a script or other code interfering with it.

Edit: I looked at the link they posted just now using firefox and the gap is still there but its not on my test page, so it must be something else unrelated to the table code causing this to happen.

runawayhorses
Hyperactive

Male Posts : 2537
Reputation : 162
Language : English
Location : United States

http://runawayhorses.alldiscussion.net/

Back to top Go down

Solved Re: change height of table

Post by Ravenstar on October 11th 2012, 6:10 am

hmm... im going through it, and i se no errors...

this is the content of the whole post:
Spoiler:
<html><table><tbody><tr><td><table style="background: url('http://i35.servimg.com/u/f35/17/55/07/23/scroll11.jpg') no-repeat left center #d4f4aa; border: 1px solid #9ccf5a; padding: 5px 5px 5px 50px; width: 100%; font-weight: bold; color: #000000; border-radius: 50px;"><tbody><tr><td align="left">
<span style="font-size: 9px; line-height: normal">
• Please read and respect our <a href="http://warriorclan.forumotion.com/f36-rules-and-guides">forum rules.</a><br>
• dont post anything unnecessary, or it will be deleted<br>
• Ask ur staff for questions you may have, for technical work, ask the administrator Ravenstar.<br>
• Users will have 3 warnings, then will be banned from the chat, if the user breaks the rules once more, they will be banned from accessing the forum<br>
• Users cannot post un-related posts, unless the post is in a specified topic for it.<br>
• Keep the forum clean, no bad language! you are warriors, not apprentices<br>
• No advertising unless you have permission from an Administrator<br>
• role-play all your cats, otherwise, they may be deleted for the reason of being in-active.<br>
• Be kind to the other users in posts and chatbox (u can just hate them in your head)<br>
•have fun, and RP your cats in the WarriorClan world!
</font></span></td></tr></tbody></table>
</body>
</HTML>

1. No Bad language

2. No inappropriate themes

3. No use of real names/personal info

4. Respect admin/moderators rules/wishes

5. No advertising

6. No spamming

If you break these rules you will be warned if you are warned twice you will be banned for 5 days,
Warned 3 times and you will be banned for a month
If you continue breaking the rules your IP will be banned

______________________________________________

Cat creation rules:


1. UNlImItEd CaTs

2. Dont RP crazily with cats

3. You must use the correct form when creating.

4. You must RP with this cat, ignored cats will be deleted

5: Only Two medicine cats per clan

6: 2 deputies per clan

7: Any amount of Ranked cats, but please dont make too many
______________________________________________________

and here is some more! (yay, boring words!) (ocean made all this)

Here are some rules that you must follow when you post and roleplay on Warrior Clan.

1. NSFW
I know you think it’s hilarious to post a picture or link to a picture of Red in a thong, but the rest of us really don’t want to see stuff like that. Show some respect for the people who work on this from home or school. We want pretty much everything suitable for work environments. In conclusion, no images or links with inappropriate content. If it is somehow important to the topic, at least label it with [NSFW][/NSFW] tags.

2. Pornography
Pornography is a step up from the NSFW rule. If you need to share your pornography with your friends, do it over PM. Just remember, if they report you for sending porn (providing evidence), we will limit you. Requesting pornography will give you a warning, and if you ask again, you’re limited.

3. Flaming/trolling
Picking online fights never got anyone anywhere. This is actually somewhat like spam, but you’re incriminating someone other than yourself. All off topic fights will cost you a temporary limit; on topic discussions will be judged by whatever moderator is online.

4. Swearing
We urge people to not swear, but in the end, the punishment is up to whatever moderator notices. Usually, the punishments won’t be very harsh unless the swearing is an attempt at trolling/flaming.

5. Multiple-Accounts
Don’t create multiple accounts. It’s a really stupid way to get limited, and it is a limitable offense. If you can’t remember your password, contact an admin and they will help you out.

6. Advertising
As we have mentioned previously, we want to uphold a certain level of professionalism. We don’t mind a little advertising in your signature, but the second it turns into spam, your post will be removed, and you will be issued your first warning. Two warnings and you’re limited. Posting about other projects unrelated to Awesome Clan is counted as advertising, and will be dealt with as such.

7. English
We understand that all of you might not be from an English speaking country, but please try your best anyways. Most staff members do not want to decipher a long Spanish post, so if you don’t try, your post will likely be deleted.

8. Report
If you see someone breaking a major rule, don’t respond to them, rudely or otherwise. Just report the problem to a moderator. Responding is acknowledging them.

9. Theft
We do not support art theft and we will permanently limit anyone proven guilty of this crime. The same goes for music and whatever else you can think of stealing. This doesn't just count for stealing from us, if you suspect that someone has shared stolen material with us; please contact a mod or admin and we'll look into it. Remember that if you feel that someone's work could beneficial to the clan, contact them or contact us about it, rather than just taking their work for us. If you feel you have been wrongly accused of stealing something, contact a mod, and we'll listen to your side of the story.

General Clan Rules

1. A clan must have two deputies so if one has kits, dies or retires the other one can take its place. The deputies have equal respect. When the leader dies one of the deputies is chosen by Soulclan (Starclan(us)) to be the new leader of the clan.

2. A clan must have two medicine cats. They also have equal respect. They can both have medicine cat apprentices. We did this becomes in case one has kits, dies, retire, or etc. then we will have another one.

3. Medicine cats are allowed to have kits

4. Even though there are many doubles there is no double leaders as it would be confusing.

5. Beside this, if we see anything unfair or mean happening on the rp we will ask to change it. We will ask three times and if by the third you do not change it, we will act like it never happened or that character died.
(the first bit of it is the coded rules thing

Ravenstar
Forumember

Male Posts : 54
Reputation : 2
Language : English|Javascript|HTML|Lua|
Location : :3 somwhere!

http://warriorclan.forumotion.com/

Back to top Go down

Solved Re: change height of table

Post by runawayhorses on October 11th 2012, 2:08 pm

Its valid to put table tags inside HTML tags on real HTML document pages at the beginning and ending of the document because table tags go inside the body, but forumotions HTML pages do not require opening or closing HTML tags because the are already in there, just hidden. As goes for <body></body> tags.

I added the beginning<html> tag because it already had an ending tag, and quite frankly its not going to make one bit of difference either way.. Wink

There problem is most likely a CSS code in the stylesheet causing the gap.

runawayhorses
Hyperactive

Male Posts : 2537
Reputation : 162
Language : English
Location : United States

http://runawayhorses.alldiscussion.net/

Back to top Go down

Solved Re: change height of table

Post by runawayhorses on October 11th 2012, 9:00 pm

Oh really? So if the table tags don't go in the body where do they go?

Sorry, I think you're wrong.

runawayhorses
Hyperactive

Male Posts : 2537
Reputation : 162
Language : English
Location : United States

http://runawayhorses.alldiscussion.net/

Back to top Go down

Solved Re: change height of table

Post by runawayhorses on October 11th 2012, 9:04 pm

Oh I agree with that you should never have more than 1 opening and closing html tag , but the table does goes in between the html and body tags.

runawayhorses
Hyperactive

Male Posts : 2537
Reputation : 162
Language : English
Location : United States

http://runawayhorses.alldiscussion.net/

Back to top Go down

Solved Re: change height of table

Post by runawayhorses on October 11th 2012, 9:09 pm

Correct, we are on the same page after all.

It goes like this:

<HTML><body><table></table></body></HTML>

runawayhorses
Hyperactive

Male Posts : 2537
Reputation : 162
Language : English
Location : United States

http://runawayhorses.alldiscussion.net/

Back to top Go down

Solved Re: change height of table

Post by Ravenstar on October 12th 2012, 1:22 am

ok, it works now, thankyou all for helping me out here Smile

Ravenstar
Forumember

Male Posts : 54
Reputation : 2
Language : English|Javascript|HTML|Lua|
Location : :3 somwhere!

http://warriorclan.forumotion.com/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum