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
align div to the right
Old 08-11-2008, 12:07 PM align div to the right
andyp's Avatar
Extreme Talker

Posts: 165
Name: andy patterson
Trades: 0
I'm developing a wordpress theme at
http://ap-gfx.com

and now I have a problem. The sidebar should not have a gap on its right side.
does anyone know how to fix this?
__________________
My webmaster news & tips blogs with free scripts and tutorials -
Please login or register to view this content. Registration is FREE

Last edited by andyp; 08-11-2008 at 01:29 PM..
andyp is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-11-2008, 06:15 PM Re: align div to the right
Super Talker

Posts: 117
Trades: 0
I had a look at the source and the CSS and i'm sorry to say I couldn't find the problem. Then again, I probably couldn't force that horz. scrollbar like that if I tried.
Mr. B is offline
Reply With Quote
View Public Profile
 
Old 08-12-2008, 04:25 AM Re: align div to the right
grownupstudent's Avatar
Experienced Talker

Posts: 48
Name: Jono
Location: Ireland
Trades: 0
I just looked at the CSS your wrapper is set to 100% is that the problem?
grownupstudent is offline
Reply With Quote
View Public Profile
 
Old 08-12-2008, 08:33 AM Re: align div to the right
Skilled Talker

Posts: 84
Location: Brussels, Belgium
Trades: 0
Give your wrapper a fixed width and set your right column to "float: right;" or left... give it a width too, and set your positioning relative.

For example:

#wrapper {
width: 800px;
}

#left {
width: 200px;
float: left; position: relative;
}

#right {
width: 600px;
float: right; position: relative;
}

When you have a div coming underneath it, you give it:
#bottom {
width: 800px;
clear: both;
}

Should work.
__________________

Please login or register to view this content. Registration is FREE
Bulevardi is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to align div to 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 0.54169 seconds with 12 queries