1
chefry
Can someone help with my CSS
  • 2007/8/7 21:41

  • chefry

  • Home away from home

  • Posts: 1005

  • Since: 2006/10/14


I know what the problem is, it's not showing table cell borders.

I know the fix. Someone here told me how to do it.

But I DON'T know where to put the commands.

Can someone please help me with this. I can email you, PM you or attach the css and the changes here, that need to be made.

Thanks
Frank

2
incama
Re: Can someone help with my CSS
  • 2007/8/8 9:10

  • incama

  • Friend of XOOPS

  • Posts: 513

  • Since: 2003/10/24


Quote:

chefry wrote:
I know what the problem is, it's not showing table cell borders.


Don't know what you really mean. If you want your table cells show borders insert:
td {border1px solid #000;}

into your stylesheet, remember, doing so will give all your tables td's a border.

Maybe it's better you post something visual so that we can help you better;)
Webdesign
Sitting Ducks?!
I hate politics, give me a stylie instead...

3
chefry
Re: Can someone help with my CSS
  • 2007/8/8 22:41

  • chefry

  • Home away from home

  • Posts: 1005

  • Since: 2006/10/14


I was told I had to put this coding in my css

table {border: none; width: 100%; font-size: 11px; }
table td { padding: 0; border: none; border-bottom: solid grey 1px; vertical-align: top; border-collapse: collapse}

With the instructions to change border:none to whatever I wanted.

But I don't know where to put it. I tried some experimenting but that only screwed up my site

4
Moonrakre
Re: Can someone help with my CSS
  • 2007/8/14 8:14

  • Moonrakre

  • Just popping in

  • Posts: 30

  • Since: 2005/12/6


What I did to fix this was to go to the theme that I was using and change the style.css. It had an entry:
Quote:
table td {
padding: 0;
border-width: 0;
vertical-align: top;
}



So I changed it to:Quote:
table td {
padding: 0;
border-width: 1px;
vertical-align: top;
}


There is also an issue with cell padding so what mine actually says is:
Quote:
table td {
padding: 3px;
border-width: 1px;
vertical-align: top;
}


Hope this helps,

Best wishes

Adrian

5
Moonrakre
Re: Can someone help with my CSS
  • 2007/8/15 15:25

  • Moonrakre

  • Just popping in

  • Posts: 30

  • Since: 2005/12/6


Of course what I wrote yesterday applies the same borders and padding to all tables on the site, including those used for headers and menus.

I have now removed the two lines from the style.css and that is better. The border and padding is set at each table and so you have more control.

Best wishes

Adrian

6
vaughan
Re: Can someone help with my CSS
  • 2007/8/15 18:44

  • vaughan

  • Friend of XOOPS

  • Posts: 680

  • Since: 2005/11/26


and remember IE & firefox treat padding differently. so it may look good in firefox, but awful in IE or vice versa.

i think (but don't quote me) the trick is to use margins aswell as padding in some cases depending on what you want to achieve.

Login

Who's Online

201 user(s) are online (168 user(s) are browsing Support Forums)


Members: 0


Guests: 201


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits