Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Layout does not look the same in Ebay.

Featured Replies

Hello.

 

I am having a wee bit of trouble:

 

I have coded a layout for an ebay listing. It works exactly the way I want it to when I preview it in a browser but there is one part that dose not work (well two, but I am not bothered about one of them) when I preview it on ebay.co.uk.

 

Here is my code:

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>

<style type="text/css">

#wrapper{
   width:1070px;
   margin:auto;

   background-color:#0FF;
}

#mainImage{
   float:left;
   width:525px;
   height:385px;

   background-color:#0C6;
}

#badge{
   float:left;
   width:90px;
   height:90px;
   margin-left:20px;

   background-color:#39F;
}

#title{
   float:left;
   width:300px;
   height:40px;
   margin-left:20px;
   background-color:#FC3;
}

#featureBar{
   float:left;
   width:525px;
   height:35px;
   margin-left:20px;
   margin-top:20px;

   background-color:#66C;
}

.work{
   float:left;
   margin-left:20px;
   margin-top:20px;
   width:525px;
   height:40px;
}

.tick{
   float:left;
   width:50px;
   height:40px;
   background-color:#6C0;
}

.feature{
   float:left;
   margin-left:20px;
   width:455px;
   height:40px;
   background-color:#F00;
}

#specBar{
   float:left;
   width:345px;
   height:35px;
   margin-top:20px;
   background-color:#0F0;
}

#descBar{
   float:left;
   width:705px;
   height:35px;
   margin-left:20px;
   margin-top:20px;
   background-color:#C0F;
}

#specText {
   float:left;
   width:345px;
   height:300px;
   margin-top:20px;
   background-color:#33C;
}

#descText{
   float:left;
   width:705px;
   height:300px;
   margin-top:20px;
   margin-left:20px;
   background-color:#33C;
}

#videoBar{
   float:left;
   width:1070px;
   height:35px;
   margin-top:20px;
   margin-bottom:20px;
   background-color:#C0F;
}

#video{
   float:left;
   margin-left:108.5px;
   width:853px;
   height:480px;
   background-color:#F39;
}

#imagesBar{
   float:left;
   width:1070px;
   height:35px;
   margin-top:20px;
   background-color:#C0F;
}
.galImage1 {
   float:left;
   width:525px;
   height:381px;
   margin-right:20px;
   margin-top:20px;
   background-color:#C60;
}

.galImage2 {
   float:left;
   width:525px;
   height:381px;
   margin-top:20px;
   background-color:#C60;
}

.galTitle1{
   float:left;
   margin-top:10px;
   margin-right:20px;
   width:525px;
   height:30px;
   border-color:#666;
   border-bottom-width:medium;
   background-color:#06C;
}

.galTitle2{
   float:left;
   margin-top:10px;
   width:525px;
   height:30px;
   border-color:#666;
   border-bottom-width:medium;
   background-color:#06C;
}

#postageBar{
   float:left;
   width:1070px;
   height:35px;
   margin-top:20px;
   background-color:#C0F;
}

#rmLogo{
   float:left;
   width:165px;
   height:110px;
   margin-right:20px;
   margin-top:20px;
   background-color:#6F6;
}

#postageText{
   float:left;
   width:885px;
   height:400px;
   margin-top:20px;
   background-color:#F39;
}

#warBar{
   float:left;
   width:1070px;
   height:35px;
   margin-top:20px;
   background-color:#C0F;
}

#warText{
   float:left;
   width:1070px;
   height:500px;
   margin-top:20px;
   background-color:#9CC;
}

</style>

</head>

<body>
<div id="wrapper">
   <div id="mainImage"> </div>

   <div id="badge"> </div>

   <div id="title"> </div>

   <div id="featureBar"> </div>

   <div class="work">
       <div class="tick"> </div>
       <div class="feature"> </div>
   </div>
   <div class="work">
       <div class="tick"> </div>
       <div class="feature"> </div>
   </div>
   <div class="work">
       <div class="tick"> </div>
       <div class="feature"> </div>
   </div>
   <div class="work">
       <div class="tick"> </div>
       <div class="feature"> </div>
   </div>

   <div id="specBar"> </div>

   <div id="descBar"> </div>

   <div id="specText"> </div>

   <div id="descText"> </div>

   <div id="videoBar"> </div>

   <div id="video"> </div>

   <div id="imagesBar"> </div>

   <div class="galImage1"> </div>
   <div class="galImage2"> </div>
   <div class="galTitle1"> </div>
   <div class="galTitle2"> </div>
   <div class="galImage1"> </div>
   <div class="galImage2"> </div>
   <div class="galTitle1"> </div>
   <div class="galTitle2"> </div>

   <div id="postageBar"> </div>

   <div id="rmLogo"> </div>

   <div id="postageText"> </div>

   <div id="warBar"> </div>

   <div id="warText"> </div>

</div>

</body>
</html>

 

I am having trouble with div class="feature".

Why does it look different on ebay than in a browser?

 

I am not too bothered about this problem, but why does div id="wrapper" not show up at all in a broswer and only a small amount at the top in ebay?

 

I have attached some screenshots.

 

I hope someone can help me out :)

 

Thanks very much

-Frank

post-16290-0-98275700-1322918042_thumb.jpg

post-16290-0-71942200-1322918049_thumb.jpg

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.