Jump to content

Product column not fixed width


Guest kickit

Recommended Posts

Howdy party people.. Long time listener, first time caller. Thanks to you all, (namely Marcscarts, Sir William, Estele and that cyprus guy.. thanks!! :D:D) I've managed to get my site (www.fle33.com Legend based) preeeeety much done. I've gone a bit hard on the code pruning today and am a bit stuck.. :wacko: I am running this site in conjunction with ebay listings.. I have created a html template on ebay of width 700 pixels for my listings. I planned to edit these pages to 400 pixels then copy and paste the whole source code into the product description for my store.. That way my product pages become pretty snappy with flash, pics, links, all just plonked in. I was pretty chuffed B) when I got it to work... HOWEVER nothing is ever easy. Even though I set my product template page width to less than 400 px (which is my middle column width in layout.css) I was getting nasty kinda wrap around where the right col went under the middle col. :D I read a topic on that, and finally decided I dont need the right col, so deleted it. B) I thought.. cool, now I have another 160px to play with on my product description.. but no..

It seems the column width has a useless border on it as well. I cant find where.. What Im wondering is where or how do I set my middle colum to be say 550 pixels wide.

Also I forgot.. :D where do i edit my border colour for the product box? If you visit my store then try the PC-777 shell shaped pc case you'll see my dilema..

Thanks everybody!!

As you were..

Link to comment
Share on other sites

if you take a look at the product pc-777 you'll see ive left the border on the right to highlight my problem. The pinkish box with reveiws is the side of the htm for the product, yet 1 px the border is still 100 px or so away.. how do I tighten that gap?

Link to comment
Share on other sites

Next, when I look at the source for that page (prod 777) I find what looks like sloppy code around line 344 (just below "product Information" label).

It looks like certain things were pasted in from the head of another html document, some parts were commented out, some not.

Not commented are a meta tag that belongs in the head of a document, then there is a <style> tag which is active, this also would belong in the head of the doc - inline styles are used in the body - you have the styles themselves commented out, but the closing </style> tag is also active.

Then there is this javascript code:

<script type="text/JavaScript">

<!--

function MM_openBrWindow(theURL,winName,features) { //v2.0

window.open(theURL,winName,features);

}

//-->

</script>

That code should be snipped and pasted into the head section of index.tpl.

Please clean all this up before proceeding with your troubleshooting. :wacko:

Link to comment
Share on other sites

hmmm confusion we meet again..

For some reason the code source I use from dreamweaver looks different to that saved in product source which (as you found marc looks) muuuch different to that found on the page..

I cant find where all these carriage returns and white space are coming from..

Link to comment
Share on other sites

Hi Marc,

Just read your last reply about the sloppy code. I made this page by simply creating and editing tables and cells with links to image sources.. so I assumed it'd all be clean.. I'll see what I can do..

Link to comment
Share on other sites

Doesn't matter how it got in there (meta desc), you can take it out with a simple delete. In your wysiwyg editor use the view source function and get rid of it, and type a simple, descriptive sentence.

Here is what I see when viewing the source:

<meta name="description" content="

   

       

           

           

           

               

                   

                       

                       

                       

                       

                       

                       

                   

               

           

           

               

                   

                       

                       

                           

                               

                                    Weight:

                                    10.2 kg - without PSU

                               

                               

                                    Material:

                                    Aluminium

                               

                               

                                    Drive Bays:

                                    Six hidden 3.5&rdquo;, six exposed 5.25&rdquo; with one of these FDD cover plate/tray and one optical drive bay cover

                               

                               

                                    PSU

                                    None

                               

                               

                                    Window:

                                    Mesh Screen on each side panel.

                               

                               

                                    &nbsp;

                                    &nbsp;

                               

                               

                                    Device Slots

                                    6x5.25&rdquo;, 6x3.5&rdquo; internal with a FDD bezel, 1x CD-ROM bezel

                               

                               

                                    Cooling

                                    front 120 mm ball bearing fan with filter and rear 120mm exhaust fan

                               

                               

                                    Motherboard type

                                    ATX M/B (max size: 12&quot;x9.6&quot;); option back plate of M/B tray for BTX M/B

                               

                               

                                    Top Panel I/O:

                                    USB2.0 x 2, IEEE1394 x 1, MIC x 1, EAR x 1

                               

                               

                                    Dimensions

                                    246x645x574mm(W,H,D)

                               

                               

                                    Slots

                                    PCI Slot x 7

                               

                           

                       

                       

                           

                               

                                   

                                   

                                   

                                   

                                   

                               

                               

                                   

                                   

                                   

                                   

                                   

                               

                           

                       

                       

                       

                        Reviews...

                       

                           

                               

                                   

                                    3dgameman.com

                                    &quot;For a 20th anniversary you'd better have something special! This is one really unique product unlike anything else that's currently on the market. It's a radical design that you either like or dislike. It has lots of room to work, plenty of features, many drive bays &amp; excellent air circulation. Also, the build quality &amp; design are fantastic. Dare to be different!... read more

                                    &nbsp;

                                   

                               

                               

                                   

                                    Guru 3D

                                    The design is awesome and the usability fantastic. This casing will remain here and be used as HTPC (Home Theater PC) it fits my personal flavor and color style in the living room. Good stuff. It's by far not an expensive case considering that this is a real aluminum casing and a special edition casing. But yeah you pay quite a sum of money for the PC-777...read more

                                   

                               

                               

                                   

                                    Over Clocker Cafe

                                    The Lian Li PC-777 Anniversary Case is a definite head turner.&nbsp; Its design absolutely screams 'look at me!'&nbsp; A few of my qualms with the basic functioning of the case such as the access ports and power button on top as well as the mesh side panel window (aka dust intake) can be easily tolerated by the end user, as any change to them would disrupt the clean conch look that Lian Li has achieved.&nbsp; The list of pros with the PC-777 reads like a litany of what every case should be and have in the way of features....As with everything else in the world, if you want high quality, high features and a something most decidedly unique, you are going to have to pay for it.&nbsp; In this instance, your money would be well spent leaving you with no regrets.read more

                                   

                               

                           

                       

                        &nbsp;

                       

                   

               

           

           

           

               

                   

                       

                       

                       

                       

                       

                       

                       

                   

                   

                       

                        As you can see, this case is beautiful from any angle. The big black spiral on each side of the case is made of heavy duty mesh allowing your hardware inside plenty of air flow and the two large 120mm fans inside don't hurt either.

                       

                       

                        The two screws on the back of the case, near the top are for removing the sides, a quick and convinent feature.

                       

                   

                   

                       

                       

                       

                           

                               

                                   

                               

                           

                       

                       

                       

                       

                       

                       

                   

                   

                       

                        Click Images for larger view

                       

                   

                   

                       

                       

                       

                       

                       

                       

                       

                           

                               

                                   

                               

                           

                       

                       

                       

                       

                   

                   

                       

                        Located on top, above the 5.25&quot; drive bays are the power and reset switches along with the USB, Mic, Sound and firewire ports. Making them easily accessible.

                       

                       

                       

                       

                           

                               

                                   

                                    Here is the front base of the case. Not only is this case special because of it's unique design but is also Lian Li's 20th anniversary case.

                                   

                               

                           

                       

                       

                       

                   

               

           

           

           

           

           

       

       

            &nbsp;

       

   

   

       

            &nbsp;

       

   

" />

Link to comment
Share on other sites

And now it dawns on me, are you using someone's SEO mod that adds the entire product description information here automatically? OK, if so, then forget about that I guess (though I think it's malarky having all that crud in the meta desc).

But I still think that the meta tag in the body, and the javascript, should be removed from the body. May not be what's causing your problem but those are the glaring mistakes that I see on a quick scan of the code :wacko:

Link to comment
Share on other sites

Yeah I get what you mean. I see what you see when I view source code of the page...But what I was pointing out was somewhere between dreamweaver, cubecart product editor and the browser the code changes from this

<!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=iso-8859-1" />

<!-- TemplateBeginEditable name="doctitle" -->

<title>Untitled Document</title>

<!-- TemplateEndEditable -->

<style type="text/css">

<!--

.style1 {

	font-family: Verdana, Arial, Helvetica, sans-serif;

	font-size: medium;

	color: #CC3300;

}

.style2 {font-family: Verdana, Arial, Helvetica, sans-serif}

.style3 {font-size: x-small}

.style5 {font-size: large}

.style8 {color: #CC0000}

.style10 {font-size: x-small; color: #3300CC; }

.style11 {color: #990000}

.style12 {font-size: x-small; font-weight: bold; }

.style13 {

	font-size: x-small;

	color: #000000;

	font-weight: bold;

}

.style14 {font-size: x-small; color: #FF0000; }

.style16 {

	font-size: x-large;

	font-family: Geneva, Arial, Helvetica, sans-serif;

	color: #CC3300;

}

.style17 {

	font-size: medium;

	color: #FF6600;

}

.style7 {	color: #CC0000;

	font-size: medium;

	font-family: Geneva, Arial, Helvetica, sans-serif;

	font-weight: bold;

}

.style19 {color: #CC0033; font-size: small; font-family: Geneva, Arial, Helvetica, sans-serif;}

.style20 {font-size: x-large}

.style21 {

	font-family: Geneva, Arial, Helvetica, sans-serif;

	font-size: large;

	font-weight: bold;

	color: #CC0000;

}

-->

</style>

<!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->

<script type="text/JavaScript">

<!--



function MM_openBrWindow(theURL,winName,features) { //v2.0

  window.open(theURL,winName,features);

}

//-->

</script>

</head>



<body>

<table width="550" border="0" align="center" cellpadding="0" cellspacing="0">

  <tr>

    <td width="550"><div align="justify" class="style2">

        <table width="100%" border="0" cellspacing="0" cellpadding="0">

          <tr>

            <td><div align="center"><img src="http://www.lian-li.com/images/products/b_mm_pc777_1.gif" alt="Ext 1" width="230" height="310" /></div></td>

            <td><div align="center"><img src="http://www.lian-li.com/images/products/pc-777_feature.jpg" alt="ext 2" width="300" height="283" /></div></td>

          </tr>

        </table>

        <table width="100%" border="0" cellspacing="10" cellpadding="0">

          <tr>

            <td width="65%" valign="top"><table cellspacing="0" cellpadding="0">

              <tr bgcolor="#ffffff">

                <td valign="top" align="left" bgcolor="#e7e7e7">Weight:</td>

                <td valign="top" align="left" bgcolor="#e7e7e7">10.2 kg - without PSU </td>

              </tr>

              <tr bgcolor="#ffffff">

                <td valign="top" align="left" bgcolor="#e7e7e7">Material:</td>

                <td valign="top" align="left" bgcolor="#e7e7e7">Aluminium</td>

              </tr>

              <tr bgcolor="#ffffff">

                <td valign="top" align="left" bgcolor="#e7e7e7">Drive Bays:</td>

                <td valign="top" align="left" bgcolor="#e7e7e7"> Six hidden 3.5&rdquo;, six exposed 5.25&rdquo; with one of these   FDD cover plate/tray and one optical drive bay cover</td>

              </tr>

              <tr bgcolor="#ffffff">

                <td valign="top" align="left" bgcolor="#e7e7e7">PSU</td>

                <td valign="top" align="left" bgcolor="#e7e7e7">None</td>

              </tr>

              <tr bgcolor="#ffffff">

                <td valign="top" align="left" bgcolor="#e7e7e7">Window:</td>

                <td valign="top" align="left" bgcolor="#e7e7e7">Mesh Screen on each side panel.</td>

              </tr>

              <tr bgcolor="#ffffff">

                <td valign="top" align="left" bgcolor="#e7e7e7">&nbsp;</td>

                <td valign="top" align="left" bgcolor="#e7e7e7">&nbsp;</td>

              </tr>

              <tr bgcolor="#ffffff">

                <td valign="top" align="left" width="100" bgcolor="#e7e7e7">Device Slots </td>

                <td valign="top" align="left" bgcolor="#e7e7e7">6x5.25&rdquo;, 6x3.5&rdquo; internal with a FDD   bezel, 1x CD-ROM bezel</td>

              </tr>

              <tr bgcolor="#ffffff">

                <td valign="top" align="left" bgcolor="#ffffff">Cooling</td>

                <td valign="top" align="left" bgcolor="#ffffff">front 120 mm ball bearing fan with filter and rear 120mm exhaust fan</td>

              </tr>

              <tr bgcolor="#ffffff">

                <td valign="top" align="left" bgcolor="#e7e7e7">Motherboard type </td>

                <td valign="top" align="left" bgcolor="#e7e7e7">ATX M/B (max size: 12&quot;x9.6&quot;); option   back plate of M/B tray for BTX M/B</td>

              </tr>

              <tr bgcolor="#ffffff">

                <td valign="top" align="left" bgcolor="#ffffff">Top Panel I/O:</td>

                <td valign="top" align="left" bgcolor="#ffffff">USB2.0 x 2, IEEE1394 x 1, MIC x 1, EAR   x 1</td>

              </tr>

              <tr bgcolor="#ffffff">

                <td valign="top" align="left" bgcolor="#e7e7e7">Dimensions</td>

                <td valign="top" align="left" bgcolor="#e7e7e7">246x645x574mm(W,H,D)</td>

              </tr>

              <tr bgcolor="#ffffff">

                <td valign="top" align="left" bgcolor="#ffffff">Slots</td>

                <td valign="top" align="left" bgcolor="#ffffff">PCI Slot x 7</td>

              </tr>

            </table>

              <table width="100%" height="100" align="center" cellpadding="0" cellspacing="10">

                <tr>

                  <td><div align="center">

                    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="140" height="140" align="middle" title="Blue Orb II">

                      <param name="quality" value="high" />

                      <param name="SRC" value="http://www.lian-li.com/hot_p01.swf" />

                      <embed src="http://www.lian-li.com/hot_p01.swf" width="140" height="140" align="middle" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>

                    </object>

                  </div></td>

                </tr>

                <tr>

                  <td><div align="center">

                    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="140" height="140" align="middle" title="Install">

                      <param name="movie" value="http://www.lian-li.com/Product/Chassis/fan_pc777_w01.swf" />

                      <param name="quality" value="high" />

                      <embed src="http://www.lian-li.com/Product/Chassis/fan_pc777_w01.swf" width="140" height="140" align="middle" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>

                    </object>

                  </div></td>

                </tr>

              </table>            </td>

            <td width="35%" align="left" valign="top" bgcolor="#FFCC99"><p><span class="style21">Reviews...</span></p>

              <table width="100%" border="0" cellspacing="3" cellpadding="0">

                <tr>

                  <td width="83%"><p class="style12">3dgameman.com</p>

                    <p class="style12"><span class="style8"><em>&quot;For a 20th anniversary you'd better have something special! This is one   really unique product unlike anything else that's currently on the market. It's   a radical design that you either like or dislike. It has lots of room to work,   plenty of features, many drive bays &amp; excellent air circulation. Also, the   build quality &amp; design are fantastic. Dare to be different!</em><a href="http://www.3dgameman.com/forums/showthread.php?t=38260">.</a></span><a href="http://www.3dgameman.com/forums/showthread.php?t=38260">.. read more</a></p>

                    <p class="style3">&nbsp;</p></td>

                </tr>

                <tr>

                  <td><p class="style13">Guru 3D </p>

                    <p class="style10"><span class="style11">The design is awesome and the usability fantastic.   This casing will remain here and be used as HTPC (Home Theater PC) it fits my   personal flavor and color style in the living room. Good stuff. It's by far not   an expensive case considering that this is a real aluminum casing and a special   edition casing. But yeah you pay quite a sum of money for the PC-777</span><a href="http://www.guru3d.com/article/content/268/1/">...read more</a></p>                  </td>

                </tr>

                <tr>

                  <td><p class="style12">Over Clocker Cafe </p>

                    <p class="style14">The Lian Li PC-777 Anniversary Case is a definite head turner.&nbsp; Its   design absolutely screams 'look at me!'&nbsp; A few of my qualms with the basic   functioning of the case such as the access ports and power button on top as well   as the mesh side panel window (aka dust intake) can be easily tolerated by the   end user, as any change to them would disrupt the clean conch look that Lian Li   has achieved.&nbsp; The list of pros with the PC-777 reads like a litany of what   every case should be and have in the way of features....As with everything else in the world, if you want high quality, high features   and a something most decidedly unique, you are going to have to pay for it.&nbsp; In   this instance, your money would be well spent leaving you with no regrets.<a href="http://www.overclockercafe.com/Reviews/cases/Lian_Li_PC-777/pg1.htm">read more</a> </p>                  </td>

                </tr>

              </table>              

            <p>&nbsp;</p></td>

          </tr>

        </table>

        <span class="style3"><a name="pics" id="pics"></a></span>

        <table width="100%" border="0" cellspacing="10" cellpadding="0">

          <tr>

            <td width="200"><div align="center"><img src="http://www.amdreview.com/graphics/00000001/PC777/PC777_1.jpg" alt="img" name="" width="200" height="150" border="0" usemap="#Map" onclick="MM_openBrWindow('http://www.amdreview.com/graphics/00000001/PC777/PC777_1.jpg','FV1','width=510,height=385')" />

                    <map name="Map" id="Map">

                      <area shape="rect" coords="4,4,197,145" href="#pics" />

                    </map>

            </div></td>

            <td width="200"><div align="center"><img src="http://www.amdreview.com/graphics/00000001/PC777/PC777_2.jpg" alt="2" name="" width="200" height="150" border="0" usemap="#Map2" onclick="MM_openBrWindow('http://www.amdreview.com/graphics/00000001/PC777/PC777_2.jpg','FV2','width=510,height=385')" /></div></td>

          </tr>

          <tr>

            <td>              <p align="justify" class="style3">As you can see, this case is beautiful from any angle. The big black spiral on   each side of the case is made of heavy duty mesh allowing your hardware inside   plenty of air flow and the two large 120mm fans inside don't hurt either. </p></td>

            <td><div align="justify"><span class="style3">The   two screws on the back of the case, near the top are for removing the sides, a   quick and convinent feature.</span></div></td>

          </tr>

          <tr>

            <td><div align="center">

              <table width="100%" border="0" cellpadding="0" cellspacing="10" dwcopytype="CopyTableCell">

                  <tr>

                    <td width="200"><img src="http://www.amdreview.com/graphics/00000001/PC777/PC777_6.jpg" alt="3" name="" width="200" height="150" border="0" usemap="#Map3" onclick="MM_openBrWindow('http://www.amdreview.com/graphics/00000001/PC777/PC777_6.jpg','FV3','width=510,height=385')" /></td>

                  </tr>

                          </table>

              <map name="Map3" id="Map3">

                <area shape="rect" coords="4,4,196,143" href="#pics" />

              </map>

            </div></td>

            <td><img src="http://www.amdreview.com/graphics/00000001/PC777/PC777_5.jpg" alt="4" name="" width="200" height="150" border="0" usemap="#Map4" onclick="MM_openBrWindow('http://www.amdreview.com/graphics/00000001/PC777/PC777_5.jpg','FV4','width=510,height=385')" />

              <map name="Map4" id="Map4">

                <area shape="rect" coords="5,4,197,145" href="#pics" />

              </map>            </td>

          </tr>

          <tr>

            <td colspan="2"><div align="center"><strong><span class="style17">Click Images for larger view </span></strong></div></td>

          </tr>

          <tr>

            <td>

              <div align="center"><img src="http://www.amdreview.com/graphics/00000001/PC777/PC777_3.jpg" alt="5" name="" width="200" height="150" border="0" usemap="#Map5Map" onclick="MM_openBrWindow('http://www.amdreview.com/graphics/00000001/PC777/PC777_3.jpg','FV5','width=510,height=385')" />

                  <map name="Map5Map" id="Map5Map">

                    <area shape="rect" coords="2,3,197,145" href="#pics" />

                    </map>

            </div></td>

            <td><div align="center">

              <table width="100%" border="0" cellpadding="0" cellspacing="10" dwcopytype="CopyTableCell">

                <tr>

                  <td width="200"><img src="http://www.amdreview.com/graphics/00000001/PC777/PC777_4.jpg" alt="6" name="" width="200" height="150" border="0" usemap="#Map6" onclick="MM_openBrWindow('http://www.amdreview.com/graphics/00000001/PC777/PC777_4.jpg','FV6','resizable=yes,width=510,height=385')" /></td>

                </tr>

              </table>

              <map name="Map6" id="Map6">

                <area shape="rect" coords="5,3,197,146" href="#pics" />

              </map>

              </div></td>

          </tr>

          <tr>

            <td><div align="center"><span class="style3">Located on top, above the 5.25&quot; drive bays are the power and reset switches   along with the USB, Mic, Sound and firewire ports. Making them easily   accessible.</span></div></td>

            <td><div align="center">

              <table cellspacing="0" cellpadding="0" width="100%" border="0">

                <tbody>

                  <tr>

                    <td><p align="justify" class="style3">Here is the front base of the case. Not only is this case special because of   it's unique design but is also Lian Li's 20th anniversary   case.</p></td>

                  </tr>

                </tbody>

              </table>

            </div></td>

          </tr>

        </table>

        <p class="style3"><br />

        </p>

      </div>

      </td>

  </tr>

  <tr>

    <td>&nbsp;</td>

  </tr>

</table>



<table width="700" border="0" align="center" cellpadding="0" cellspacing="0">

  <tr>

    <td width="770">&nbsp;</td>

  </tr>

</table>

<map name="Map2" id="Map2"><area shape="rect" coords="6,5,194,144" href="#pics" />

</map>

<map name="Map5" id="Map5"><area shape="rect" coords="2,3,197,145" href="#pics" />

</map>

</body>

</html>

Which looks nothing like what the browser is seeing. I dont have any mods in my product..

Maybe I'll just be less wild with my product page.. its not even formated right..

it should look like this....

www.fle33.com/LianLiPC-777.htm

Link to comment
Share on other sites

:D CubeCartâ„¢ puts the product description there automatically out-of-the-box, so I suppose I put the old boot in my mouth on that one B)

It's late, I'm off to bed :wacko:

P.S. - here is what one of my prods look like in the meta desc:

<meta name="description" content="See a larger image

The Skin Factory's EROS skin is suitable for selling adult-oriented items.

I'll be glad to install your logo, custom bullets and banners for an additional $10.00! Simply choose that option from the dropdown, and I'll contact you for your artwork." />

Link to comment
Share on other sites

remember when ur viewing the source code of a cubecart page of the web it will look different from wot u c in editor prog as u r editing one specific page and on the web ur r displaying several pages at once on one page. :wacko:

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...