|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
....list-style using css not working....
Hello
HRU, I am using list-style with css below y can see code, but that is not adding bullet please let me know how I can fixed that problem as soon as possible. Regards Faisal <html> <head> <style type="text/css"> .inside1 { list-style-position: inside } </style> </head> <body> <table width="100%" border="0" cellspacing="1" cellpadding="0"> <tr> <td class="inside1">Contact Us<br> About Us<br> Services </td> </tr> </table> </body> </html> |
|
#2
|
||||
|
||||
|
list-style only works with list elements
you are trying to use it on a table. Code:
<html>
<head>
<style type="text/css">
.inside1
{
list-style-position: inside
}
</style>
</head>
<body>
<ul class="inside1">
<li>Contact Us</li>
<li>About Us</li>
<li>Services </li>
</ul>
</body>
</html>
|
![]() |
| Viewing: Dev Shed Forums > Web Design > CSS Help > ....list-style using css not working.... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|