Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Old 03-12-2009, 11:23 AM CSS Margin question
Experienced Talker

Posts: 39
Name: Scott Bronson
Trades: 0
What if I want the color within the margins to be different from outside the margins. How do I do it?
sbronson is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-12-2009, 11:35 AM Re: CSS Margin question
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
You can't.
margins are the space around the outside of the element so will be whatever the background colour/content of the parent element is.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 03-12-2009, 11:36 AM Re: CSS Margin question
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Of course there are ways such an effect can accomplished.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 03-12-2009, 11:43 AM Re: CSS Margin question
Experienced Talker

Posts: 39
Name: Scott Bronson
Trades: 0
Well,, there are sites out there that look there is a different color outside of the margins
sbronson is offline
Reply With Quote
View Public Profile
 
Old 03-12-2009, 12:11 PM Another CSS question
Experienced Talker

Posts: 39
Name: Scott Bronson
Trades: 0
<same topic so two threads merged>
I'm very new at CSS. I visit sites that use CSS and it looks like they have color within the margins they set that are different than outside the margin. How do you do that.

Last edited by chrishirst; 03-12-2009 at 12:23 PM..
sbronson is offline
Reply With Quote
View Public Profile
 
Old 03-12-2009, 12:19 PM Re: CSS Margin question
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Sure and they probably use sized and overlaid elements.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 03-12-2009, 12:22 PM Re: CSS Margin question
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,985
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
or a thick, colored border
__________________
Join me on
Please login or register to view this content. Registration is FREE
wayfarer07 is offline
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Old 03-12-2009, 12:48 PM Re: CSS Margin question
Experienced Talker

Posts: 39
Name: Scott Bronson
Trades: 0
ok look at this site http://www.csstea.com/index.php?start=42 Where the content is, its white, on the outside of that is a different color. That's what I'm trying to understand
sbronson is offline
Reply With Quote
View Public Profile
 
Old 03-12-2009, 01:04 PM Re: CSS Margin question
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
10px wide border plus a heading at the top with a background the same colour as the borders.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to CSS Margin question
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.29202 seconds with 12 queries