Jump to content
Killersites Community
Sign in to follow this  
Justinfh2Point0

Is This Piece of CSS Correct?

Recommended Posts

I believe what you are trying to make is the div in center of the margins to be 100% of the space, to use %'s in margins I believe you would make 0% on both to achieve that...

 

I believe what you would have with what you have written is 0% on left, 100% on right & no space in between.

Share this post


Link to post
Share on other sites

@Joker - I'm pretty sure this was intended as a joke...

 

I hope so, how else will you get Marge in anywhere but the right side... unless Marge is really really really fat that she can stand to one side and still appear on the other side... but I would not say that out loud.

 

{I is 7:20 AM and I have had no Mountain Dew to wake me up, I take no credit for any jokes considered not funny at this time...}

Share this post


Link to post
Share on other sites

Ah...funny.

 

Here's my two-bits worth about Democrats. All in good fun I might add. All are actual CSS.

 

.democrats {

background: #A2FACE; /* A Two Face */

dominant-baseline:ideographic;

fit-position:left;

font-family:Jokerman; /* yep, it's a font */

list-style-type:square;

overflow: hidden;

perspective:none;

richness:inherit;

speech-rate:slow;

target-position:behind;

visibility:hidden;

voice-balance:leftwards;

volume:silent;

}

Share this post


Link to post
Share on other sites

If the positioning is absolute you wouldn't use margins to position the div or class, wouldn't you just use left or right.

 

.Republicans{

position:absolute;

left:0;

right:100%;

}

Share this post


Link to post
Share on other sites

If the positioning is absolute you wouldn't use margins to position the div or class, wouldn't you just use left or right.

 

.Republicans{

position:absolute;

left:0;

right:100%;

}

I think you've missed the humor on this topic. :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×