Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

Closed Thread
 
Thread Tools Display Modes
  #1  
Old 01-28-2011, 12:18 AM
Kyris Kyris is offline
Member
 
Join Date: Jan 2011
Posts: 34
Gender: Female
Credits: 5,102
Kyris is on a distinguished road
Default Trying to fix up adopting layout

Been fighting with this piece for hours and I can't fix it like I want it to look like.

Essentially I want a space between the adoptables and I can't figure out how to do it. That's pretty much it ^^ Here's the coding I used;

The tweaked part in adopt.php

PHP Code:
if($canadopt == "yes"){

//If we can adopt the adoptable, show the image and adoption link...

$article_content $article_content."<p><span class='eggs'>
<p><a href='adopt.php?id="
.$aid."'><img src='".$eggimage."' border='0'></a></p>";

    if(
$isloggedin == "yes"){
    
$article_content $article_content."<p><b><a href='adopt.php?id=".$aid."'>Adopt ".$type."</a></b></p></span></p>";
    }
    else{
    
$article_content $article_content."<p><img src='templates/icons/no.gif' border=0> <b>".$guesterror."</b></p>";
    }



And the CSS style I came up with;

Code:
.eggs {
float: left;
padding: 10px;
text-decoration: none;
background: #f7f7f2;
border: 1px dotted #000000;
-moz-border-radius: 10px;
border-radius: 10px;
}
Attached is the current site, and basically I'm just looking to have a space in between each pet.

Would (again!) love to have some help for this :)
Attached Images
File Type: jpg screenie2.jpg (72.3 KB, 17 views)
  #2  
Old 01-28-2011, 02:12 AM
fadillzzz fadillzzz is offline
Dev Staff
 
Join Date: Jan 2010
Posts: 501
Gender: Male
Credits: 32,891
fadillzzz is an unknown quantity at this point
Default

Just add a margin property to that css and set it to something like 5 px
  #3  
Old 01-28-2011, 03:04 AM
Kyris Kyris is offline
Member
 
Join Date: Jan 2011
Posts: 34
Gender: Female
Credits: 5,102
Kyris is on a distinguished road
Default

It works beautifully! Fadillzzz, I could honestly KISS you right now
  #4  
Old 01-28-2011, 08:35 AM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 334,725
Hall of Famer is on a distinguished road
Default

You actually designed a pretty nice page, just play around with css and you will get even better. ^^
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
  #5  
Old 01-28-2011, 10:23 AM
Kaeliah's Avatar
Kaeliah Kaeliah is offline
Premium Member
 
Join Date: Sep 2010
Location: Pennsylvania, United States
Posts: 485
Gender: Female
Credits: 32,384
Kaeliah will become famous soon enough
Send a message via AIM to Kaeliah Send a message via MSN to Kaeliah
Default

Solved = Locked
__________________
[My Shop] ♥ [My Blog] ♥ [Subscribe] ♥ [My Mods] ♥ [Mod TOS]
Closed Thread


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
pounding/adopting... maybe bug? not sure... Mortain Questions and Supports 2 12-02-2015 05:22 AM
Limit at adopting kristhasirah Questions and Supports 1 11-30-2012 02:55 AM
Adopting not working StarGirl Questions and Supports 7 03-07-2012 12:52 AM
Confirmation window when adopting? Quillink Suggestions and Feature Requests 2 07-21-2009 04:52 AM
Change the link for adopting trollis76 Questions and Supports 3 04-20-2009 12:22 AM


All times are GMT -5. The time now is 03:47 PM.

Currently Active Users: 9293 (0 members and 9293 guests)
Threads: 4,080, Posts: 32,024, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636