Where is this damned padding coming from??, Trying to use blurb module for overlay |
Where is this damned padding coming from??, Trying to use blurb module for overlay |
May 15 2009, 04:03 PM
Post
#1
|
|
|
Newbie ![]() Group: Member Posts: 3 Joined: May 2009 Member No: 728,365 |
Hey all,
I'm pulling my hair out trying to justify the content in my "blurbs" module. I want no padding. Once I can get that fixed, I can upload my div w/ sliced images. Here's the coding I'm using: CODE body { background-color:#FFFFFF; background-image:url(''); background-attachment:fixed; background-position:Top Center; overflow-x:hidden; margin-top: 510px;} div.head { position: absolute; top: 0; left: 50%; margin-left: -411px; width: 798px; height: 510px;} div.blurbsModule h3 {display:none;} div.blurbAboutMe h4 {display:none;} div.blurbLikeToMeet {display:none;} div.basicInfoModule {display:none;} a { text-decoration:none; } a:link, a:active, a:visited { color:#000000; text-decoration:none; } a:hover { color:#000000; text-decoration:underline; } div.footer a { text-decoration:none; } div.footer a:link, a:active, a:visited { color:#000000; text-decoration:none; } div.footer a:hover { color:#000000; text-decoration:underline; } div#header, div#googlebar {background-color: #000000;} #topnav {background-color: #000000;} #topnav a {color: #FFFFFF;} #topnav ul li, #topnav ul {border: none;} #topnav ul li.dropDown:hover a,#topnav ul li.hover a,#topnav ul li.hover a:hover, #topnav ul a:hover {background-color:#000000;color:#d7d0ac;} #topnav li.dropDown:hover ul.subMenu a:hover,#topnav li.hover ul.subMenu a:hover{background-color:#000000; color:#E6E7B9;} #topnav ul li a small,#topnav ul li a:hover small{color:#d7d0ac;} #topnav ul.subMenu {border:0px #000000 solid;border-top:none;} #topnav ul.subMenu li.divider{border-bottom:0px solid #000000;} div.contentMid2 {padding:0px;} div.contentMid1 {padding:0px;} div.contentMid {padding:0px;} div.content {padding:0px;} I've removed comment tags to make it a little easier to read. The HTML is simply two divs in the blurbs section. My test page If you look, The picture I've put in is not left or top justified. I can't for the life of me figure out where this padding is coming from. I want to put in an 800px by 800px image to use as the main area, but obviously I can't do it now as there's white space from somewhere. ![]() Thanks for the help!
Reason for edit: Please use [codebox] tags instead of [code] tags when posting longer codes. - Mike
|
|
|
|
![]() |
May 15 2009, 08:23 PM
Post
#2
|
|
|
Newbie ![]() Group: Member Posts: 3 Joined: May 2009 Member No: 728,365 |
Outstanding, Miguel. Thank you, sir!
I missed that in her tutorial, I'll have to reread it. That's perfect! |
|
|
|
william92371 Where is this damned padding coming from?? May 15 2009, 04:03 PM
Mike Try replacing the bottom of your CSS with this:
C... May 15 2009, 04:13 PM
william92371 It's still floating out there, Mike ;) Thanks ... May 15 2009, 06:20 PM
miguelS This:
div.blurbsModule {margin:0px; padding:0px}
... May 15 2009, 06:41 PM
manny-the-dino Topic Closed & Moved May 15 2009, 09:56 PM![]() ![]() |