•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the HTML and CSS section within the Web Development category of DaniWeb, a massive community of 427,159 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 1,875 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 1849 | Replies: 4
![]() |
•
•
Join Date: Jun 2005
Posts: 6
Reputation:
Rep Power: 0
Solved Threads: 0
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.
Any help is appreciated.
•
•
Join Date: Dec 2004
Location: London or Slovakia
Posts: 2,467
Reputation:
Rep Power: 11
Solved Threads: 296
•
•
•
•
Originally Posted by ljCharlie
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
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)
If we helped you to solve your problem, answered your question please mark your post as SOLVED.
Publilius Syrus
(~100 BC)
If we helped you to solve your problem, answered your question please mark your post as SOLVED.
•
•
Join Date: Dec 2004
Location: London or Slovakia
Posts: 2,467
Reputation:
Rep Power: 11
Solved Threads: 296
OK, I just played with it little bite and came with effective solution.
You have to put both sidebars in container "div" as followed
than rest of the code
Simple solution, just time to time its take me little longer :o
You have to put both sidebars in container "div" as followed
<div> <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> </div>
<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> <IMG height=399 src="lorresident_files/face.gif" width=315></DIV>
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)
If we helped you to solve your problem, answered your question please mark your post as SOLVED.
Publilius Syrus
(~100 BC)
If we helped you to solve your problem, answered your question please mark your post as SOLVED.
•
•
Join Date: Dec 2004
Location: London or Slovakia
Posts: 2,467
Reputation:
Rep Power: 11
Solved Threads: 296
To keep them as one complex, so the settings for second sidebar does apply to firstone and not to somthing else.
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)
If we helped you to solve your problem, answered your question please mark your post as SOLVED.
Publilius Syrus
(~100 BC)
If we helped you to solve your problem, answered your question please mark your post as SOLVED.
![]() |
•
•
•
•
•
•
•
•
DaniWeb HTML and CSS Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- Why won't this code work? (VB.NET)
- expanding site content with css (HTML and CSS)
- hmmm, expert CSS cheat ? (JavaScript / DHTML / AJAX)
Other Threads in the HTML and CSS Forum
- Previous Thread: Can Anyone Help a Complete Newbie?
- Next Thread: Side CSS nav bar not working in IE



Linear Mode