I've got problem. Here's what it looks like, Click Here. The div #sidebar-b should not be that far from the #sidebar-a or Part# 1. They should only be 50px appart from each other.

Any help is appreciated.

Recommended Answers

All 4 Replies

I've got problem. Here's what it looks like, Click Here. The div #sidebar-b should not be that far from the #sidebar-a or Part# 1. They should only be 50px appart from each other.

Any help is appreciated.

Well your sidebar-b is not related by 50px to sidebar-a but to your image face.gif!!! You can see that if you change margin to 0px
I would recomend to you use table or posittionig

OK, I just played with it little bite and came with effective solution.

You have to put both sidebars in container "div" as followed

[B] <div> [/B]
<DIV id=sidebar-a>
<P>Part# 1</P>
<P>Welcome to the LorResident service. At the LorResident we provide the 
following services: </P>
<P></P>
<UL>
  <LI class=SmallestText>1 
  <LI class=SmallestText>2 
  <LI class=SmallestText>3 </LI></UL></DIV>
<DIV id=sidebar-b>
<P>Part# 2</P>
<P>Zoo siab txais tos nej rau hauv LorResident (Tsev Neeg Lauj). Nyob rau hauv 
LorResident peb muaj kev pab raws li nram no: </P>
<P></P>
<UL>
  <LI class=SmallestText>1 
  <LI class=SmallestText>2 
  <LI class=SmallestText>3 </LI></UL></DIV>
[B] </div> [/B]

than rest of the code

<DIV id=content>
<P align=center><IMG height=101 src="lorresident_files/pcSupport.gif" 
width=166></P>
<P align=center><IMG height=101 src="lorresident_files/web.gif" width=166></P>
<P align=center><IMG height=101 src="lorresident_files/video.gif" 
width=166></P></DIV>
<DIV id=sidePic>&nbsp;<IMG height=399 src="lorresident_files/face.gif" 
width=315></DIV>

Simple solution, just time to time its take me little longer :o

Thank you very much! I'll give that a try. By the way, why do I need the extra div container to hold those two divs?

Again, thanks!

To keep them as one complex, so the settings for second sidebar does apply to firstone and not to somthing else.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.