Click here to Skip to main content
16,005,552 members
Home / Discussions / Web Development
   

Web Development

 
Questionwebsite development in different language.... Pin
Nagraj Naik19-Dec-06 1:05
Nagraj Naik19-Dec-06 1:05 
AnswerRe: website development in different language.... Pin
Bradml19-Dec-06 1:17
Bradml19-Dec-06 1:17 
QuestionCrystal Reports XI Pin
jagmit2019-Dec-06 0:50
jagmit2019-Dec-06 0:50 
QuestionComboBox custom web/server-side control - where's the data? Pin
howardjr18-Dec-06 18:29
howardjr18-Dec-06 18:29 
AnswerRe: ComboBox custom web/server-side control - where's the data? Pin
howardjr19-Dec-06 15:52
howardjr19-Dec-06 15:52 
GeneralRe: ComboBox custom web/server-side control - where's the data? Pin
howardjr19-Dec-06 16:28
howardjr19-Dec-06 16:28 
GeneralRe: ComboBox custom web/server-side control - where's the data? Pin
howardjr20-Dec-06 10:16
howardjr20-Dec-06 10:16 
QuestionHow do I left align text within a span tag Pin
howardjr18-Dec-06 10:53
howardjr18-Dec-06 10:53 
I have a table with some cells containing span tags that I use to display text values that my javascript code populates and that the user may not change. Other cells in this table contain input text boxes, which the user may change. And before cells containing a span or text box, I have a cell that contains the title of the data displayed in the adjacent cell.

I want both the text boxes and the contents of the spans to be left aligned, and the titles to be right aligned, so I tried using the following CSS style decleration placed before the table elments I want justified:

<style>
    span        { text-align:left  } /* span content - doesn't work */
    table tr td { text-align:right } /* title cell */
</style>


This works well for the input boxes, which are normally left justified and aren't affected by the above style settings, and the titles, but not for the span contents.

Why doesn't the span selector seem to work?
What do I need to do to make the text in the spans left justify?

Thank you
AnswerRe: How do I left align text within a span tag Pin
George L. Jackson18-Dec-06 12:38
George L. Jackson18-Dec-06 12:38 
GeneralRe: How do I left align text within a span tag Pin
howardjr18-Dec-06 13:56
howardjr18-Dec-06 13:56 
GeneralRe: How do I left align text within a span tag Pin
George L. Jackson18-Dec-06 14:04
George L. Jackson18-Dec-06 14:04 
GeneralRe: How do I left align text within a span tag Pin
howardjr18-Dec-06 18:16
howardjr18-Dec-06 18:16 
GeneralRe: How do I left align text within a span tag Pin
George L. Jackson19-Dec-06 1:54
George L. Jackson19-Dec-06 1:54 
GeneralRe: How do I left align text within a span tag Pin
howardjr19-Dec-06 5:54
howardjr19-Dec-06 5:54 
QuestionIE with JS Pin
militiaware16-Dec-06 22:47
militiaware16-Dec-06 22:47 
JokeRe: IE with JS Pin
Bradml16-Dec-06 23:30
Bradml16-Dec-06 23:30 
GeneralRe: IE with JS Pin
militiaware16-Dec-06 23:43
militiaware16-Dec-06 23:43 
GeneralRe: IE with JS Pin
Bradml17-Dec-06 0:06
Bradml17-Dec-06 0:06 
GeneralRe: IE with JS Pin
JimmyRopes17-Dec-06 17:42
professionalJimmyRopes17-Dec-06 17:42 
AnswerRe: IE with JS Pin
Guffa17-Dec-06 0:10
Guffa17-Dec-06 0:10 
GeneralRe: IE with JS Pin
militiaware17-Dec-06 0:14
militiaware17-Dec-06 0:14 
AnswerRe: IE with JS Pin
Guffa17-Dec-06 6:18
Guffa17-Dec-06 6:18 
AnswerRe: IE with JS Pin
militiaware17-Dec-06 4:12
militiaware17-Dec-06 4:12 
Questionxhtml and footers Pin
Jeremy Falcon16-Dec-06 4:26
professionalJeremy Falcon16-Dec-06 4:26 
AnswerRe: xhtml and footers Pin
Bradml16-Dec-06 5:30
Bradml16-Dec-06 5:30 

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.