Graphics: Home page Delimma

started by Doc on Jul 11, 2004 — RSS Feed

Doc Doc
Posts: 1

Hello    I am a novice a webdesign and are attempting to put a site together.  I have all of my ideas laid out but I am having some trouble putting it together.  I was wondering . . .  If I wanted to to start a website with a an mapimage but, I want it to fill the whole page and not have a scroll bar; how would I do that?   I good w/ the mapimage but when I display the page in a web browser the image is always longer or wider than the screen and it always has a white margin around it?  Help me please!!!

Programs in use: Macromedia dreamweaver 4, Frontpage and Adobe Illustrator 10

Joe Gillespie Joe Gillespie
Posts: 528

Are you talking about a 640 x 480 screen or a 1600 x 1280 screen or something in-between. There are many different screen sizes and the area left for image display in every browser is different too. What toolbars are present? Are there tab bars at the side? Is it a PC or a Mac?

It's not what you see on your screen that counts, unless you are the only person that is going to visit the page.

So, when you talk about filling a screen with an imagemap you are not being realistic. Also, a page with an image that big is going to take a long time to load.

Have a look around the web. I don't think you will find anybody attempting to do what you are suggesting - and for very good reasons.

Dave Dave
Posts: 6

Hey

You could open the image map in a popup window. This would allow you to specify the size of the window to match the size of the image. You can also disable scrollbars and toolbars, so that only the imagemap appears in the window.

There are disadvantages to this method though, as you would be taking the user away from your homepage, and many users hate popups!

Hope this helps

Dave

Nickro Nickro
Posts: 6

To avoid those white gaps at the top and left, make sure to include the code leftmargin=0 and topmargin=0 within the body tag of your HTML page.

Example below.


<html>

<head>

<title>No White Space!</title>

</head>

<body leftmargin=0 topmargin=0>

Content goes here!

</body>

</html>

Joe Gillespie Joe Gillespie
Posts: 528

No. This is wrong on a number of accounts. Try validating it!

The preferred method is ...

<body style="margin: 0">


or build it into your stylesheet as part of the body spec.

You must login to reply