CSS Within a Table, Not the Whole Page

liunx

Guest
I want to use CSS in just a table, but every time I go to try, it takes over the whole page. I don't know what I'm doing wrong!

Can anyone help?

RebekahGive the table an id - <table id="mytable">and precede your style rules with that.. eg. #mytable {
font-size:3em;
background-color:pink;
}
#mytable em {
color:red;
}Hard to say without more details and preferably a link to the page in question or at least a copy-and-paste of the code here (using
Code:
 or [html] vbscript tags).Okay, no laughing.  ;)

My bf wants to do a Mystery Auction on eBay.  We found a nice layout that he wants to use, but he's not HTML savvy at all.  This is where I come in.  I can do HTML and CSS, but I've never been able to do CSS without using it in the whole page.

You can view what I'm doing here (<!-- m --><a class="postlink" href="http://www.actlikeakid.com/extra/mystery/index.html">http://www.actlikeakid.com/extra/mystery/index.html</a><!-- m -->).  I'm trying to incorporate this into eBay's selling panel.  If you don't do eBay, it gives a box and you have to start and end with html tags, but when I use CSS, it changes the whole look of that eBay page.

I'm just trying to make it to where it looks good inside eBay without changing the rest of eBay's page.

RebekahWell the links to the auction site doesn纾
 
Back
Top