Go Back   Free website templates > Web Template Help > HTML - XHTML - CSS
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read


Join now to share free website templates or post on the forum. If you have never been on a forum before read the FAQ. It's quick, easy and free to join!
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-16-2007, 01:14 PM
nic nic is offline
Junior Member
 
Join Date: Jun 2007
Posts: 1
nic is on a distinguished road
Default How to place opt-in form at the top?

I've downloaded the dog care template and tried adding an opt-in form in the right column with the following css style:

#content .right-col {
float: right;
width: 150px;

Instead of showing at the top, right hand side just beneath the header, the opt-in form is displayed at the bottom right, near the footer.

Can someone please explain how I can move the opt-in form to the top right? I'm fairly new to css. Any help is much appreciated.
Reply With Quote
  #2 (permalink)  
Old 07-04-2007, 05:45 PM
Junior Member
 
Join Date: Jun 2007
Posts: 5
W3Daryl is on a distinguished road
Default

Posting a link would definitely be helpful. As for float: right; floating can be very dangerous if your not experienced with it. A solution is always to use wrapper div tags to set bounds as to where it can go. Cheers.
Reply With Quote
  #3 (permalink)  
Old 07-17-2007, 09:54 PM
cathering_'s Avatar
Junior Member
 
Join Date: Jul 2007
Location: N. Ireland, Carrickfergus
Posts: 19
cathering_ is on a distinguished road
Send a message via AIM to cathering_ Send a message via MSN to cathering_
Default

If you want it to display in the top right hand coner of the use position absolute

#content .right-col {

position: absolute;
top: 10px;
right: 10px;
}

if your talking about the news and views bit, just put the content inside the divider
Reply With Quote
  #4 (permalink)  
Old 07-18-2007, 02:54 PM
lmfrench's Avatar
Senior Member
 
Join Date: Oct 2006
Location: US
Posts: 546
lmfrench is on a distinguished road
Default

I never recomend using position absolute...that is taken differently by many different browsers. If you want to use the
float:right;
div you can, just try adding a 'clear:both' at the beginning or end of the whole tag. Also, if you have that a 'float:right;' make sure that the item that you want to have to it's left has a div of 'float:left; clear:both;' as well. Hope that helps
__________________
~~ Lisa ~~

THAT IS L-M-FRENCH not I M FRENCH...lol...
Reply With Quote
Reply

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



All times are GMT. The time now is 04:50 AM.



mouseover mouseover mouseover