Google Community Chat
 
CSS Question

You're visiting Google Community as a guest.
In order to post, you'll need to register and log in.


(If you were registered and logged in, these advertisements wouldn't be here)
Post new topic   Reply to topic    Google Community Forum Index // Web Design, Coding & Programming Forum
   
Author Message
Ashley
Master Googler
Master Googler


Joined: 10 Aug 2004
Location: Europe
4717.85 GC$

Items

PostPosted: Mon Feb 13, 2006 8:48 am    Post subject: CSS Question Reply with quote
I wondered whether there was a CSS rule to make a div tag a certain amount higher than the content within it and if so what is the rule?


Thanks in advance Smile
_________________
Fusionart Design Studio
Back to top
View user's profile Send private message Send e-mail Visit poster's website
darrenstraight
Site Admin & Platinum Member
Site Admin & Platinum Member


Joined: 25 Jul 2004
Location: England
173385.09 GC$

Items

PostPosted: Tue Feb 14, 2006 5:29 am    Post subject: Reply with quote
I've wondered this too before but couldn’t you just add padding or margins?

<div id="content">
Content goes here!
</div>

content{
width: 100%;
margin: 30px;
padding: 30px;
}

p.s. Welcome back, a lot has happend since youve been away! Smile
_________________
My Blog | Microsoft Discussion
Back to top
View user's profile Send private message Visit poster's website
Ashley
Master Googler
Master Googler


Joined: 10 Aug 2004
Location: Europe
4717.85 GC$

Items

PostPosted: Tue Feb 14, 2006 7:51 am    Post subject: Reply with quote
I guess that would work, I always make weird solutions that end up not working :p I've purely learn't through trial and error Smile
_________________
Fusionart Design Studio
Back to top
View user's profile Send private message Send e-mail Visit poster's website
darrenstraight
Site Admin & Platinum Member
Site Admin & Platinum Member


Joined: 25 Jul 2004
Location: England
173385.09 GC$

Items

PostPosted: Tue Feb 14, 2006 3:14 pm    Post subject: Reply with quote
Yeah well they do say that Trial and Error is good for learning!!
_________________
My Blog | Microsoft Discussion
Back to top
View user's profile Send private message Visit poster's website
Sponsored Links
Posted: 6 Jan 2009 9:21 pm    Post subject: Advertisements
Back to top
Post new topic   Reply to topic    Google Community Forum Index // Web Design, Coding & Programming Forum All times are GMT - 8 Hours
Page 1 of 1


 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Host your free forums with Invision Plus.net forum web hosting with your own subdomain.

alexisBlue v1.2 // Theme Created By: Andrew Charron // Icons in Part By: Travis Carden

© 2005-2006 Google Community

Powered by phpBB

Privacy Policy | Contact Us

Powered by Google Search blog

This website is not affiliated in any way with Google, Inc.
Google™ is a registered trademark of Google, Inc.