Google Community
Latest Forums Rules Resources
Custom Search

Go Back   Google Community > Webmaster Forums > Web Design, Coding & Programming Forum

GoogleCommunity Sponsor
Cirtex Hosting
Use coupon "forum" for 50% Off!

Reply
 
LinkBack Thread Tools Display Modes
Old 02-13-2006, 07:48 AM   #1 (permalink)
Master Googler
 
Join Date: Aug 2004
Location: Europe
Posts: 682
Thanks: 0
Thanked 0 Times in 0 Posts
Ashley
CSS Question

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
Ashley is offline   Reply With Quote
 
Sponsored Links
Old 02-14-2006, 04:29 AM   #2 (permalink)
Microsoft Student Partner
Google Guru
 
darrenstraight's Avatar
 
Join Date: Jul 2004
Location: England
Posts: 5,787
Thanks: 0
Thanked 2 Times in 2 Posts
darrenstraight has disabled reputation
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!
__________________
Visit my Tech Blog!
darrenstraight is offline   Reply With Quote
Old 02-14-2006, 06:51 AM   #3 (permalink)
Master Googler
 
Join Date: Aug 2004
Location: Europe
Posts: 682
Thanks: 0
Thanked 0 Times in 0 Posts
Ashley
I guess that would work, I always make weird solutions that end up not working I've purely learn't through trial and error
Ashley is offline   Reply With Quote
Old 02-14-2006, 02:14 PM   #4 (permalink)
Microsoft Student Partner
Google Guru
 
darrenstraight's Avatar
 
Join Date: Jul 2004
Location: England
Posts: 5,787
Thanks: 0
Thanked 2 Times in 2 Posts
darrenstraight has disabled reputation
Yeah well they do say that Trial and Error is good for learning!!
__________________
Visit my Tech Blog!
darrenstraight is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
A question... Shane@Legion GX Gmail Forum 5 10-16-2006 07:15 PM
Question SugarBlush Chit Chat 7 10-13-2006 06:48 AM
one question ai19hrr Gmail Forum 1 05-12-2005 06:24 PM
A question~~~~ DevilCell Social Networking 17 07-31-2004 07:14 AM


All times are GMT -8. The time now is 02:22 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
© 2004–2007 Google Community