Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
ChuckRWD #1
Vertical Positioning of Site
Ok, I am stumped! I am a new developer, and I cannot seem to make my sites
align vertically to the top of the window. I have tried this many times, but
with no luck. Here is what I am working on now,
[url]http://69.2.200.145/benson/index.htm[/url], and I want it so the gray background
cannot be seen at the top or the bottom, only on the sides of the page,
depending on the resolution. How can I accomplish this task? What is the
proper code? I've tried a bunch of different thingsm but nothing seems to work!
Thanks,
Chuck
ChuckRWD Guest
-
positioning
im trying to move a div tag to the right side, ive tried using "float" but it doesnt work the way i want it to. i tried setting its position as... -
Layer positioning
I'm building a DHTML menu system but I am having the problem of positioning the layers on different page widths. I know the problem is that I am... -
CSS Div Positioning
Anybody know how to cause a DIV to be aligned to the bottom of the page? If you go to: http://www.tilaru.com/NewSite/index.php you'll see that my... -
div - relative positioning
I'm having a tad bit of difficulty understanding how to get to div's to align side-by-side. Very very basic layout here... I have a #header at... -
vertical positioning
Hi, Does anyone have a (relatively) reliable method of positioning a positionable element in the vertical centre (or other proportion) of a... -
jrod49 #2
Re: Vertical Positioning of Site
Add a margin rule to the body style and set the the top and bottom margins to 0px each.
jrod49 Guest
-
ChuckRWD #3
Re: Vertical Positioning of Site
jrod49-
Thanks! Another question....this will sound stupid, I'm sure, but can you script out how you would add that margin rule to the body style? Thanks,
Chuck
ChuckRWD Guest
-
jrod49 #4
Re: Vertical Positioning of Site
You currently have this in your web page:
<style type="text/css">
<!--
body {
background-color: #333333;
}
-->
</style>
Change it to:
<style type="text/css">
<!--
body {
background-color: #333333;
margin-top: 0px;
margin-bottom:0px;
}
-->
Glad to help!
jrod49 Guest



Reply With Quote

