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:

Username:   Password:
Add Reply
It should be simple to solve this html thing; yep
Topic Started: May 21 2005, 02:56 PM (224 Views)
solinent
Member
[ *  *  * ]
Ok, I can't find a quick solution to this one, so I'm asking your help. I have a table, and I recently added a cool feature that when you mouseover the color changes. However, it used to be a fieldset. So now it's not a fieldset, it's a table. The problem is is that I don't want the table cells to be so high. I've tried the height=15 but it doesn't work. Does anyone have a solution?

Here's the place where it's not working: http://www.runescapeapocalypse.com/quests/_questsmain.asp
Offline Profile Quote Post Goto Top
 
shockwave-
My other title is a Ferrari
[ *  * ]
I really don't see the problem, but are you using an HTML editor?
Offline Profile Quote Post Goto Top
 
JoeC
Euch! IE tastes horrible!
[ *  *  *  *  * ]
Instead of
Code:
 
<td width="619" height="15" onMouseOver=this.style.backgroundColor="#777777" onMouseOut=this.style.backgroundColor="#000000" class="borderred">


Just use this:
Code:
 
<td class="table">


And in your <head> section of code, put this:

Code:
 
<style type="text/css">
td.table {
width: 619px;
line-height: 15px;
border: 1px solid #EE0000;
color: #F00;
}

td.table a, td.table a:visited, td.table a:active {
display: block;
background-color: #000;
color: #F00;
}

td.table a:hover {
display: block;
background-color: #777;
color: #FFF;
}


That should fix it.
Offline Profile Quote Post Goto Top
 
solinent
Member
[ *  *  * ]
Actually, that doesnt work. lol the problem was that I put it in a paragraph, when i replaced the p tags with div tags it all worked out. I used your solution and it dramaticly decreased file size too lol :D

thanks!

P.S, I like ur sig :D Can I use it on my forums? :D
Offline Profile Quote Post Goto Top
 
JoeC
Euch! IE tastes horrible!
[ *  *  *  *  * ]
No problems :)
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
ZetaBoards - Free Forum Hosting
Free Forums. Reliable service with over 8 years of experience.
Learn More · Sign-up for Free
« Previous Topic · Technology Chat · Next Topic »
Add Reply