Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Seems Simple. Sidebar on the Right
Old 04-13-2007, 12:52 AM Seems Simple. Sidebar on the Right
Experienced Talker

Posts: 30
Name: Peter
Trades: 0
I've been working on this for the past hour, and can't for the life of me figure out how to make it work.

Someone asked me if I could put a sidebar on the right hand side of their content. Sure, should be no problem.

Then I saw their code.

http://www.styleleak.com/

How would I get a sidebar onto the right hand side of this site?

Thanks.
__________________
if post=="good":
print ("Add to talkumption.")
else: print ("Add to talkumption anyway.")
D.O.I.P is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 04-13-2007, 01:34 AM Re: Seems Simple. Sidebar on the Right
Kirtan's Avatar
Who Am I?

Posts: 376
Name: Venkat Raj
Location: Salem, South India
Trades: 3
Change #main-wrapper id's float:right rule to float: left
And change #sidebar-wrapper id's float:left rule to float: right;
__________________
All the Buddhas of all the ages have been telling you a very simple fact: Be -- don't try to become.
Kirtan is offline
Reply With Quote
View Public Profile Visit Kirtan's homepage!
 
Old 04-13-2007, 01:42 AM Re: Seems Simple. Sidebar on the Right
Experienced Talker

Posts: 30
Name: Peter
Trades: 0
Right-o, that works, but I also want to keep a sidebar on the left.
__________________
if post=="good":
print ("Add to talkumption.")
else: print ("Add to talkumption anyway.")
D.O.I.P is offline
Reply With Quote
View Public Profile
 
Old 04-13-2007, 01:50 AM Re: Seems Simple. Sidebar on the Right
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,935
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
http://www.pixy.cz/blogg/clanky/css-3col-layout/ <--- that's the easiest one you can use. However, there are others.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 04-13-2007, 01:59 AM Re: Seems Simple. Sidebar on the Right
Kirtan's Avatar
Who Am I?

Posts: 376
Name: Venkat Raj
Location: Salem, South India
Trades: 3
Leave the code as it is and this rule
Code:
#main-right {
float:right;
width:20%;
margin-right:1%;
}

and place all you right hand side col content within <div id="main-right">Right hand side col content</div> just below main-wrapper div
__________________
All the Buddhas of all the ages have been telling you a very simple fact: Be -- don't try to become.
Kirtan is offline
Reply With Quote
View Public Profile Visit Kirtan's homepage!
 
Old 04-13-2007, 02:24 AM Re: Seems Simple. Sidebar on the Right
Experienced Talker

Posts: 30
Name: Peter
Trades: 0
Thanks, that worked.

Talkumption for you!
__________________
if post=="good":
print ("Add to talkumption.")
else: print ("Add to talkumption anyway.")
D.O.I.P is offline
Reply With Quote
View Public Profile
 
Old 04-13-2007, 02:48 AM Re: Seems Simple. Sidebar on the Right
Kirtan's Avatar
Who Am I?

Posts: 376
Name: Venkat Raj
Location: Salem, South India
Trades: 3
Glad to help.

I am kind of "get the job done" person. Listen to Mods of this forum, Adam, Learning Newbie, TA and Forrest to expertise web technologies.
__________________
All the Buddhas of all the ages have been telling you a very simple fact: Be -- don't try to become.
Kirtan is offline
Reply With Quote
View Public Profile Visit Kirtan's homepage!
 
Old 04-13-2007, 02:24 PM Re: Seems Simple. Sidebar on the Right
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Quote:
#main-right {
float:right;
width:20%;
margin-right:1%;
}
You need to be careful of that - the right margin on a right-floated
div will trigger the doubled float margin bug in IE6 and below.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 04-14-2007, 09:56 AM Re: Seems Simple. Sidebar on the Right
Novice Talker

Posts: 11
Name: Rama Mohan Akundi
Location: Hyderabad
Trades: 0
Just cut the newsidebar-wrapper and paste it below the main-wrapper. Than it will display in right side.
__________________
Mohan

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
akundimohan is offline
Reply With Quote
View Public Profile Visit akundimohan's homepage!
 
Reply     « Reply to Seems Simple. Sidebar on the Right
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 2.32677 seconds with 12 queries