![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
On the page: http://www.scootervilleusa.com/Scooters/Tform.cfm?PID=3 you will see a color bar in one of the table cells. I would like it to be centered. I have the following CSS that goes along with that cell..... prodTable td #Color { margin: 0 auto; } #prodTable #Color div { position: relative; width: 25px; clear: right; float: left; display: list-item; margin-right: 5px; } But for one reason or another, I can't get the information in the cell to be formatted. I've tried a <div align="center"> as well, still not doing it. What am I missing here, I'm sure its something simple...... |
#3
| |||
| |||
|
|
-moz-background-inline-policy: initial;" |
|
This worked for me: td><div id="Color" div align="center"></div div style="background: rgb(255, 0, 0) none repeat scroll 0%; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial;" align="center"></div Steve Grosz wrote: On the page: http://www.scootervilleusa.com/Scooters/Tform.cfm?PID=3 you will see a color bar in one of the table cells. I would like it to be centered. I have the following CSS that goes along with that cell..... prodTable td #Color { margin: 0 auto; } #prodTable #Color div { position: relative; width: 25px; clear: right; float: left; display: list-item; margin-right: 5px; } But for one reason or another, I can't get the information in the cell to be formatted. I've tried a <div align="center"> as well, still not doing it. What am I missing here, I'm sure its something simple...... |
#4
| |||
| |||
|
|
I'm not sure what most of those codes are for......such as: -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial;" jandf wrote: This worked for me: td><div id="Color" div align="center"></div div style="background: rgb(255, 0, 0) none repeat scroll 0%; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial;" align="center"></div Steve Grosz wrote: On the page: http://www.scootervilleusa.com/Scooters/Tform.cfm?PID=3 you will see a color bar in one of the table cells. I would like it to be centered. I have the following CSS that goes along with that cell..... prodTable td #Color { margin: 0 auto; } #prodTable #Color div { position: relative; width: 25px; clear: right; float: left; display: list-item; margin-right: 5px; } But for one reason or another, I can't get the information in the cell to be formatted. I've tried a <div align="center"> as well, still not doing it. What am I missing here, I'm sure its something simple...... |
#5
| |||
| |||
|
|
Neither am I. What I did was save your page as a web page complete and opened it in DW then put my curser in the cell and centered it. Looked great in preview mode. I had never copied a page in that manner before so those <div> tags must be a result of that. Sorry. Fred Steve Grosz wrote: I'm not sure what most of those codes are for......such as: -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial;" jandf wrote: This worked for me: td><div id="Color" div align="center"></div div style="background: rgb(255, 0, 0) none repeat scroll 0%; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial;" align="center"></div Steve Grosz wrote: On the page: http://www.scootervilleusa.com/Scooters/Tform.cfm?PID=3 you will see a color bar in one of the table cells. I would like it to be centered. I have the following CSS that goes along with that cell..... prodTable td #Color { margin: 0 auto; } #prodTable #Color div { position: relative; width: 25px; clear: right; float: left; display: list-item; margin-right: 5px; } But for one reason or another, I can't get the information in the cell to be formatted. I've tried a <div align="center"> as well, still not doing it. What am I missing here, I'm sure its something simple...... |
#6
| |||
| |||
|
|
On the page: http://www.scootervilleusa.com/Scooters/Tform.cfm?PID=3 you will see a color bar in one of the table cells. I would like it to be centered. I have the following CSS that goes along with that cell..... prodTable td #Color { margin: 0 auto; } #prodTable #Color div { position: relative; width: 25px; clear: right; float: left; display: list-item; margin-right: 5px; } But for one reason or another, I can't get the information in the cell to be formatted. I've tried a <div align="center"> as well, still not doing it. What am I missing here, I'm sure its something simple...... |
![]() |
| Thread Tools | |
| Display Modes | |
| |