The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> CSS_Width applied to <td>
Brian Chandler
post Oct 25 2007, 01:48 PM
Post #1


Jocular coder
********

Group: Members
Posts: 2,460
Joined: 31-August 06
Member No.: 43



Can someone explain what the effect should be of applying something like the following:

TD.something {
width: 85mm;
}

Can I reasonably assume that this will make a <td class=something> at least 85 mm wide (or the CSS reinterpretation of "wide", adjusting for padding, margin, and border)?

User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post Oct 25 2007, 02:11 PM
Post #2


WDG Member
********

Group: Root Admin
Posts: 8,365
Joined: 4-August 06
From: Mountain View, CA
Member No.: 3



Yes, the width of the content area should be 85 mm wide, assuming that the browser has some idea of the true resolution of the display. And yes, padding, borders, and border spacing (in the separated borders model) are outside the width of the content area (according to CSS).
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 16th April 2024 - 09:19 AM