- 2,281
i have worked in web development for 4 or so years now and something has always puzzled me....it concerns the use of inline styles compared to a seperate stylesheet...
okay, this is the deal....
using the text-align style...
stylesheet version:
.body {text-align:justify}
inline style version
<font style="text-align:justify">blah blah</font>
the justify attribute doesnt work when used in the second instance....try it...the text just won't justify if you use it in this way....it shooooould....but it dont...assuming that there is enough text between the font tags to justify..
explain this please....books never do....
btw, there is no syntax problems....
this works
<font style"font-family:verdana">blah blah</font> so why doesnt text-align?
okay, this is the deal....
using the text-align style...
stylesheet version:
.body {text-align:justify}
inline style version
<font style="text-align:justify">blah blah</font>
the justify attribute doesnt work when used in the second instance....try it...the text just won't justify if you use it in this way....it shooooould....but it dont...assuming that there is enough text between the font tags to justify..
explain this please....books never do....
btw, there is no syntax problems....
this works
<font style"font-family:verdana">blah blah</font> so why doesnt text-align?