www.webdeveloper.com
Results 1 to 2 of 2

Thread: Ignore padding?

  1. #1
    Join Date
    May 2004
    Posts
    442

    Ignore padding?

    I have a table that uses css to set left and right padding to keep the text from the border. Some of the cells in the table have different background colours. The background cell colors ignore the css padding.
    Now I want to replace the table with pure css.The but the problem is that I can't work out how to define areas like the cells that ignore the padding of the larger area.

  2. #2
    Join Date
    Feb 2003
    Location
    Michigan, USA
    Posts
    5,773
    What browser are you using? Also, does your HTML file have a full doctype so the browser is working in Standards mode, and are the background colors added using CSS or the bgcolor HTMl attribute?

    You'll find that mixing CSS and presentational HTML together doesn't jive in a lot of browsers. Especially Internet Explorer. Could you post your CSS and HTML?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles