身高不起作用?

时间:2015-06-26 18:14:42

标签: html css

您好我正在尝试使用一些图片和书写来创建网页的内容部分。当我删除一些写入时,它会进行调整,但是当我将屏幕拖到更大的屏幕时,布局就会出错。我不知道为什么会这样。也没有一种方法可以让图片适应我的写作量。因此,当我删除一些写作时,图片仍然适合页面并保持正确的布局,而不是我必须删除一些图片才能使用。

https://jsfiddle.net/uvdtrx39/1/

<div id="container">
    <header>
        <div id="header-content">
            <div class="hire"><h3>For Hire</h3></div>
            <h1><a href="index.html" >Black Cab Tours</a></h1>

                    <nav class="cl-effect-8">
                    <ul>
                <li><a href="tours.html">Tours</a></li>
                <li><a href="about.html">About</a></li>
                <li><a href="contact.html">Contact</a></li>
                <li><a href="#">Review</a></li>
                    </ul>
                </nav>

        </div>
    </header>
    <div id="banner">
        <h2>Who knows London better than a black cab driver.</h2>
    </div>


    <div id="content">

          <div class="pics">
        <ul class="gallery">

            <li><a class="pic-2"><img src="img/Big-Ben.jpg" alt="Photograph of clouds and sunlight" /></a></li>
            <li><a class="pic-3"><img src="img/guards.jpg" alt="Photograph of clouds and sunlight" /></a></li>
                        <li><a class="pic-4"><img src="img/londoneye.jpg" alt="Photograph of clouds and sunlight" /></a></li>

            <li><a class="pic-5"><img src="img/Borough_Market.jpg" alt="Photograph of clouds and sunlight" /></a></li>




    </ul>

    </div>  
        <article>
            <p>London Tours by Taxi offers one of the most informative, unique and unforgettable ways of experiencing the diverse and historic city of London. Being driven in one of the world’s most famous London black cabs, with a driver who has an intimate knowledge of the city. As well as being a licensed black taxi driver with over 24 years of experience, I have undertaken additional training and am also a qualified City of London Guide and Black Taxi Guide. My taxi is the very latest Mercedes Vito black cab, fully air conditioned, has wheelchair access and can take six passengers in comfort. Tours are priced per cab, not per person. Click here for more reasons why a tour in a London Black Taxi is a good idea. Read what other people have said about my tours – Click here‘ I am more than happy to tailor tours to suit you and your party and am very flexible on sights you wish to see. After all, it is your tour! I can pick you up from your central London hotel/accommodation or, other central London location and drop you back there (included in tour price). If you have a layover stop in London, you can take the express train into London and I am happy to meet you from a train station to start your tour. I will of course take you back to your station after the tour if you wish. By taking the train, this will be much more time/cost effective for you. Please see the make a booking page for postcodes in Central London. Other areas outside of these may incur an additional cost for pick up/drop off.
</p>


        </article>

        <div class="footer">
            <hr>
            <p>Copyright (c) 2008</p>
        </div>

    </div>

    </div>

0 个答案:

没有答案