eXceem

Go Back   eXceem > Websites > Website Discussion

Claim your amazing £1,000 slots booster bonus now!


HTML Code Help - Sidebar Problems...

This is a discussion on HTML Code Help - Sidebar Problems... within the Website Discussion forums, part of the Websites category; I am having problems with the following section of code: Code: <div id="content"> <div id="main"> <div class="inner_copy"><a href="http://www.bestfreetemplates.org/">free templates</a><a href="http://www.bannermoz.com/">banner ...

Reply
 
Thread Tools
Old 28-09-10, 04:36 PM   #1
iPod Nano 4GB
 
RiVi3rA's Avatar
 
Join Date: Aug 2010
Location: N/A
Posts: 338
RiVi3rA is on a distinguished road
Send a message via twitter to RiVi3rA

HTML Code Help - Sidebar Problems...


I am having problems with the following section of code:

Code:
<div id="content">	
			<div id="main">																																																																																																																											<div class="inner_copy"><a href="http://www.bestfreetemplates.org/">free templates</a><a href="http://www.bannermoz.com/">banner templates</a></div>
				<div class="current">
					
				</div>
				<div class="post">
				
					<h5>Step 1: Sign up</h5>
					
					<p>First of all sign up with you real details. Don't worry Freebiejeebies does not spam and it only needs your adress to ship your free gift! Do not sign up twice or your account will be deleted!</p>
					<a href="#"><CENTER><img src="http://img842.imageshack.us/img842/7821/56960021.png" </CENTER> </a><br />
					
					
				</div>
				<div class="post">
					
					<h5>Step 2: Complete an Offer</h5>
					
					<p>Once you have signed up, you must complete an offer. Some offers are free such as the E.ON, Intuit and Homestead offers. You will not get your free gift until you have completed an offer!</p>
					<a href="#"><CENTER><img src="http://img683.imageshack.us/img683/7573/offer.png"</CENTER> </a><br />
					
					
				</div>
				<div class="post">
					
					<h5>Step 3: Refer Friends</h5>
					
					<p>When you sign up you will be given a 'Referral Link.' Every time someone signs up and completes via that link, you will recieve £17 worth of gifts! So if 3 people signed up you would get a free iPod Shuffle!</p>
					<a href="#"><CENTER><img src="http://img812.imageshack.us/img812/6445/refv.png" </CENTER> </a><br />
					
				</div>
				<div class="post">
					
					<h5>Step 4: Recieve your free gift!</h5>
					
					<p>Once you have completed the three simple steps above you will recive your free gift! It will not cost you anything and Freebiejeebies will even pay for the shipping! If you have any problems please visit our 'Contact' page for assistance.</p>
					<a href="#"><CENTER><img src="http://img828.imageshack.us/img828/6679/gifte.png" </CENTER> </a><br />
					
					
				</div> 
This code gives this:

Spoiler


I would like to remove the 4 boxes and add Djoscar's buttons

However, when I remove the code in red, the sidebar disappears to the bottom of the page like this:

Spoiler


How do I keep my sidebar on the right of the page when I remove the 4 'posts'?

Thanks,

Denys
__________________

Last edited by RiVi3rA; 28-09-10 at 04:40 PM..
 
Reply With Quote
Old 28-09-10, 04:39 PM   #2
Mini Mac
 
az87aris's Avatar
 
Join Date: Apr 2008
Location: South Yorkshire
Posts: 4,906
az87aris is a splendid one to beholdaz87aris is a splendid one to beholdaz87aris is a splendid one to beholdaz87aris is a splendid one to beholdaz87aris is a splendid one to behold
Looks like you have an unclosed <div> before the sidebars' html, or there are 1 too many </div>s before it.
__________________
 
Reply With Quote
Old 28-09-10, 04:59 PM   #3
iPod Nano 4GB
 
RiVi3rA's Avatar
 
Join Date: Aug 2010
Location: N/A
Posts: 338
RiVi3rA is on a distinguished road
Send a message via twitter to RiVi3rA
Here is the code that continues the one above:

Code:
</div>
			<div id="sidebar">
				<div class="block">
					<div class="news">
						<div>
							<p>Get the new iPod Touch absolutely free! All you have to do is complete a free offer and then tell 10 friends to do the same and your brand new iPod Touch will be shipped at no cost to you! Sign up now!</p>
							
						</div>
					</div>
				</div>
				
				<a href="http://apple.freebiejeebies.co.uk/358186"><CENTER><img src="http://img3.imageshack.us/img3/7355/ipads.png"</CENTER> </a><br />
				<a href="http://consoles.freebiejeebies.co.uk/187207"><CENTER><img src="http://img824.imageshack.us/img824/893/ps3h.png"</CENTER> </a><br />
				<a href="http://apple.freebiejeebies.co.uk/358186"><CENTER><img src="http://img227.imageshack.us/img227/8117/toucht.png"</CENTER> </a><br />
				<a href="http://consoles.freebiejeebies.co.uk/187207"><CENTER><img src="http://img27.imageshack.us/img27/1905/wiix.png"</CENTER> </a><br />
				<a href="http://consoles.freebiejeebies.co.uk/187207"><CENTER><img src="http://img834.imageshack.us/img834/5403/xbox360.png"</CENTER> </a><br />
				
					</ul>
				</div>
			</div>
		</div>
What do I need to edit?
__________________
 
Reply With Quote
Old 28-09-10, 05:02 PM   #4
Mini Mac
 
az87aris's Avatar
 
Join Date: Apr 2008
Location: South Yorkshire
Posts: 4,906
az87aris is a splendid one to beholdaz87aris is a splendid one to beholdaz87aris is a splendid one to beholdaz87aris is a splendid one to beholdaz87aris is a splendid one to behold
add a </div> to the top of the second piece of html you've posted so it has two </div>'s above <div id="sidebar">. That should fix it.
__________________
 
Reply With Quote
Old 28-09-10, 05:47 PM   #5
iPod Nano 4GB
 
RiVi3rA's Avatar
 
Join Date: Aug 2010
Location: N/A
Posts: 338
RiVi3rA is on a distinguished road
Send a message via twitter to RiVi3rA
Like this?
Code:
</div>
				</div>
			</div>
			<div id="sidebar">
				<div class="block">
					<div class="news">
						<div>
							<p>Get the new iPod Touch absolutely free! All you have to do is complete a free offer and then tell 10 friends to do the same and your brand new iPod Touch will be shipped at no cost to you! Sign up now!</p>
							
						</div>
					</div>
				</div>
				
				<a href="http://apple.freebiejeebies.co.uk/358186"><CENTER><img src="http://img3.imageshack.us/img3/7355/ipads.png"</CENTER> </a><br />
				<a href="http://consoles.freebiejeebies.co.uk/187207"><CENTER><img src="http://img824.imageshack.us/img824/893/ps3h.png"</CENTER> </a><br />
				<a href="http://apple.freebiejeebies.co.uk/358186"><CENTER><img src="http://img227.imageshack.us/img227/8117/toucht.png"</CENTER> </a><br />
				<a href="http://consoles.freebiejeebies.co.uk/187207"><CENTER><img src="http://img27.imageshack.us/img27/1905/wiix.png"</CENTER> </a><br />
				<a href="http://consoles.freebiejeebies.co.uk/187207"><CENTER><img src="http://img834.imageshack.us/img834/5403/xbox360.png"</CENTER> </a><br />
				
					</ul>
				</div>
			</div>
		</div>
	</div>
I did that and it didn't work..
__________________
 
Reply With Quote
Old 28-09-10, 06:09 PM   #6
Mini Mac
 
az87aris's Avatar
 
Join Date: Apr 2008
Location: South Yorkshire
Posts: 4,906
az87aris is a splendid one to beholdaz87aris is a splendid one to beholdaz87aris is a splendid one to beholdaz87aris is a splendid one to beholdaz87aris is a splendid one to behold
No, you've added 1 too many. You just need 2 </divs> there, you've gone from having 1 to having 3!
__________________
 
Reply With Quote
Old 28-09-10, 07:29 PM   #7
iPod Nano 4GB
 
RiVi3rA's Avatar
 
Join Date: Aug 2010
Location: N/A
Posts: 338
RiVi3rA is on a distinguished road
Send a message via twitter to RiVi3rA
Haha sorry

Is this what you meant?

Code:
</div>
				</div>
			
			<div id="sidebar">
				<div class="block">
					<div class="news">
						<div>
							<p>Get the new iPod Touch absolutely free! All you have to do is complete a free offer and then tell 10 friends to do the same and your brand new iPod Touch will be shipped at no cost to you! Sign up now!</p>
							
						</div>
					</div>
				</div>
If so it still sin't working? Any ideas?

Thanks,

Denys
__________________
 
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off





All times are GMT. The time now is 08:21 PM.
All trademarks and copyrights held by respective owners. Forum posts are owned by the poster.

Powered by vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO
no new posts