1 of 2
1
Basic Margin/Padding Question
Posted: 28 January 2010 02:07 PM   [ Ignore ]
Newbie
Rank
Total Posts:  1
Joined  2010-01-28

Please see URL: http://www.freedommd.com/2010HdsIndex2.html

CSS is validated.

Div #Intro (directly under the “About Us” title) contains only a left padding value. #Intro is contained within div #HdsBodyBkgrnd, with margin and padding set to “0” (both styles included below).

Why then, is the #Intro div’s placement displayed correctly in browser view (it looks as if it has about an 80px top padding when in fact it has a 0px top padding), but the left padding of 39px is respected? Why isn’t it displayed flush against the top in a browser, as it is in design view (attached .jpg)?

More specifically, what property am I missing here that’s causing this top padding (or margin) issue?

Thank you,

John

#HdsBodyBkgrnd {
    height559px;
    
width700px;
    
background-imageurl(../images/2010HdsIndex2_04.jpg);
    
background-repeatno-repeat;
    
margin:0;
    
padding:0;
}

#Intro {
    
width:520px;
    
padding:0 0 0 39px;
}

Image Attachments
Margins1.jpg
Profile
 
 
Posted: 29 June 2010 03:56 AM   [ Ignore ]   [ # 1 ]
Newbie
Avatar
Rank
Total Posts:  2
Joined  2010-06-28

Yeah, I confirm - 404 page not found.. this is what I get:
We’re sorry. The page you thought would be here is either gone or somewhere else, so you’ve received the dreaded 404 Page Not Found message.
Hmm, unexpected problems over there?

Profile
 
 
Posted: 06 August 2010 03:03 PM   [ Ignore ]   [ # 2 ]
Newbie
Rank
Total Posts:  12
Joined  2010-08-02

did you have a global browser reset implemented? i always start off by resetting everything, there are a few premade browser resets around just do a google search.
________________________________________________________________________________________________________________________________________________________________________
pastry chef jobs| heart rate monitors| anti wrinkle products|polar f55| ps3 consoles

Profile
 
 
Posted: 10 August 2010 12:37 AM   [ Ignore ]   [ # 3 ]
Newbie
Rank
Total Posts:  1
Joined  2010-08-10

I am having difficulty getting my page to show up correctly at various browser zoom settings.
The content is aligned if the user is zoomed out on the page, but once they zoom too far out and refresh the page, or if they are too zoomed in and the page loads, then the content pane is shifted.
This does not seem to be an issue in firefox, but it is a very serious issue in chrome/safari/iexplore and on the iPad.

What can I do to ensure that the main content loads in the correct position regardless of user browser settings?

Hotel
Motel

Profile
 
 
Posted: 14 October 2010 08:52 AM   [ Ignore ]   [ # 4 ]
Newbie
Rank
Total Posts:  2
Joined  2010-10-14

Error 404 page for me

_______________________
paris hilton - Kim Kardashian

Profile
 
 
Posted: 17 October 2010 10:47 AM   [ Ignore ]   [ # 5 ]
Newbie
Rank
Total Posts:  2
Joined  2010-10-17

Error 404 :S:S

Profile
 
 
Posted: 21 October 2010 05:14 AM   [ Ignore ]   [ # 6 ]
Newbie
Rank
Total Posts:  12
Joined  2010-09-27

Yep, I’m getting a 404 as well. You may have more serious problems than you thought!

Profile
 
 
Posted: 24 October 2010 03:23 AM   [ Ignore ]   [ # 7 ]
Newbie
Rank
Total Posts:  11
Joined  2010-10-24

I get:

404 Page Not Found
The Page You Are Looking For Isn’t Here

We’re sorry. The page you thought would be here is either gone or somewhere else, so you’ve received the dreaded 404 Page Not Found message.

not working for me as well

Profile
 
 
Posted: 17 January 2011 07:59 PM   [ Ignore ]   [ # 8 ]
Sr. Member
RankRankRankRank
Total Posts:  133
Joined  2010-04-23

I get a 404 error but I don’t understand your question. You’re asking why is something working as expected?
_____________________________________
Sudoku - Play Flash Games - Play Flash Games

Profile
 
 
Posted: 18 January 2011 09:26 AM   [ Ignore ]   [ # 9 ]
Newbie
Rank
Total Posts:  2
Joined  2011-01-18

Hi. I wanted to drop you a quick note to express my thanks. I’ve been following your blog for a month or so and have picked up a ton of good information as well as enjoyed the way you’ve structured your site
Austin Homes For Sale

Profile
 
 
Posted: 18 January 2011 02:04 PM   [ Ignore ]   [ # 10 ]
Newbie
Rank
Total Posts:  15
Joined  2011-01-17

I have no idea why that table won’t let the div goto the top.

Profile
 
 
Posted: 18 January 2011 03:01 PM   [ Ignore ]   [ # 11 ]
Jr. Member
RankRank
Total Posts:  44
Joined  2010-10-13

I figured it out. What was happening was that when a style is applied to a

Profile
 
 
Posted: 19 January 2011 09:06 AM   [ Ignore ]   [ # 12 ]
Newbie
Rank
Total Posts:  23
Joined  2011-01-06

Since IE doesn’t seem to support specifying left and right or top and bottom,

Profile
 
 
Posted: 20 January 2011 06:24 AM   [ Ignore ]   [ # 13 ]
Newbie
Rank
Total Posts:  1
Joined  2011-01-19

Me either . .I’ve just tested the link and forbidden 404 error pops up. What’s wrong with this stuff anyway?

Profile
 
 
Posted: 21 January 2011 07:09 AM   [ Ignore ]   [ # 14 ]
Newbie
Rank
Total Posts:  12
Joined  2011-01-17

So much code for something as simple as this.

Profile
 
 
Posted: 22 January 2011 07:08 AM   [ Ignore ]   [ # 15 ]
Jr. Member
RankRank
Total Posts:  39
Joined  2010-10-06

When using these properties, we’re primarily working with the <div> tag, which you may not have been properly introduced to yet.

Profile
 
 
   
1 of 2
1