Hey all, I'm got a basic grasp of css but am having trouble recreating this: I can style everything just fine, but I can't get each location/phone number pair to sit next to each other. I can only get them to sit on top of each other. I've tried every way I know how but I'm really just guessing in the dark. If anyone has any idea I'd appreciate it, thanks!
Use a table: <html> <body> <table cellspacing='5px'> <tr><td>East Valley</td><td>West Valley</td><td>Phoenix</td></tr> <tr><td>480-555-1234</td><td>623-555-1234</td><td>602-555-1234</td></tr> </table> </body> </html> HTML: Or an inline list: <html> <style type='text/css'> <!-- li { float:left; list-style-type: none; padding: 10px;} --> </style> <body> <ul> <li>East Valley<br />480-555-1234</li> <li>West Valley<br />623-555-1234</li> <li>Phoenix<br />602-555-1234</li> </ul> </body> </html> HTML: I'm still learning this stuff, so there maybe better ways of doing it