The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Dreamweaver always ads space at the top

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #26197

    Every time I open a html file in dreamweaver somehow it ads like a 50 pixel high white bar at the top. Seen here

    Help urgent!



    it seems that your menu div being before the header image is creating the problem. I wasn’t able to figure out how to make it appear without the div being before the image. sorry.


    the first thing you did wrong is that you went div crazy. You don’t need to put so many divs in your code


    What you should have done is made your header image a background image. Here is the improved code. notice what I took out of your code. Notice how many fewer lines of code there is. It’s cleaner, easier, less typing and it makes it far easier to find errors. Don’t nest so many divs when you don’t need to. This will give you less to look through when you do find a problem. You also had many unclosed


    The proper way to make a br tag is


    When you are having issues with your code. One of the things you can do is validate your css and your html with the validator. There is a css one also


    Ads 4 Rides

    Customer service and satisfaction are our first priority!

    Experience advertising success.

    Let our company, help your company today!

    – Joanne, Josie, and Sally

    We Drive Your Magnets

    In the current economy advertising can be a low priority for any business, yet it is the heart and soul for the survival of your business.

    Advertising can be one of the biggest expense any company has to bear, and can cost anywhere from $400 to $600 for a one-time, one-location exposure.

    Ads 4 Rides is thinking outside of the box. We give you the opportunity to profit without breaking the bank. Ads 4 Rides specializes in mobile advertising.

    Here is how it works:

    Ads 4 Rides is a mobile advertising company. We advertise your company on an automobile or automobiles that travel daily in the area or areas you wish to achieve more business.

    That car will come in sight of hundreds or even thousands of people just looking around while driving or waiting at a red light. Now your company has been seen and recognized by shoppers always looking to support neighborhood businesses for the product or service they need.

    Imagine the constant exposure your business will get just by dropping off the kids at school, lunch with friends, shopping mall, grocery store, picking up the kids from school, soccer practice, maybe an errand or two in the evening.

    You can choose to advertise on as many vehicles as you see fit.
    Ads 4 Rides will be able to provide your advertisement on vehicles that travel long distances. These distances will broaden your business beyond its borders. companies have even more of a challenge as they dont have a store front to let the neighborhood know about their product or services. As with any business, advertising is as crucial to a computer business. By getting your name out to the public companies, your business can spread to great lengths.

    Do not let a lack of advertising funds determine your companys worth. Keep your expenses low and allow Ads 4 Rides to help you gain success and bring business to your doorstep.

    – Take your Ad 4 a Ride –

    here is the improved css


    Thanks a million Cybershot. You are right, I need to minimize the code to the max.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.