0

だから私はページレイアウトを複製しようとしています。それはページの全高であり、その右側にテキストが表示されている画像です。テキストの幅は画像によって調整されるようですが、どのように行われるのか正確にはわかりません。 http://mcgarrybowen.com/en/People/Bill-Borrelle それがページです、これがどのように行われたかについて何か考えはありますか?

これは私が試したものですが、正しく機能していません。次のように なりますhttp://www.klossal.com/klossviolins/about.html

<div style="width:100%;padding-top:40px;padding-bottom:40px;">
<div style="width:920px;position:relative;">
    <div style="float:left;">
        <img style="height:100%;" src="http://www.klossal.com/klossviolins/elements/horst.jpg" alt="">
    </div>
    <div style="float:left;">
    <p style="color: #b9b8b4;
      font-family: 'Source Sans Pro' , sans-serif;
      font-size: 24px;
      text-align: left;   
      position:relative;
      width:auto;">About</p>            

    <p style="color: #b9b8b4;
      font-family: 'Source Sans Pro' , sans-serif;
      font-size: 14px;
      text-align: left;      
      position:relative;
      width:auto;">
        Mittenwald-trained, Master Violin Maker, Horst Kloss, has worked with fine stringed instruments and bows for over three decades. The Kloss Shop specializes in the repair, restoration, appraisal and sale of historic instruments and bows. Mr. Kloss further offers acoustic adjustment tailored to the individual musician's requirements, the application of museum conservation standards to preserve instrument integrity and maintain value as well as baroque conversion. Mr. Kloss is experienced in providing musicians with custom instrument set up designed to prevent overuse syndrome while maintaining maximal adjustment of tonal color, clarity and projection.<br><br>

        Since 1972, Horst Kloss has cared for collections of note along the East Coast of the United States, including the Boston Museum of Fine Art's collection of historic stringed instruments. He is one of under a hundred makers, nation-wide, whose extensive training and high caliber skills qualified him for full membership status in the American Federation of Violin and Bow Makers.<br><br>

        Raised among musicians and makers, Horst Kloss was imbued with a love of music and a profound sense of stewardship in caretaking for stringed instruments. At the age of 14, he began an apprenticeship in his hometown of Mittenwald, a center for violin-making since the 1600's. He received his formal training at the Bavarian State School of Violin Making in Southern Germany where he earned his Journeyman's diploma in 1964 and his Master's degree in 1972 under the tutelage of Josef Kantuscher. He moved to the United States in 1964 following the exodus of finer instruments from Europe and gained exposure to many of them while working for Carl Becker at Lewis & Sons. Mr. Kloss instructs the courses offered in instrument repair and restoration at the University of New Hampshire's Violin Craftsmanship Institute. He established shops in Houston and Boston before settling in Needham, Massachusetts.<br><br>

        Horst Kloss has attracted an international clientele, including many distinguished concert performers, who value his consistently high quality restoration and sound adjustments. His experienced eye and broad client base make him especially well-suited to bring buyers and sellers of fine stringed instruments together.</p>
        </div>
        <br class="clear">

</div>
4

1 に答える 1

1

レイアウトはTwitter Bootstrapに基づいて構築されており、レスポンシブ機能を実装しています。

更新: ここから始めます。これらすべてのインライン スタイルの代わりに、実際にはクラスを使用する必要があります。レイアウトの変更が非常に簡単になります。

http://jsfiddle.net/xfPKx/2/

.wrapper {
    width:100%;
}
.portrait {
    height: 100%;
    left: 0;
    position: fixed;
    width: 50%;
}
.text {
    float: right;
    margin: 5% 0;
    max-width: 30%;
    width: auto;
}

<div class="wrapper">
    <div class="portrait">
        <img src="http://www.klossal.com/klossviolins/elements/horst.jpg" alt=""
        />
    </div>
    <div class="text">
...
于 2013-02-07T22:54:45.240 に答える