Thread: CSS In Tables

    #1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2000
    Location
    Randolph, NJ
    Posts
    36
    Rep Power
    15
    Ok. I have tables. I need them to be right on top of each other with no spaces. But I am forced to use a <p class="news"> to format the text within the table. But this gives me HUGE </p> spaces that I absolutely cannot have. Anyways, any help of minimizing the spaces, but still keep format please let me know.

    Oh, I can't use <font> commands because I have complex formatting. I have already tried that. HeHe.



    ------------------
    ================
    -Khill, www.tsrealm.com
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2000
    Posts
    12
    Rep Power
    0
    What you said doesnt completely make sense to me. Are the <P>'s inside of tables? If I were you, I would not use <P> at all, it's an annoying tag, and from my experience, some browsers (especially older ones) handle it slightly differently. you could use <TD class="news"> so your special formatting would happen inside the tables, then you wouldn't need <P>.

    But maybe I just totally read your post wrong.
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2000
    Location
    Roseburg, OR, USA
    Posts
    23
    Rep Power
    0
    ya like the previous post don't use a <p>. i like <span> for working with text myself but it may not be supported by super old browsers.. good luck.
  6. #4
  7. Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Feb 2000
    Location
    Perth West Australia
    Posts
    757
    Rep Power
    15
    Take a style like...

    <style>
    .mystyle{font-family:arial;font-size:12pt;color:#800000;}
    </style>

    Then in your tables .... <td calss="mystyle>content in blue 12pt arial</td>.

    etc etc

    ------------------
    Simon Wheeler
    FirePages -DHTML/PHP/MySQL

Similar Threads

  1. Tables & CSS... Part 2 (Kinda)
    By coredumped in forum CSS Help
    Replies: 7
    Last Post: February 5th, 2004, 12:43 PM
  2. CSS vs. tables for NEW site layouts?
    By wisconsinative in forum CSS Help
    Replies: 8
    Last Post: January 29th, 2004, 04:34 AM
  3. Moving from tables to CSS
    By bcyde in forum CSS Help
    Replies: 7
    Last Post: October 29th, 2003, 07:10 PM
  4. 3 tables overlapping help (CSS / Javascript)
    By static07 in forum JavaScript Development
    Replies: 2
    Last Post: September 4th, 2003, 06:40 AM
  5. resizable rounded square via CSS or tables?
    By prudek in forum CSS Help
    Replies: 8
    Last Post: August 25th, 2003, 09:13 AM

IMN logo majestic logo threadwatch logo seochat tools logo