I'm developing a new template to use with my eBay auctions, and as you probably know, whatever style you use in your template is carried onto the eBay page.
Is there a way of making your CSS apply only to your part of the page, and leave the rest untouched?
Thanks for any help.
(Currently my CSS is included on the page, not external.)Actually, this is precisely a case where you'd want to use an id. Quite simply, properly assign the id attribute of the element you'd like to style in your markup like this:id="container"And then style appropriately in the CSS:#container {
/* rules */
}
#container p {
/* rules */
}Just define how each element (e.g., links, paragraphs, etc.) shuold be displayed in this one "container".
P.S. A class may also come in handy if you'd like to style several specific spots in the page with a certain style, but I'm assuming you'd only want one.
Is there a way of making your CSS apply only to your part of the page, and leave the rest untouched?
Thanks for any help.
(Currently my CSS is included on the page, not external.)Actually, this is precisely a case where you'd want to use an id. Quite simply, properly assign the id attribute of the element you'd like to style in your markup like this:id="container"And then style appropriately in the CSS:#container {
/* rules */
}
#container p {
/* rules */
}Just define how each element (e.g., links, paragraphs, etc.) shuold be displayed in this one "container".
P.S. A class may also come in handy if you'd like to style several specific spots in the page with a certain style, but I'm assuming you'd only want one.