an ASP.NET Open Source CMS & eCommerce platform
Search:
Skip Navigation LinksHome > DotShoppingCart Forums > Support > Using DotShoppingCart > Problem with cell properties in tables
Last Post 5/14/2009 11:29:45 PM By lukezy. 12 replies.
Page 1 of 2 (13 posts) << First < Prev 1 2 Next > Last >> 
5/13/2009 11:37:09 PM
jsduggan
Posts: 52
Joined: 3/19/2009
Problem with cell properties in tables
I have inserted a table into one of my pages in an HTML box.  In cell properties for all of the cells in the table, I set vertical alignment to "middle."  What is weird is in the HTML box edit mode, the text in each cell is aligned vertically in the middle as it should be according to my setting.  However, when I click "Ok" to go back to the page editor, all of the text in each cell of the table is "top" aligned.  This is the case with all of the tables I inserted into my site.  I have refreshed and waited hours but it still will not vertically align the text in the middle of the cells.  When I go back into the "edit" mode of the HTML boxes, the cells appear as they should with the text vertically aligned in the middle.  So, it seems as though the settings take effect in the HTML box edit mode, but they are not passed on to the database so the changes are captured and displayed all of the other times.
 
Is this a bug?
 
Thanks,
Jeff
5/14/2009 1:09:52 AM
jsduggan
Posts: 52
Joined: 3/19/2009
Re: Problem with cell properties in tables
UPDATE:
 
The problem is not only with the alignment setting.  I tried to add a border using "Image Properties" to an image that I uploaded and inserted.  I set the border to "3" and sure enough it showed up in the HTML editor box propertly.  However, when I clicked "Ok", the change did not carry through and the border is not longer there in Page Editor mode or non-page editor mode. 
 
Bizarre.  Any suggestions?
5/14/2009 11:55:12 AM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Problem with cell properties in tables
Could you please post the url to the page having issue?
DotShoppingCart Staff
5/14/2009 2:28:08 PM
jsduggan
Posts: 52
Joined: 3/19/2009
Re: Problem with cell properties in tables
Luke,
 
Two pages have tables in them:
 
http://portolacoffee.com/Page/AboutUs.aspx
 
http://portolacoffee.com/Page/CoffeeClub.aspx
 
I looked at the HTML code in the HTML Editor which showed the valign = middle, but again, it does not look as though it is writing to the DB.
 
Thanks,
Jeff
5/14/2009 2:45:20 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Problem with cell properties in tables
If you view source, I can see it's there. What makes you think it's not written to DB?
 
<table height="118" width="718" cellspacing="1" cellpadding="0" border="0" align="center">
    <tbody>
        <tr>
            <td valign="middle" bgcolor="#814e2c">
            <div> <span style="color: rgb(218, 181, 90);"><span><span style="font-size: small;"><strong>THE PORTOLA STANDARD... </strong></span></span></span></div>
            <div><span style="color: rgb(218, 181, 90);">Portola is a true handcrafted coffee roaster that chooses intimacy in process over mass-production.  Coffee undergoes
DotShoppingCart Staff
5/14/2009 6:09:23 PM
jsduggan
Posts: 52
Joined: 3/19/2009
Re: Problem with cell properties in tables
I see that it is there in the source code but in my browser all the text in the cells is top aligned vertically, not middle aligned. If you look at the tables you can see the text is pushed up against the top.
 
Look at the "Coffee Club" table and you will see what I am talking about much easier. :  http://portolacoffee.com/Page/CoffeeClub.aspx
5/14/2009 6:36:25 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Problem with cell properties in tables
So it's not something wrong with DotShoppingCart. Try using Firebug or IE developer toolbar to debug your HTML or CSS issue.
DotShoppingCart Staff
5/14/2009 10:25:09 PM
jsduggan
Posts: 52
Joined: 3/19/2009
Re: Problem with cell properties in tables
Luke,
 
I have tried it on Firefox, Internet Explorer, 2 different laptops and 3 desktops.  They are all displaying my webpages the same, which unfortunately is not correct.  Anything properties I change in the HTML editor, whether it be bolding, font size, underlining, are not carrying over and displaying in any browser on any computer.  If the problem was only on one computer I would agree with you that the problem may be with my browser.  But that is not the case.  Multiple computers and multiple browser show the same thing which tells me that Dotshopping cart is not taking the changes I make in the HTML editor and applying them to website. 
5/14/2009 10:32:36 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Problem with cell properties in tables
I have registered "luke" on your site. Please give me administrator role so that I can take a look at your HTML block.
DotShoppingCart Staff
5/14/2009 10:44:49 PM
jsduggan
Posts: 52
Joined: 3/19/2009
Re: Problem with cell properties in tables
Luke, you are now an admin.  Thanks.
5/14/2009 11:00:27 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Problem with cell properties in tables
I was able to change your font just fine. When I was updating the html box I had to wait a long time. Your server doesn't seem to improve much.
DotShoppingCart Staff
Page 1 of 2 (13 posts) << First < Prev 1 2 Next > Last >>