I had some table data that looked fine in beta 2. They were set with border="1". But alas, with beta 3 css, no matter what I set in the table tag, there are no borders. How do I fix that?
Announcement
Collapse
No announcement yet.
Table changed since beta 2
Collapse
X
-
Table changed since beta 2
Bill Weiland - Emporium Plus http://www.emporiumplus.com/store.mvc
Online Documentation http://www.emporiumplus.com/tk3/v3/doc.htm
Question http://www.emporiumplus.com/mivamodu...vc?Screen=SPTS
Facebook http://www.facebook.com/EmporiumPlus
Twitter http://twitter.com/emporiumplusTags: None
-
Re: Table changed since beta 2
I didn't realize I put it in the wrong forum. Oops.Bill Weiland - Emporium Plus http://www.emporiumplus.com/store.mvc
Online Documentation http://www.emporiumplus.com/tk3/v3/doc.htm
Question http://www.emporiumplus.com/mivamodu...vc?Screen=SPTS
Facebook http://www.facebook.com/EmporiumPlus
Twitter http://twitter.com/emporiumplus
Comment
-
Re: Table changed since beta 2
The one that came with the beta 3 css framework.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
The table that I dropped in the page template used
<table border="1" cellpadding="2" cellspacing="0">
All of the borders disappeared and the padding no longer exists so everything is pushed together. I can't see stores having to edit the css file used for the framework. So that means it will need an inline style in the table tag.
I tried <table style="border-collapse: collapse; border: 1px solid; border-color:#d3d3d3;"> but that does not give me a border in each cell, only on the outside. The table I am trying to fix is at
http://mm55.emporiumplus.com/mm5/mer..._Code=1AA00100
for volume pricing.
This table was fine in beta 2.Bill Weiland - Emporium Plus http://www.emporiumplus.com/store.mvc
Online Documentation http://www.emporiumplus.com/tk3/v3/doc.htm
Question http://www.emporiumplus.com/mivamodu...vc?Screen=SPTS
Facebook http://www.facebook.com/EmporiumPlus
Twitter http://twitter.com/emporiumplus
Comment
-
Re: Table changed since beta 2
Bill,
Try opening the CSS file in your mm5 (or mm5.5-Beta3) folder and changing the "table" tag attributes. Currently, I have border set to 0, which is my preference. If you want to have table borders in specific areas, the idea is to create a parent style for a specific type of table and apply the class or id to all occurences of that type of table (i.e. it holds a specific kind of data). If you want enable borders (albeit transparent initially) on every table, just take "border:0" out of that style.
As far as your border style not showing up in the cells, that's because you've only applied it to the table tag. If you want it to show up on all the cells, you might create a style like this:
table.data td {border: 1px solid #d3d3d3;}
which then says "make a border, color #d3d3d3, around every cell inside a table with the class 'data.'
Comment
-
Re: Table changed since beta 2
This is going to be a support nightmare. There's no way I can tell store owners to go to their mm5 folder and change the css file.
How is it there was not a problem in beta 2 css framework?
Is there no way to fix this without editing the css file?Bill Weiland - Emporium Plus http://www.emporiumplus.com/store.mvc
Online Documentation http://www.emporiumplus.com/tk3/v3/doc.htm
Question http://www.emporiumplus.com/mivamodu...vc?Screen=SPTS
Facebook http://www.facebook.com/EmporiumPlus
Twitter http://twitter.com/emporiumplus
Comment
-
Re: Table changed since beta 2
I put the following in the head tag of the page and it is acceptable now. I had to wrap the table in a div tag with id="volume".
<style type="text/css">
#volume table {
border-collapse: collapse;
border:1px solid #d3d3d3;
padding:2px;
}
#volume td {
border:1px solid #d3d3d3;
padding:2px;
}
</style>
But this is more than the store owner should have to do. There should be an additional table class that has a border in the basic css file. That way it is just a matter of changing the div tag id at the table level.Bill Weiland - Emporium Plus http://www.emporiumplus.com/store.mvc
Online Documentation http://www.emporiumplus.com/tk3/v3/doc.htm
Question http://www.emporiumplus.com/mivamodu...vc?Screen=SPTS
Facebook http://www.facebook.com/EmporiumPlus
Twitter http://twitter.com/emporiumplus
Comment
-
Re: Table changed since beta 2
The second option might be best. Otherwise the store owner would have to know the class names available for the tables.
It would be nice if there was an editor window inside admin for the css file. Otherwise to make a change you have to download it, edit and then upload it back. You'd be surprisd how many folks don't know how to use FTP.Bill Weiland - Emporium Plus http://www.emporiumplus.com/store.mvc
Online Documentation http://www.emporiumplus.com/tk3/v3/doc.htm
Question http://www.emporiumplus.com/mivamodu...vc?Screen=SPTS
Facebook http://www.facebook.com/EmporiumPlus
Twitter http://twitter.com/emporiumplus
Comment
Comment