![]() |
|
||||||||||
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
|||||
|
|
#1 |
|
WLC Member
Join Date: Oct 2006
Posts: 30
|
Oops, I meant, could somebody do this in CSS? (Can't edit my title)
I struggled with this simple thing for over an hour and still couldn't get CSS to do what takes two minutes with a table. Could somebody please show me how to reproduce what's here http://www.addiva.net/sister-site-table.html in CSS? Code:
<style>
#sister-sites {
height: 200px;
width: 400px;
margin-right: auto;
margin-left: auto;
}
#sister-sites a {
text-decoration: underline;
color: #FFFFFF;
}
</style>
</head>
<body>
<div id="sister-sites">
<table width="400">
<tr>
<td>Visit our Sister Sites:</td>
<td width="231" rowspan="2"><a href="http://www.passionatepossibility.com/"><img src="http://www.addiva.net/wp-content/themes/ADDiva/images/passionate-possibility.jpg" alt="Passionate Possibility" width="193" height="52" /></a></td>
</tr>
<tr>
<td width="157"><a href="http://web.mac.com/lroggli/GardenSpirit/Home.html"><img src="http://www.addiva.net/wp-content/themes/ADDiva/images/garden-spirit-2.jpg" alt="Garden Spirit Retreats" width="184" height="28" /></a></td>
</tr>
</table>
</div>
|
|
|
|
|
|
#2 |
|
WLC Member
Join Date: Oct 2008
Location: Chicago, IL
Posts: 3
|
just enter this into your style section and it will solve it:
img {border:0px;} |
|
|
|
|
|
#3 |
|
WLC Lover
Join Date: Jun 2008
Posts: 79
|
#sister-sites{
width:385px; } #sister-sites a{ float:left; } this will give you the grid type layout.
__________________
Many Thanks, Liam To view links or images in signatures your post count must be 5 or greater. You currently have 0 posts. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
Linear Mode |
|
|