Not Displaying Tables right - Post ID...

User 2167305 Photo


Registered User
51 posts

Hey there again :D. I am working on a website and went to add the price list, when i uploaded (and used the preview in the Editor) The table is not showing up right. it is showing up with out a border around it. You can see what i am talking about here: http://test.silvervalleypoultry.com/price-list.html

table HTML code
<table border= "3">
<tr>
<th>Breed</th>
<th>Price per chick</th>
<th>Price per started brid</th>
<th>Price per adult bird</th>
<th>Egg Price</th>
<th>Colour</th>
</tr>
<tr>
<td><a href="../poultry/australorps.html">Australorp</a></td>
<td>4.25</td>
<td>12.50</td>
<td>25.00</td>
<td>1.25</td>
<td>Blue,Black,Splash</td>
</tr>
<tr>
<td><a href="../poultry/silver_penciled_rock.html">Rock</a></td>
<td>6.50</td>
<td>25.00</td>
<td>Not Available</td>
<td>1.50</td>
<td>Silver Penciled</td>
</tr>
<tr>
<td><a href="../poultry/buff-cochin-bantams.html">Cochin Bantam</a></td>
<td>Limted Email me</td>
<td>Not Available</td>
<td>Not Available</td>
<td>Not Available</td>
<td>Buff</td>
</tr>
<tr>
<td><a href="../waterfowl/blue_black_runner_ducks.html">Runner ducks</a></td>
<td>6.00</td>
<td>Not Available</td>
<td>Not Available</td>
<td>Not Available</td>
<td>Blue/Black</td>
</tr>
<tr>
<td><a href="../waterfowl/muscovey.html">Muscovey</a></td>
<td>6.00</td>
<td>17.50</td>
<td>25.00</td>
<td>Not Available</td>
<td>Coloured &amp; White</td>
</tr>
</table>


Thanks
User 187934 Photo


Senior Advisor
20,266 posts
Online Now

In IE8 and Chrome there's no boarders. FF there's boarders around items.:/
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2167305 Photo


Registered User
51 posts

This is wired. I use Chrome. In FF there are the borders around them but not fully around them. Any ideas on what is cosing this?
User 122279 Photo


Senior Advisor
14,624 posts
Online Now

I guess this is based on the same css file as the file I was looking at earlier today to help you fix the menu?

Well, in the reset part of your css you have listed a lot of things, among them table, with border: 0;

the best bet would be if you write a style for table below, among the declarations, like e.g.

table{
border: 3px;}


And then you can remove the border html code from the html file.
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 2167305 Photo


Registered User
51 posts

Inger Eik wrote:
I guess this is based on the same css file as the file I was looking at earlier today to help you fix the menu?

Well, in the reset part of your css you have listed a lot of things, among them table, with border: 0;

the best bet would be if you write a style for table below, among the declarations, like e.g.

table{
border: 3px;}


And then you can remove the border html code from the html file.


That still never got the lines around the table to show up
User 126492 Photo


Ambassador
1,525 posts

That is the wrong css for putting a border round anything, try this, you can change the colour, 3px is a little big also.


table{
border: 1px solid #435ccc;
}
Jim
---------------------------
User 2167305 Photo


Registered User
51 posts

Hi Jim,

Thanks that works, but i would like each bit of Data to be in a cell like that
User 2167305 Photo


Registered User
51 posts

Ok i have got it now useing the code Jim posted
User 126492 Photo


Ambassador
1,525 posts

You can try this:-

td {
border: 1px solid #000000;
}


Again change the colour, you can have it a different colour to the Table border. You can have each cell with a different border colour but it means you add a class to each one, having them all the same colour is easier.
Jim
---------------------------

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.