Jump to content


header and browser window


6 replies to this topic

#1 jonerator

    Young Padawan

  • Members
  • Pip
  • 4 posts

Posted 30 June 2005 - 01:56 PM

First, this is a wonderful site, I will enjoy learning here.

I apologize in advance, I was unable to find what I was looking for via search.


My question: I am trying to figure out how to make my website seamless from the header to the actual browser window, no gap. I'm using DreamweaverMX soon to have DW MX04.

example:
Posted Image

#2 Jaymz

    Retired P2L Staff

  • Members
  • PipPipPipPip
  • 4,104 posts

Posted 30 June 2005 - 02:57 PM

Before your </head> put this:

<style type="text/css">

BODY {margin: 0px;}

</style>

;)

#3 jonerator

    Young Padawan

  • Members
  • Pip
  • 4 posts

Posted 30 June 2005 - 03:24 PM

;)

Thankyou so much!

#4 syndrome

    P2L patient #4819

  • Twodded Staff
  • PipPipPipPip
  • 1,311 posts
  • Location:Nottingham, UK
  • Interests:Photoshop, Tennis, PS2, web design, CS:S

Posted 30 June 2005 - 03:59 PM

jaymz that does it all sides, what do you do to get just top margin?

#5 funkysoul

    The Funky Stuff

  • Publishing Betazoids
  • PipPipPipPip
  • 2,307 posts
  • Gender:Male
  • Location:Zurich, Switzerland
  • Interests:Music: HIM, HIM, HIM, Cafe del Mar, Linkin Park, Fort Minor, Coldplay, Eric Jordan<br />Sports: Snowboarding, KiteSurfing, Extreme Sports<br />Computer: Flash, After Effects, Actionscript

Posted 30 June 2005 - 04:54 PM

like this:
<head>
<style type="text/css">
body { margin-left:50px; margin-right:50px; margin-top:100px; margin-bottom:100px }
</style>
</head>

just without the left, right & bottom. ;)

#6 jonerator

    Young Padawan

  • Members
  • Pip
  • 4 posts

Posted 30 June 2005 - 05:52 PM

Excellent! This will come in handy in future design projects.

#7 syndrome

    P2L patient #4819

  • Twodded Staff
  • PipPipPipPip
  • 1,311 posts
  • Location:Nottingham, UK
  • Interests:Photoshop, Tennis, PS2, web design, CS:S

Posted 01 July 2005 - 01:40 AM

ye thanks, i was putting the top in just without the dash.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users