WeLoveCSS Logo
Home Profile Members Search Rules Help New Posts



WeLoveCSS > WEB DESIGN > HTML & XHTML > Could somebody do this in a table?

Reply
  Thread Tools Display Modes
Old 6th October 08, 05:26 PM   #1
keress
WLC Member
 
Join Date: Oct 2006
Posts: 30
Default Could somebody do this in a table?

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>
I'd also LOVE to find out how to get rid of the blue boxes (indicating they're links) around the linked images in IE. I've tried everything I can think of. Works in Firefox, but not in IE.
keress is offline   Reply With Quote
Old 7th October 08, 07:16 PM   #2
nikaomatix
WLC Member
 
nikaomatix's Avatar
 
Join Date: Oct 2008
Location: Chicago, IL
Posts: 3
Default Re: Could somebody do this in a table?

just enter this into your style section and it will solve it:
img {border:0px;}
nikaomatix is offline   Reply With Quote
Old 8th October 08, 12:37 PM   #3
liam.smart
WLC Lover
 
Join Date: Jun 2008
Posts: 79
Default Re: Could somebody do this in a table?

#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.
liam.smart is offline   Reply With Quote
Reply


Thread Tools
Display Modes
Linear Mode Linear Mode

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:02 AM.



Home | Advertise | Contact Us | Top
Home | Advertise | Contact Us | Top

Copyright© 2006 WeLoveCSS.com. All Rights Reserved.
Powered by vBulletin Version 3.8.4 Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.