Click here to Skip to main content
15,892,199 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: CSS problems [modified] Pin
Guffa28-May-06 21:33
Guffa28-May-06 21:33 
GeneralRe: CSS problems [modified] Pin
Megan Forbes29-May-06 0:02
Megan Forbes29-May-06 0:02 
AnswerRe: CSS problems [modified] Pin
Shog928-May-06 20:17
sitebuilderShog928-May-06 20:17 
GeneralRe: CSS problems Pin
Megan Forbes28-May-06 20:21
Megan Forbes28-May-06 20:21 
GeneralRe: CSS problems Pin
Shog928-May-06 20:25
sitebuilderShog928-May-06 20:25 
GeneralRe: CSS problems Pin
Megan Forbes28-May-06 23:46
Megan Forbes28-May-06 23:46 
GeneralRe: CSS problems Pin
Megan Forbes28-May-06 23:55
Megan Forbes28-May-06 23:55 
AnswerRe: CSS problems [modified] Pin
Guffa28-May-06 21:19
Guffa28-May-06 21:19 
Shog9 wrote:
Megan Forbes wrote:
padding: 0;

Should add UOM to this as well (0px).


After the value zero, the unit identifier is optional.

I always omit the unit when the value is zero. A unit after a zero value doesn't convey any information as the value is the same regardless of the unit, and I find it easier to read the code without it.

Compare:

padding: 0px 0px 9px 0px;

to:

padding: 0 0 9px 0;


---
b { font-weight: normal; }

GeneralRe: CSS problems Pin
Shog928-May-06 22:00
sitebuilderShog928-May-06 22:00 
GeneralRe: CSS problems [modified] Pin
Richard Parsons30-May-06 5:14
Richard Parsons30-May-06 5:14 
AnswerRe: CSS problems [modified] Pin
Guffa30-May-06 23:02
Guffa30-May-06 23:02 
GeneralRe: CSS problems [modified] Pin
Richard Parsons31-May-06 11:27
Richard Parsons31-May-06 11:27 
GeneralRe: CSS problems [modified] Pin
Megan Forbes31-May-06 2:14
Megan Forbes31-May-06 2:14 
GeneralRe: CSS problems [modified] Pin
Shog931-May-06 4:19
sitebuilderShog931-May-06 4:19 
GeneralRe: CSS problems [modified] Pin
Megan Forbes31-May-06 12:55
Megan Forbes31-May-06 12:55 
AnswerRe: CSS problems [modified] Pin
Richard Parsons31-May-06 11:33
Richard Parsons31-May-06 11:33 
GeneralRe: CSS problems [modified] Pin
Megan Forbes31-May-06 12:54
Megan Forbes31-May-06 12:54 
QuestionChange HTML element style in webbrowser2 Pin
marxafd27-May-06 15:01
marxafd27-May-06 15:01 
QuestionUpdate DataGrid -asp.net Pin
Zuhair Rizvi27-May-06 11:27
Zuhair Rizvi27-May-06 11:27 
Generalput your code here Pin
Reza Raad27-May-06 22:10
Reza Raad27-May-06 22:10 
GeneralRe: put your code here Pin
Zuhair Rizvi28-May-06 12:15
Zuhair Rizvi28-May-06 12:15 
AnswerRe: Update DataGrid -asp.net Pin
vkaushik00129-May-06 19:21
vkaushik00129-May-06 19:21 
GeneralRe: Update DataGrid -asp.net Pin
Zuhair Rizvi2-Jun-06 4:11
Zuhair Rizvi2-Jun-06 4:11 
QuestionValidation Control - asp.net Pin
aransiola27-May-06 7:44
aransiola27-May-06 7:44 
AnswerRe: Validation Control - asp.net Pin
Kevin McFarlane27-May-06 11:52
Kevin McFarlane27-May-06 11:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.