当前位置:Gxlcms > html代码 > 大家帮忙看看这两个div之间为什么没有分隔了?_html/css_WEB-ITnose

大家帮忙看看这两个div之间为什么没有分隔了?_html/css_WEB-ITnose

时间:2021-07-01 10:21:17 帮助过:36人阅读

想要下面图这个左栏和右栏之间有一个分隔,通过限定左面那个width值和margin-right值,然后float左面,右面margin-left也是10px,但是不知道为啥总是分不出来?
          Starbuzz Coffee           	

QUALITY COFFEE, QUALITY CAFFEINE

At Starbuzz Coffee, we are dedicated to filling all your caffeine needs through our quality coffees and teas. Sure, we want you to have a great cup of coffee and a great coffee experience as well, but we're the only company that actively monitors and optimizes caffeine levels. So stop by and fill your cup, or order online with our new Bean Machine online order form, and get that quality Starbuzz coffee that you know will meet your caffeine standards.

And, did we mention caffeine? We've just started funding the guys doing all the wonderful research at the Caffeine Buzz. If you want the latest on coffee and other caffeine products, stop by and pay them a visit.

OUR STORY

"A man, a plan, a coffee bean". Okay, that doesn't make a palindrome, but it resulted in a damn good cup of coffee. Starbuzz's CEO is that man, and you already know his plan: a Starbuzz on every corner.

In only a few years he's executed that plan and today you can enjoy Starbuzz just about anywhere. And, of course, the big news this year is that Starbuzz teamed up with Head First readers to create Starbuzz's Web presence, which is growing rapidly and helping to meet the caffeine needs of a whole new set of customers.

STARBUZZ COFFEE BEVERAGES

We've got a variety of caffeinated beverages to choose from at Starbuzz, including our House Blend, Mocha Cafe Latte, Cappuccino, and a favorite of our customers, Chai Tea.

We also offer a variety of coffee beans, whole or ground, for you to take home with you. Order your coffee today using our online Bean Machine, and take the Starbuzz Coffee experience home.


相关的CSS代码
#header {  background-color: #675c47;  margin:           10px;  height:           108px;}#main {  background:       #efe5d0 url(images/background.gif) top left;  font-size:        105%;  padding:          15px;  margin:           0px 10px 10px 10px;  width:						420px;  float:						left;}#sidebar {  background:       #efe5d0 url(images/background.gif) bottom right;  font-size:        105%;  padding:     			10px;  margin:           0px 10px 10px 10px;}


回复讨论(解决方案)

把图给补上去

贴出来的 代码和样式不全,无法帮你找到原因,
可以重新贴一次,或者加我q:1157373706 发文件给,我帮你看看

贴出来的 代码和样式不全,无法帮你找到原因,
可以重新贴一次,或者加我q:1157373706 发文件给,我帮你看看
你好,已经发邮件给你了。

人气教程排行