Current location: Hot Scripts Forums » General Web Coding » CSS » Add column to side for advertising?


Add column to side for advertising?

Reply
  #1 (permalink)  
Old 01-21-09, 11:32 PM
Tim Mousel Tim Mousel is offline
Wannabe Coder
 
Join Date: Jan 2005
Posts: 157
Thanks: 0
Thanked 0 Times in 0 Posts
Add column to side for advertising?

Hi,

I'm trying to get a column to the left or right side outside the page for placing a vertical ad banner. I could really use some help on the correct css that would do this. Here's my page in development:

http://www.defend.net/jet30/jet30.php

Thanks in advance,

Tim
__________________
Five Star Review Script - Add reviews to your website!
Mixed Martial Arts - Learn the fastest growing martial art
Women's Self-Defense - Courses and DVDs available
Reply With Quote
  #2 (permalink)  
Old 01-21-09, 11:41 PM
Tim Mousel Tim Mousel is offline
Wannabe Coder
 
Join Date: Jan 2005
Posts: 157
Thanks: 0
Thanked 0 Times in 0 Posts
Got it solved with this:

Code:
#sidebar {
    float: right;
    width: 170px;
    margin-right:100px;
}
__________________
Five Star Review Script - Add reviews to your website!
Mixed Martial Arts - Learn the fastest growing martial art
Women's Self-Defense - Courses and DVDs available
Reply With Quote
  #3 (permalink)  
Old 01-22-09, 02:28 AM
Tim Mousel Tim Mousel is offline
Wannabe Coder
 
Join Date: Jan 2005
Posts: 157
Thanks: 0
Thanked 0 Times in 0 Posts
Actually it's not fixed. In IE, the entire top header area is shifted over to the left to make room for the <div> on the right. How can I prevent that?

Thanks,

Tim
__________________
Five Star Review Script - Add reviews to your website!
Mixed Martial Arts - Learn the fastest growing martial art
Women's Self-Defense - Courses and DVDs available
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do add a template column dynamically? phathutshedzo ASP.NET 2 01-26-07 03:54 AM
Firefox and align problems gigafare CSS 12 01-07-07 11:22 AM
Overlapping table cells in IE, table/css three column layout (WebTV info also wanted) TwoD CSS 4 11-09-06 07:39 PM
Add column information. Questionare leocordero JavaScript 1 03-03-05 07:35 PM
I most definately suggest DevelopingCentral.com For Any Website Design/Development! Salty777 General Advertisements 2 10-01-04 04:27 AM


All times are GMT -5. The time now is 02:17 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.