How to Use div in an eBay Ad
Apply the concept of a "div," an HTML element commonly used to apply styles in HTML Web pages, to an eBay ad to give the ad a custom look. It isn't possible to use a cascading style sheet or "CSS" file in conjunction with an eBay ad, which prevents you form applying a div directly, but it is possible to use inline style commands to achieve the same effect.
Instructions
-
-
1
Sign in to your eBay account and choose the "Sell" pane. Click "List Your Item" to create a new ad if you haven't already begun work on the ad.
-
2
Type the following code in front of the element of the ad to which you want to apply a style:
<style type="text/css">
-
-
3
Open the style sheet whose <div> you want to reference if you have one. Copy the div parameters to your computer's clipboard and then paste the into the line below the HTML <style> command. Alternatively, type in your own stylistic parameters. For instance:
<style type="text/css">
p {margin-left:10px;}
body {background-image:url("images/ebayad.jpg");}
border {1px;} -
4
Type the </style> closing tag at the end of the ad. Click the "Preview" button to preview the way the ad looks and then click "Post" to publish the ad live to the site. Remember that you must agree to the listing fees eBay specifies before you confirm for the ad to post live on the site.
-
1